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
Hi,
I coded a Groovy plugin and highlight doesn t working.
I registered my file extension, che recognize it because it opens the "good" editor when i create a .groovy file.
For highlight, i went in org.eclipse.che.ide.api.editor.filetype.ExtensionFileTypeIdentifier, as mentioned in jsonsampleplugin tutorial, for add my extension but saw that Orion already handle it : this.mappings.put("groovy", Collections.singletonList("text/x-groovy"));
So, for me, it seems to be ok.
What did i miss ?
The text was updated successfully, but these errors were encountered:
Okay thanks you, i ll check that.
But can you explain me what, "this.mappings.put("groovy", Collections.singletonList("text/x-groovy"));" in ExtensionFileTypeIdentifier, is about ?
Is that a preset that will bind my new syntax highlighting with my file extension ?
Hi,
I coded a Groovy plugin and highlight doesn t working.
I registered my file extension, che recognize it because it opens the "good" editor when i create a .groovy file.
For highlight, i went in org.eclipse.che.ide.api.editor.filetype.ExtensionFileTypeIdentifier, as mentioned in jsonsampleplugin tutorial, for add my extension but saw that Orion already handle it :
this.mappings.put("groovy", Collections.singletonList("text/x-groovy"));
So, for me, it seems to be ok.
What did i miss ?
The text was updated successfully, but these errors were encountered: