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

Enabling extension breaks Intellisense #254

Open
bluca opened this issue Jul 26, 2024 · 11 comments
Open

Enabling extension breaks Intellisense #254

bluca opened this issue Jul 26, 2024 · 11 comments

Comments

@bluca
Copy link

bluca commented Jul 26, 2024

Debian Stable
meson 1.0.1
vscode 1.91.1 installed via official deb repository
vscode-meson 1.25.1 installed via vscode extensions marketplace

Intellisense works perfectly fine on a C project, is able to resolve local functions, find all local headers, etc.
As soon as I enable this extension, Intellisense breaks and is no longer able to resolve or find anything. There is only one message in the output window:

Unable to resolve configuration with compilerPath "${default}". Using "/usr/lib/ccache/clang" instead.

@tristan957
Copy link
Contributor

Can you try messing with https://github.com/mesonbuild/vscode-meson/blob/main/package.json#L255? Turning it off, for instance.

@bluca
Copy link
Author

bluca commented Jul 26, 2024

I have added:

"mesonbuild.modifySettings": false

in .vscode/settings.json but it makes no difference

@bluca
Copy link
Author

bluca commented Jul 26, 2024

Setting it to: "mesonbuild.modifySettings": ["ms-vscode.cpptools"] also makes no difference

@tristan957
Copy link
Contributor

Do you have a repository that I can try to reproduce with?

@bluca
Copy link
Author

bluca commented Jul 26, 2024

@tristan957
Copy link
Contributor

Are you using the C/C++ extension or the clangd extension for the language server?

@bluca
Copy link
Author

bluca commented Jul 26, 2024

C/c++ extension

@tristan957
Copy link
Contributor

Can you share any interesting logs from the C/C++ extension output channel?

@bluca
Copy link
Author

bluca commented Jul 26, 2024

There's only what I pasted above. That message does not appear if this extension is disabled

@tristan957
Copy link
Contributor

Ah ok. Did not realize that was from the C/C++ extension. Thanks!

@bluca
Copy link
Author

bluca commented Jul 27, 2024

We'll, I think it is as it doesn't appear when it works, but I am just guessing, there is no identifier, just that string

If it is needed I can share the meson config/json

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

No branches or pull requests

2 participants