Skip to main content
LVoze.2
Associate II
February 20, 2026
Question

ISSUE: Cross platform collaboration impossible due to hijacking of settings.json

  • February 20, 2026
  • 2 replies
  • 227 views

stm32cube-ide-clangd.arguments are written to settings.json on every startup/setup with .exe or no extension depending on platform. settings.json contains important settings we want to share across collaborators but now it's getting constantly modified between platforms. 

2 replies

Nawres GHARBI
Technical Moderator
February 23, 2026

Hi @LVoze.2 

Could you share some more info about data you want to keep ? 

ST Employee
February 23, 2026

Thank you for your feedback.

We have a patch scheduled for the next release that will prevent stm32cube-ide-clangd.arguments from being updated if any --query-driver argument is already defined. Would this solution address your concern?


MNA

LVoze.2
LVoze.2Author
Associate II
February 23, 2026

Hi MNA,

This does address the file constantly being written to, but I'm not sure it address the cross-platform concerns. Those query drivers args get set to .exe on a Windows machine but needs to omit extension on OSX or Linux. This is the core issue. Storing platform specific args in a shared file.

ST Employee
February 24, 2026

This is well understood. Our proposed solution is to update the automatic configuration to use a wildcard in the query-driver argument, for example:

 
"stm32cube-ide-clangd.arguments": [
 "starm-clangd",
 "--query-driver=${env:CUBE_BUNDLE_PATH}/gnu-tools-for-stm32/14.3.1+st.2/bin/arm-none-eabi-gcc*",
 "--query-driver=${env:CUBE_BUNDLE_PATH}/gnu-tools-for-stm32/14.3.1+st.2/bin/arm-none-eabi-g++*"
 ]

 

Since clangd supports wildcards, this approach should resolve the cross-platform issue. Does this solution work for you?

 

MNA