AdaCore / ada_language_server

Server implementing the Microsoft Language Protocol for Ada and SPARK
GNU General Public License v3.0
228 stars 54 forks source link

V119-052: pass custom env variables to the ALS #1042

Closed AnthonyLeonardoGracio closed 1 year ago

AnthonyLeonardoGracio commented 1 year ago

Use the already existing VS Code preferences to control the environment variables and pass them to all the child processes launched by the extension, including the ALS.

This allows to set a custom PATH or GPR_PROJECT_PATH in a workspace file for a given project for instance, or control the scenario variables directly from the environment.