- Operating system: any
- SonarLint plugin version: 3.18.0
- Programming language you’re coding in: C/C++
- Is connected mode used:
- Connected to SonarCloud or SonarQube (and which version):
And a thorough description of the problem / question:
My team is working on an extension that manages a development environment in VS Code where several (C/C++) application with multiple build configurations coexists at the same time, all of which have it’s own compile_commands.json file. This means that IntelliSense and linting configurations are dynamically changing within a VS Code workspace and our extension is aware of which build configuration is active at all times.
We would like to integrate with the SonarLint extension in way that does not require user interaction in case there are multiple compile_commands.json file is found in the workspace, so we could call the command automatically upon the active configuration changes.
For this change I already created a PR: Add optional argument to configure command by bencefr · Pull Request #423 · SonarSource/sonarlint-vscode · GitHub