TypeStrong / atom-typescript

The only TypeScript package you will ever need
https://atom.io/packages/atom-typescript
MIT License
1.13k stars 205 forks source link

New code is not being parsed correctly #1589

Closed henriquesaias closed 2 years ago

henriquesaias commented 3 years ago

I've tried reinstalling the package but it keeps giving me what appear to be random errors whenever I type in or paste new code. Every line has multiple errors and they make no sense, as far as I can tell.

This has been happening for at least a week, I've been working mostly on the frontend folder which parses the code using TypeScriptReact and gives me no problems. Now I need to do stuff on the server and, instead of helping me, the IDE is cluttering my screen with squiggly lines, red exclamation marks and bad advice.

Please help me understand what's going on!

Screenshot 2021-07-28 at 21 09 53 Screenshot 2021-07-28 at 21 13 28
lierdakil commented 3 years ago

No idea, but if I had to guess, tsserver is picking up the wrong project. Perhaps try enabling "Spawn separate tsserver instance for each tsconfig.json" -- it often helps if that is the case. Other than that, restarting Atom (via Window: Reload for example) generally helps when things go out of whack.

github-actions[bot] commented 2 years ago

This issue has been marked as stale because it did not have any activity for the last 90 days or more. Remove the stale label or comment or this will be closed in 14 days