Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: cppchecker plugin - handling of environment variables #3422

Open
audrius-u opened this issue Jul 11, 2024 · 0 comments
Open
Assignees
Labels

Comments

@audrius-u
Copy link

Describe your idea in details

Currently cppchecker plugin configuration handles three variables, namely ${cppcheck}, ${WorkspacePath} and ${CurrentFileFullPath}. The first one is not handled properly - I have cppcheck installed on my system, set the OS environment variable cppcheck to point to actual location of cppcheck.exe, and set the same in CL's Environment Variables - despite this, CL failed to see cppcheck until I added its location to system PATH. However, I would prefer to have system's PATH less cluttered. Additionally, I want to run cppchecker with ${ProjectPath}/compile_commands.json set per project, not per workspace as I have multiple projects in a single workspace, and ${ProjectPath} is not resolved either. Please add an ability to handle environment variables, or at least ${ProjectPath} support if possible. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants