Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Adding an imported language grammar?

Jesse:

The great guys at EclipseSource are working on a plugin resource center to be published in July that documents how these various components work.

Here are some pointers that can get you started now.

File Types and Extensions.

As for the rest of what is happening with Orion - these are some notes from an earlier discussion.

https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.ui/web/plugins/languages/python/pythonPlugin.js here is the python plugin in orion codebase
python mime type is supported by orion widget by default, to view the list of supported mime types, please, look at section "contentType parameter" (https://wiki.eclipse.org/Orion/How_Tos/Code_Edit)
to alter the logic perhaps need to register grammar in orion.edit.highlighter (https://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#orion.edit.highlighter)
python grammar is described here -https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.editor/web/orion/editor/stylers/text_x-python/syntax.js#L36


Tyler Jewell | CEO | tyler@​codenvy.​com | 9​78​.8​84​.53​55


On Wed, Apr 20, 2016 at 1:46 PM, Jesse Shaffer <dajester2005@xxxxxxxxx> wrote:

I've used the Orion tmlanguage import tool, but I'm not sure how to proceed as far as importing the Orion grammar into che.  Is there documentation on this? 

Thanks,

Jesse


_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev



Back to the top