-
Notifications
You must be signed in to change notification settings - Fork 13
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
Core: rule files in eclipse #150
Comments
|
This is a plugin that can be used to construct a language, it seems reliable and a lot of people are using it, maybe if someone thinks it is relatable we can proceed. |
http://www.liclipse.com/text/supported_languages.html Update: I guess this might turn out to be really useful. |
It seems to me that Xtext would be the way to go: it's an actively maintained part of the eclipse platform, designed specifically to build eclipse plugins for new languages, and it can also generate a language server. |
https://github.com/mn-mikke/Model-driven-Pretty-Printer-for-Xtext-Framework/wiki/Standard-Way-of-Syntax-Highlighting-in-Xtext-Framework this might be useful as well, but I need to do further investigations to get better knowledge about xtext but we need to agree first on this. |
https://wiki.eclipse.org/FAQ_How_do_I_provide_syntax_coloring_in_an_editor%3F this might be an easy way to do syntax highlighting within eclipse using the parser we currently have as far as I understand, need to confirm this as well. |
It's not, it requires writing a platform plugin and implementing a custom editor (both of which are taken care of by xtext), and it also doesn't work with our current parser. |
A note: Xtext doesn't provide syntax highlighting in case of integrating it with LSP. |
https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#highlighting This contains the features found in Xtext including refactoring, further elaborating tutorials are needed. |
To clarify: the language server doesn't do syntax highlighting. The generated eclipse plugin still does. |
[link redacted, —@mmarx] Xtext Documentation |
I have removed the link. Please don't upload random documents you find on the Internet to the issue tracker, especially if it's unclear what license the content is under, if any. It doesn't help that that particular version of the documentation refers to an eight-year-old version of Xtext. The current version of the Xtext documentation is found here: https://www.eclipse.org/Xtext/documentation/index.html |
Is this way possible for us to get a standalone application? https://github.com/echebbi/standalone-xtext-example#4-use-xtext-in-a-standalone-application |
I figured out a way which is to export the xtext project as a feature and it can be installed in any eclipse and it is working and tested, another way but not test is through maven. |
Tracking all further progress in https://github.com/knowsys/rulewerk-plugin/. |
The text was updated successfully, but these errors were encountered: