microsoft / vscode-arduino

Visual Studio Code extension for Arduino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode variable ${workspaceRoot} not handled in "arduino.path" setting

Akiyamka opened this issue · comments

For virtual environments like devbox we need to be able setup path relative to project root (usually can be achieved with ${workspaceRoot} variable in path) .

{
  "arduino.useArduinoCli": true,
  "arduino.path": "${workspaceRoot}/.devbox/nix/profile/default/bin"
}

Or, event better - extention can use android-cli location directly from environment (which android-cli).