yoavbls / pretty-ts-errors

🔵 Make TypeScript errors prettier and human-readable in VSCode 🎀
https://marketplace.visualstudio.com/items?itemName=yoavbls.pretty-ts-errors
MIT License
13.14k stars 89 forks source link

Extension causes the TS Server to stop working #75

Open ma7moud3bas opened 11 months ago

ma7moud3bas commented 11 months ago

Describe the bug When the exteention is enabled, whenever I open vscode, the Typescript server starts to spin up but it never finishing spinning up. this behaviour makes the code editor unusable. I can't see linting or intellesense, the files don't save, and nothing works.

After disabling the extension, everything returned to normal.

This only started to happen Yesterday, Augest 23rd. before that, the extension was working normally.

Expected behavior Everything should work normally.

yoavbls commented 10 months ago

Hey @ma7moud3bas, pretty-ts-errors shouldn't block the work of the TypeScript server, it just adds more diagnostic messages. Is it consistent and keeps happening in newer versions? Could you provide some diagnostic files or more information, please?

MattyBalaam commented 10 months ago

I don’t know if this is related, but I spent an hour debugging why I couldn’t save this morning, and eventually through a process of elimination managed to get files to save after disabling this extension.

I have some (maybe over complex) types in my code and I think an error in my TS may have caused this to happen?

bentron2000 commented 8 months ago

Screenshot 2023-11-21 at 7 36 20 am

dmastrorillo commented 5 months ago

Not sure if related, but we work in a huge monorepo with seperate tsconfigs per package, and this extension was causing the server to crash as well every 10 or so minutes. Didn't have any issues saving though. But Typescript and intellisense would just break and I'd have to restart the extension host to get everything working again

yoavbls commented 4 months ago

Could someone provide some type or project it's reproduced in please?