-
Notifications
You must be signed in to change notification settings - Fork 463
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
Extension can't find CMakePresets json schema #3651
Comments
@nikoprotic Thanks for posting the issue. I also occasionally see this, though it has always been very flaky for me. Do you find that this is a flaky issue? Or is this a longstanding issue that does not go away over time or with restarting of VS Code? |
Sorry for the delayed response. I see this pretty consistently. Restarting/updating VS Code does not remedy it. |
@nikoprotic No worries. We'll investigate this as soon as we have capacity. |
I'm seeing this as well, just in case I can help at all, my cmake diagnostics (somewhat redacted, I tried to add context while removing PII:
|
@v-ericawu I think I know what the issue is. If you close the CMakePresets.json file, reload VS Code, and then do something to ensure that the extension activates (i.e. run the cmake configure command), then when you open the CMakePresets.json file, it will work. I think it's an issue of when the extension activates and when it calls |
Currently investigating whether we should add |
@gcampbell-msft Thanks for your investigation, using workaround as you mentioned above will solve the issue: |
Brief Issue Summary
When opening CMakePresets.json in VSCode, I receive this warning at the top of the file:
Additionally I get no language support for the file.
CMake Tools Diagnostics
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: