Environment variables not used in RF-LS in vscode

@kamichal I suggest using the RobotCode extension and make use of a robot.toml file or a .robot.toml file (if you don’t want to commit this file to your repository) to store your environment variables.

Example of the content of the toml file

[env]
MY_VARIABLE=“is set for sure”

Just place this file in the root of your project folder, just like you would with a .env file
Also I suggest installing the Even Better TOML extension, for working with TOML files.

1 Like