Ive just started using VEX Pros & Lemlib but i've encountered some problems with it. Does anyone have a solution?


How come I have so many programming errors and spelling mistakes despite following all the steps on the Lem Lib documentation site, aswell as using the provided example project.

What is the extension cSpell for? Does the project still build or work otherwise?

Those don’t appear to be actual programming errors; they’re spelling warnings generated by the cSpell (Code Spell Checker) extension in VSCode. It’s flagging terms like “lemlib”, “Gearset”, and “OmniWheel” as unknown words because they aren’t in the default dictionary. These are specific to VEX and LemLib, so your code is likely fine unless you see build or runtime errors.

You can either ignore these warnings or add these terms to your workspace dictionary via .vscode/settings.json or by right-clicking the word and choosing “Add Word to Workspace Dictionary” to stop the warnings from showing up.

{
“cSpell.words”: [
“Gearset”,
“lemlib”,
“OmniWheel”,
“horizontalEnc”,
“verticalEnc”,
“imu”,
“pros”
]
}

  • In your project folder, open or create the file: .vscode/settings.json
  • Paste the snippet above into the file.
  • Save the file and reload VSCode if needed.
2 Likes

No, driver control works but Auton does absolutely nothing. Seems like the CSpell errors are mostly irrelevant, but my concern is the fact that the Auton period doesn’t function.

How do you know? How are you running it? This looks like LemLib? Are you sure it is set up correctly?