2026-02-20 11:29 AM
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.
2026-02-23 1:15 AM
Hi @LVoze.2
Could you share some more info about data you want to keep ?
2026-02-23 9:10 AM
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
2026-02-23 11:13 AM
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.
2026-02-24 1:52 AM
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