Skip to content
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

Extending the Che Editor to add Syntax Highlighting #11916

Closed
SharkJ opened this issue Nov 13, 2018 · 8 comments
Closed

Extending the Che Editor to add Syntax Highlighting #11916

SharkJ opened this issue Nov 13, 2018 · 8 comments
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.

Comments

@SharkJ
Copy link

SharkJ commented Nov 13, 2018

Hi,

I've tried to Implement a DSL (created using Xtext) to Eclipse Che and succeeded. Now I want to implement syntax highlighting to my DSL when I'm using it in Che.
I did some research and found several helpful issues that are related to what I'm trying to do. However, I still have a hard time finding what exactly should be done. For instance, I found this issue, this code, the Che Doc's Editor:UI page (unavailable, because it is still being developed), and a link by Che that would be helpful if was available (also unavailable, because it is still being improved).

Could anyone please tell me the necessary steps that should be followed to achieve this task? I would be much grateful. Currently, there is no supporting guide at all for this issue, and it is a very urgent task for me.

Thanks in advance!

@skabashnyuk
Copy link
Contributor

@tsmaeder can you take a look?

@skabashnyuk skabashnyuk added the kind/question Questions that haven't been identified as being feature requests or bugs. label Nov 26, 2018
@SharkJ
Copy link
Author

SharkJ commented Nov 26, 2018

Thanks @skabashnyuk ! To make it more clear, I'm asking about a client-side extension for Che in order to implement syntax highlighting to a DSL. It is possible in VS-Code . I was wondering whether a similar method could be applied to Che (It is possible through the Theia stack, but I'm having a hard time trying to integrate it to Che). Is there a common way used to implement syntax highlighting to languages in Che?

@SharkJ
Copy link
Author

SharkJ commented Nov 28, 2018

Can anyone kindly help me with this problem?

@skabashnyuk
Copy link
Contributor

@SharkJ are we talking about GWT based IDE or Theia?

@SharkJ
Copy link
Author

SharkJ commented Nov 28, 2018

@skabashnyuk the GWT based IDE.

@skabashnyuk
Copy link
Contributor

Same comment #12011 (comment)

@SharkJ
Copy link
Author

SharkJ commented Dec 4, 2018

@skabashnyuk Could you kindly tell me how I could use the code snippet given in #1392 to implement syntax highlighting in the che source code? I tried adding it to the che source and built it, but the keywords were not highlighted as expected. I have mentioned about everything that I've used in #11969 . Thank You!

@gorkem
Copy link
Contributor

gorkem commented Aug 23, 2019

Closing due to inactivity, please reopen if needed.

@gorkem gorkem closed this as completed Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

3 participants