Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] DSL extension

Hello Gianluca:

Sorry that some of our tutorials on Codenvy are out of date.  We have just recently done a substantial evolution of our platform & extension APIs and we have not had a chance to get all of the tutorials updated.  We will be doing a revamp during this year.

Yes, it is possible to create extensions that support DSLs.  My recommendation is to follow the examples that are done in the Java extension.  It supports visual extensions into the CodeMirror editor, content assist, code folding, refactoring, etc.

You can see the latest example here:  https://github.com/codenvy/plugin-java/tree/master.

As you work through that example, please feel free to post questions to che-dev, and I'll ask various engineers to weigh in to help.

Tyler

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


On Sat, May 16, 2015 at 7:43 AM, <gianluca@xxxxxxxxxxx> wrote:

Hi,

I’m getting started with Eclipse Che and everything looks great so far! I just have a question regarding DSL support.

Would it be possible to create an extension to support a domain-specific language? I’ve tried to follow the tutorial here: http://docs.codenvy.com/che/tutorials-samples/#create-editor, but it seems this is not up-to-date with the latest version of the code (there’s no getParser method in GroovyEditorConfiguration.java anymore).

Also, I couldn’t find anything obvious on how the parser is injected/provided for the currently supported languages (Java, Python, C++, Ruby, ...).
I’d be interested in not only having syntax highlighting for my DSL, but also content assist and quick fixes.

If you guys have any pointers for me, I'd appreciate it.

Thanks,
Gianluca Righetto


_______________________________________________
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