-
Notifications
You must be signed in to change notification settings - Fork 36
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
Web documentation part outdated #274
Comments
Hey @theogiraudet, during the past few years since the tutorials about Langium in the browser were written, quite a lot happened in the area of the monaco-languageclient library. In fact, the library changes so rapidly that we recently decided in a dev-meeting that we probably will no longer provide specific tutorials for that, as that is unmaintainable for us to the standard that we want. Instead, we plan to link to the Langium integration example of the monaco-languageclient. It will be always up to date and provide better help than we can in this repo. I know that this makes writing a web based language client more difficult as it fragments the parts you need to learn about, however, we want to keep the Langium documentation specific to the framework and not branch out too much to all the possible language clients. |
I understand, thanks for the answer! |
Hi @theogiraudet this doesn't mean that the tutorials will disappear. I will analyse what we could integrate into the monaco-languageclient repository directly and how you could bootstrap a Langium project from there. We already have the Statemachine example, Langium grammar (extended) and Langium grammar (classic) integrated, but there is no tutorial how to achieve it. If we move the existing tutorials over there, we can also align it more easily with the changes happening in the web space. |
Thank you very much for your answer, it would be much appreciated. |
I would agree that adding some banner at the top would be a good solution here. It would specifically be nice to point out the versions that are stated at the top, but revise the text to inform the user these are the last supported versions for this documentation (rather than implying future versions will work as well). |
Hey!
I am currently teaching Langium to students in an MDE course.
During this course, the students have to simulate a robot in a webpage.
For that, we are sharing to the student these two pages, respectively to set up the web part, then the notification system:
However, I have the impression that the pages are not up-to-date for this part.
Indeed, since some versions, Langium Generator directly generates all the required artifacts concerning the initialisation of the web server and client.
As a result, the first page, which is a prerequisite of the second one, looks obsolete (not needed + mentioned files not existing anymore).
Moreover, the second page seems also out-to-date or at least, may not be enough to fully understand.
In the "Listening for Notifications in the Client" section, the file with the wrapper must be modified to listen the notification.
Since the first page is outdated, this may be difficult to identify which files to edit. As far as I know, this is
setupClassic.ts
orsetupExtended.ts
, but I don't know if this is the best way to do with the latest version of Langium.Thanks!
The text was updated successfully, but these errors were encountered: