-
Notifications
You must be signed in to change notification settings - Fork 61
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
Introduce runtime language configuration and UI settings #344
Comments
Configuration entries are declared in the package.json: The language server can request configuration from the client: This seems like there's not much to generate. Maybe we can add utility code using the configuration request for initializing the index. |
Some aspects of a language and its runtime behavior need to be configured by the user depending on the particular runtime environment and/or project setup.
One use-case is e.g.
DefaultIndexManager.skipFolder
where we need to exclude some folders from traversing during indexing.The idea is to have a service that provides configurations for special property or a key (compared to Xtext PreferenceStoreAccess) at runtime.
When using in an IDE e.g. VSCode extension, we will need a corresponding implementation. In case of VS Code this can be user or workspace specific:
![Bildschirmfoto 2022-01-07 um 12 56 04](https://user-images.githubusercontent.com/454322/148540885-2a9dd33f-b13e-41fb-a552-f76d8cef67af.png)
For langium-vscode it would be nice to have a boilerplate code generated if possible.
The text was updated successfully, but these errors were encountered: