eclipse.jdt.ls
eclipse.jdt.ls copied to clipboard
Add workspace folder variable resolution for settings url
This PR adds support for resolving ${workspaceFolder} in the following settings:
- java.format.settings.url
- java.settings.url
If ${workspaceFolder} is present in the provided path, it will be replaced with the absolute path of the workspace folder (retrieved from getRootPaths()). The resolution logic checks all available workspace folders and uses the first matching path that exists.
Fixes: https://github.com/eclipse-jdtls/eclipse.jdt.ls/issues/2529