Red error squiggles in vscode when edit build.yaml

Hello everyone,

I use VSCode + TorizonCore Builder Tool to manage the sources to create various BSP’s
The IDE Extension works in a remote Enviroment on Ubuntu 22.04.

to describe the error I show here a screenshot:

… that’s not nice because it often distracts me

It’s amazing that when you point the mouse at eg “changes0”, the message comes up:

“Value is not accepted. Valid values: “.vscode”, “changes0”, “changes0/usr”, “changes0/usr/etc”, “changes0/usr/etc/cni”, “changes0/usr/etc/cni/net.d”, “changes0/usr/etc/docker”, “changes0/usr/etc/es”, “changes0/usr/etc/es/chromium”, “changes0/usr/etc/es/scripts”, “changes0/usr/etc/es/weston”,”

It would be nice if I could at least turn off the check. How do I do that?

Best
Gerald

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Gerald,

Thank you for reaching out with your question. It sounds like the red error squiggles in VSCode are quite distracting while you’re working with the TorizonCore Builder Tool. Here are some steps you can take to manage or disable these error notifications:

  1. Disable YAML Validation: If you find the validation distracting, you can disable it. In VSCode, go to File > Preferences > Settings, search for “YAML”, and find the “YAML: Validate” option. Uncheck this option to turn off validation.

  2. Adjust Error Reporting: If you prefer not to disable validation entirely, you can adjust the severity of the error messages. In the same settings area, you can change the severity from “Error” to “Warning” or “Information” to make them less intrusive.

  3. Try a Different YAML Extension: If the current extension is causing issues, consider trying another YAML extension that might be less intrusive or better suited to your workflow.

  4. Check for Schema Mismatches: Sometimes, these errors are due to schema mismatches. Ensure your YAML file aligns with the expected schema for TorizonCore Builder. Reviewing the documentation or examples from Toradex can help ensure your file structure is correct.

By following these steps, you should be able to reduce or eliminate the distracting error squiggles in your YAML files. I hope this helps improve your experience with VSCode and the TorizonCore Builder Tool.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

TorizonCore Builder not available in Visual Studio Code.