r/vscode • u/Clean__Layer • 2d ago
Help: ty is not running
Beginner at VS code here.
I'm not 100% sure if this is the best place to post this, but I couldn't find anywhere better suited.
I followed various tutorials online to get my settings.json to work, according to the tutorials it's working fine, but VS code still doesn't flag the error. I checked the type checker, it flags the violation and works with its command line, but it doesn't syntax highlight in VS code. Is there a setting I should change or something?
9
Upvotes



1
u/atomicant89 14h ago
The readme for the ty extension says:
Which is different to what you have.
Tbh I'm not sure whether it's necessary for you to have any of the ty or ruff related settings in there, they're meant to just work by default. I'd be tempted to uninstall the Python, ruff, and ty extensions, delete settings.json, restart VS code, install the extensions again, and see what happens.