You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document from Orion: Implementations of orion.edit.highlighter define the following attributes: id
String A name that uniquely identifies this grammar. contentTypes
String[] An array of Content Type IDs that this grammar will be used for. patterns
Object[] An array of pattern objects to be used to assign style classes. Pattern objects are described below. repository
Object Optional. A set of named pattern objects that can be referenced by this grammar and others.
In Che, I can enable highlight for some keywords by OrionHighlightingConfigurationOverlay. But#comment_singleLine does not work, comments is not highlighted.
And OrionHighlightingConfigurationOverlay does not support set repository, so I can not set the comments prefix.
Does any one know how to enable comments highlight in Che?
The text was updated successfully, but these errors were encountered:
ghost
added
the
kind/question
Questions that haven't been identified as being feature requests or bugs.
label
Jul 12, 2017
Hi, I try to enable highlights for single line comments. In orion, following code can be used to highlight comment in editor.
and following code can be used to define the prefix of comment
Document from Orion:
Implementations of orion.edit.highlighter define the following attributes:
id
String A name that uniquely identifies this grammar.
contentTypes
String[] An array of Content Type IDs that this grammar will be used for.
patterns
Object[] An array of pattern objects to be used to assign style classes. Pattern objects are described below.
repository
Object Optional. A set of named pattern objects that can be referenced by this grammar and others.
In Che, I can enable highlight for some keywords by OrionHighlightingConfigurationOverlay. But
#comment_singleLine
does not work, comments is not highlighted.And OrionHighlightingConfigurationOverlay does not support set repository, so I can not set the comments prefix.
Does any one know how to enable comments highlight in Che?
The text was updated successfully, but these errors were encountered: