-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a DSL to Theia (Extending Theia on Eclipse Che) and a Question Regarding the Reason for Che to add Theia #12011
Comments
@tsmaeder can you take a look? |
Can someone please tell me how I can add a new DSL to Theia in Che? I would really appreciate it if I could get some help. |
@skabashnyuk I don't know. @benoitf ? @evidolob ? |
|
@skabashnyuk Thanks for the reply! The difference between #12038 and this issue is that I'm requesting a general method to implement language support in-built to che in #12038. I have mentioned clearly that I'm not asking a method related to Theia in issue #12038. Could you please let me know or direct me to a source of guidance on how to implement an extension to che-theia? AFAIK, LSP does not support syntax highlighting. That is the main reason I decided to move on to Theia. |
@skabashnyuk There is this issue which I have raised in https://github.com/svenefftinge/xtext-lsp-workshop some time ago. According to @svenefftinge's reply, I need to configure the editor in order to provide syntax highlighting, since LSP does not support it. |
If the language support targets Theia, you need to provide a Textmate grammar to have syntax coloring. |
Thank You @svenefftinge ! @benoitf Could you please guide me how to do this? |
@SharkJ we are switching to Theia as default editor for Che. At the same time we are making editors configurable (i.e. you decide the editor when you start your workspace) and are moving the Orion adn GWT based editor to the new extensible editor model. As mentioned by @svenefftinge Theia uses TextMate grammar to get syntax highlighting for your language (we already have some doc for this). For autocomplete, go to definition etc...you need a LS in the form of a Theia Plugin. We do not have a tutorial for that yet, but we are actively working on it and you can reach us on mattermost or on our mailing list (che-dev@eclipse.org) to get help. |
Hi @l0rd , Thanks for the reply! I referred the Theia docs and can create extensions for theia. However, my problem is how to implement an extension to che-theia. Can you please help me on that? |
@SharkJ that's all we have now http://bit.ly/che-eclipsecon |
Thank you very much @l0rd ! I will go through the document. |
Hi, |
Closing due to inactivity, please reopen if needed. |
Hi,
I'm trying to build a language extension for Theia on Eclipse Che (since Che does not allow syntax colouring). I have, so far, been able to add a language extension (DSL built using Xtext) with editor support in to the Theia IDE. I'm currently having several issues running it locally, so I'm using Gitpod for development.
Could you please tell me how I should implement a new language extension to Theia which is running on Eclipse Che? Is it support yet?
Another question I have is, why introduce Theia when you already have the Orion Editor? Is Che intending to shift completely to Theia in future? Will Orion no longer be supported then?
Thank You!
The text was updated successfully, but these errors were encountered: