There was a problem loading the comments.

VSCode - Squiggles and IncludePath Error

Support Portal  »  Help Guides  »  Viewing Article

  Print

Squiggles Problem

Upon loading VSCode and our Unified Firmware, you may encounter an error that says "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit..." as seen here:

 

0f57546278aec048933b36bfc1948623635e01b262e04b1ac4bf65ed3c32873ed78d355931542303?t=1704c16bbfd57dd9739ef433981b402f

Sample "squiggles" error

 

TLDR; You can ignore these "errors", they are normal and not actual errors.


First Compile Issues

This error commonly occurs when loading Unified Firmware and/or VSCode for the first time. The error tends to resolve itself upon a successful first compile of the firmware.

 

VSCode uses a feature that attempts to follow the code from beginning to end to check for errors before you attempt to completely compile the code. This feature relies on having the compiler and firmware dependencies (things like programming libraries and languages) installed in order to function correctly.

 

When compiling firmware the first time, VSCode downloads the additional dependencies needed as specified in the firmware's back-end files before proceeding with the actual compile process. After these dependencies are successfully downloaded, VSCode can function correctly with the entire firmware package.


Common Solutions

  1. Ignore the error and attempt to compile, then attempt a second compile if the first fails. Dependencies will be downloaded on the first attempt, and it may require a second attempt to work properly.
  2. If the error persists, completely close and reopen VSCode, than wait a few minutes for VSCode and IntelliSense to update. Status for this is shown on the blue toolbar at the very bottom of VSCode... wait for these updates to finish.
  3. Ensure that you have installed VSCode, PlatformIO, and Python according to our installation instructions. Consider completely uninstalling/reinstalling VSCode if you continue to encounter issues.

Share via

Related Articles


On-Premise Help Desk Software by SupportPal
© TH3D Studio