Replies: 2 comments 6 replies
-
I totally agree, getting started was quite confusing with all the different examples distributed on different repositories. Having one centralized, up-to-date examples/template repo is very helpful. I think it is also easier to maintain. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the feedback! I agree with you that a separated example is much easier to follow than the ones in the respective "core repos" or "integration repos". Our hope was that the project templates and the separated workflow example fulfill this purpose. We update these after each release. Do you think they are insufficient? What are they missing? The examples in the respective core and integration repos are actually not really intended to be an example for educational purposes but rather an example for the GLSP dev team to test the core and integration repo functionalities. If there is a bug fix or a new feature in development, it is handy to have a common example we all use for reproducing the issue or demonstrating the correct functionality. This is what the purpose of those examples are. However, it is important that people have what they need to get started, so we appreciate any suggestion or also of course PRs to add / enhance / change the new or existing examples. Thank you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, I would like to emphasize once again how great this project is! In my eyes it's certainly one of the most powerful modeller projects we have.
But after working more than over a year with GLSP I want to suggest to separate the examples code form the API. Maybe you already have this in mind, but currently the core APIs like
glsp-server
,glsp-client
,glsp-vscode-integration
orglsp-eclipse-integration
all include example code. But this, I think, is for beginners (and still for myself) very confusing.It looks that I am forced to checkout/clone all these project parts to get started. But this is not the case. And you already have the new glsp-examples project. So why not throw out all the example code from the core APIs?
I am currently working on Eclipse and VSCode integration code and it is still very confusing that the corresponding APIs are mixed with example code. This makes it hard to adapt.
For example: The
glsp-vscode-integration
includes example code that assumes you have a Java-Server and a NodeJS Server. No one would implement two language servers just for fun in his own project. So I would suggest to move theexample/workflow
code from theglsp-vscode-integration
into theglsp-examples
project and separate it in two examples:I would do it myself if it would not take me weeks to get the project setup right. It still takes me hours in my own project to figure out which dependencies are necessary and which are not. I also think that many questions often arise because the line between framework and adaptation is blurred by mixing api with examles.
Beta Was this translation helpful? Give feedback.
All reactions