OpenLiberty / liberty-language-server

The Liberty Config Language Server provides language server features for Liberty server configuration files through any of the supported client IDEs.
Eclipse Public License 2.0
5 stars 11 forks source link

Provide warning on config files that are not currently configured for the project #236

Open evie-lau opened 10 months ago

evie-lau commented 10 months ago

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 and server.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 the liberty-plugin-config.xml