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

Improve finding compile_commnands.json. #11

Closed
helly25 opened this issue Jul 7, 2024 · 1 comment · Fixed by #10
Closed

Improve finding compile_commnands.json. #11

helly25 opened this issue Jul 7, 2024 · 1 comment · Fixed by #10

Comments

@helly25
Copy link
Owner

helly25 commented Jul 7, 2024

Find compile_commnands.json in build subdir if not found in main by default.

See #5

helly25 added a commit that referenced this issue Jul 8, 2024
If `iwyu.compile_commands` is set to the default `auto`, then the extension will try:
  - `${workspaceFolder}/compile_commands.json`,
  - `${workspaceFolder}/build/compile_commands.json`,
  - `${fileWorkspaceFolder}/compile_commands.json`, and
  - `${fileWorkspaceFolder}/build/compile_commands.json`.

This should address #5 in slightly better way as it supports the common places.

This fixes #11
@helly25
Copy link
Owner Author

helly25 commented Jul 8, 2024

This is now published as version 0.0.16.

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

Successfully merging a pull request may close this issue.

1 participant