IBM / zopeneditor-about

IBM Z Open Editor: File issues here!
https://ibm.github.io/zopeneditor-about
Apache License 2.0
47 stars 25 forks source link

Ability to indicate a contextual path to VS Code installation for zopeneditor.JAVA_HOME parameter #382

Open FALLAI-Denis opened 5 months ago

FALLAI-Denis commented 5 months ago

Description of the enhancement requested

Z Open Editor requires a Java runtime environment to enable language servers. The Java environment is either the one installed by default on the machine, or the one indicated in the zopeneditor.JAVA_HOME parameter.

Unless there is an error, it is not possible to use environment variables in the parameters of VS Code settings.json files. The zopeneditor.JAVA_HOME parameter requires providing an absolute path, not contextual, not relative, which creates a dependency on the execution machine.

When using a portable installation of VS Code, we would like to be able to indicate a path contextual or relative to the installation of VS Code, and not to the running machine.

See the discussion:

Thanks.