Suggestion for enhancement to provide a warning if the currently edited file is not configured for Liberty to use.
Needs design discussion
Diagnostic probably won't work because there is no particular text to highlight.
Could possibly provide a toast/popup notification.
This would also be affected by the fact that liberty-plugin-config.xml may not have been generated yet in a new or cleaned project, which may raise the warning until the project is built (liberty:create). An idea has been raised to possibly automatically run a lightweight mvn/gradle goal to generate the liberty-plugin-config.xml
Following up on discussion in https://github.com/OpenLiberty/liberty-language-server/issues/213#issuecomment-1779326611, with the change to allow LCLS support for all
bootstrap.properties
andserver.env
files, it is possible to start editing files that have not yet been configured for the Liberty project to use.Suggestion for enhancement to provide a warning if the currently edited file is not configured for Liberty to use.
Needs design discussion
This would also be affected by the fact that
liberty-plugin-config.xml
may not have been generated yet in a new or cleaned project, which may raise the warning until the project is built (liberty:create
). An idea has been raised to possibly automatically run a lightweight mvn/gradle goal to generate theliberty-plugin-config.xml