bmd-studio / stm32-for-vscode

STM32 extension for working with STM32 and CubeMX in VSCode
MIT License
195 stars 27 forks source link

Extension does not honor the VSCODE_EXTENSIONS environment variable directory override #112

Closed breaultjean closed 2 years ago

breaultjean commented 2 years ago

Hi,

I have an accent in my first name (é). This makes my user path containing an invalid character to build using make. This itself is not the issue, but it led me to override the VSCODE EXTENSIONS path to a fixed directory on my machine.

image

When I download the extension tooling (ctrl+shift+p + "stm32: install all the build tools for the STM32 for VSCode") it download the tooling into C:\USERS\JEAN-SÉBASTIENBREAUL\APPDATA\ROAMING\CODE\USER\GLOBALSTORAGE\BMD.STM32-FOR-VSCODE\ which is an invalid path when I run Make.

Is there a way to force the extension to use another directory for the tooling payloads? Or maybe use the Extensions directory configured from VS Code?

Thanks,

breaultjean commented 2 years ago

Hi, I found the setting override and will simply install MAKE and OpenOCD at a fixed location instead. Sorry for the noise!