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
6 stars 12 forks source link

Special case for WLP_USER_DIR #88

Open cherylking opened 2 years ago

cherylking commented 2 years ago

I found the following documentation related to where one can specify the WLP_USER_DIR variable:

WLP_USER_DIR can be specified only in the ${wlp.install.dir}/etc/server.env file because the purpose of this variable is to
 specify where the remaining configuration is located. After the remaining configuration is found and merged, no further 
configuration in a different location is expected, or supported.

We currently provide hover documentation for this variable when the user edits a server.env file. Perhaps we need to also provide a diagnostic for it if the file is located in their src/main/liberty/config folder which would get copied to their target Liberty server?

Here is the documentation.

evie-lau commented 1 year ago

Dependent on completing #92 first