[LSP]: How to support project configuration files [message #1870557] |
Tue, 03 September 2024 06:30  |
Eclipse User |
|
|
|
Hello,
I'm currently trying to find out how to best implement a project configuration file (e.g. similar to .project/.classpath of JDT Projects).
For example, this configuration contains values relevant to the initialization of the project (e.g. something similar to the classpath in java) in the LSP and the validator.
Changes to the project configuration therefore affect all resources of a project and should be picked up automatically after a change to the file.
I looked into org.eclipse.xtext.workspace.IProjectConfig, however, I found no way of refreshing the config once it was created.
Also, I looked into modeling the configuration file as a language, however, that seems heavyweight.
How would you implement this feature?
Best regards,
Sebastian
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04230 seconds