-
Notifications
You must be signed in to change notification settings - Fork 429
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
YAMLException on configure #3727
Comments
@gcampbell-msft We reproduced the issue as well using the following environment and steps: ENV:
Repro Steps:
Expected Result: yaml file won't parse error after opening CMake project. Actual Result: yaml file parse error after opening CMake project: CMake/Build: OUTPUT 6 | * Text with bullet <!--- error ... |
@v-ericawu Is it possible that it is because it needs a new line at the end of the file? |
For clarification, the parsing error shows up in file README.md (
re: new line at eof, this persists with new/no line at end of either file. |
@tysolov Interesting, I'm not sure why we'd be parsing the README file, this sounds like something to put on the backlog to investigate. Have you confirmed with other online yaml parsers that the format is correct? It looks like it is, but just as a double check. Thanks! |
@gcampbell-msft --- the fact that the [variant] step is processing anything other than cmake-variants file is certainly a concerning point of interest. That said, @v-ericawu's setup suggests it may be related. cmake-variants.yaml and README.md have both been confirmed as valid using online parsers. |
may be related: #3382 |
@tysolov, thanks for your reply. About this issue, we have reproduced this issue. Our developer team are investigating the issue and will get back to you with any updates. thank you for your support. |
Brief Issue Summary
When opening project, custom variants in my cmake-variants.yaml file are not loaded, seemingly due to a parsing error in a markdown file:
Due to this, my custom variants are not loaded upon opening vscode. However, editing the cmake-variants.yaml file in any way (e.g., adding a newline to end) forces a reload, at which point the custom variants show up without any ostensible parsing errors.
CMake Tools Diagnostics
Debug Log
Additional Information
No response
The text was updated successfully, but these errors were encountered: