Package org.pkl.core.settings
Class PklSettings.Editor
- java.lang.Object
-
- org.pkl.core.settings.PklSettings.Editor
-
- Enclosing class:
- PklSettings
public static final class PklSettings.Editor extends java.lang.ObjectAn editor for viewing and editing Pkl files.
-
-
Field Summary
Fields Modifier and Type Field Description static PklSettings.EditorATOMThe Atom editor.static PklSettings.EditorIDEAThe IntelliJ IDEA editor.static PklSettings.EditorSUBLIMEThe Sublime Text editor.static PklSettings.EditorSYSTEMThe editor associated withfile:URLs ending in.pkl.static PklSettings.EditorTEXT_MATEThe TextMate editor.static PklSettings.EditorVS_CODEThe Visual Studio Code editor.
-
Constructor Summary
Constructors Constructor Description Editor(java.lang.String urlScheme)Constructs an editor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(@Nullable java.lang.Object o)java.lang.StringgetUrlScheme()Returns the URL scheme for opening files in this editor.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
SYSTEM
public static final PklSettings.Editor SYSTEM
The editor associated withfile:URLs ending in.pkl.
-
IDEA
public static final PklSettings.Editor IDEA
The IntelliJ IDEA editor.
-
TEXT_MATE
public static final PklSettings.Editor TEXT_MATE
The TextMate editor.
-
SUBLIME
public static final PklSettings.Editor SUBLIME
The Sublime Text editor.
-
ATOM
public static final PklSettings.Editor ATOM
The Atom editor.
-
VS_CODE
public static final PklSettings.Editor VS_CODE
The Visual Studio Code editor.
-
-
Method Detail
-
getUrlScheme
public java.lang.String getUrlScheme()
Returns the URL scheme for opening files in this editor. The following placeholders are supported:%{url},%{path},%{line},%{column}.
-
equals
public boolean equals(@Nullable java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-