I can suddenly no longer work on my Typescript Project.
For example if I write code referencing an external variable that is not yet imported, no error is displayed.
I tried :
different modifications on my tsconfig.json file followed by
Ctrl+Shift+P =>“Developer : Reload Window” and then Ctrl+Shift+P => “TypeScript: Go to Project Configuration (tsconfig)” always results in message “File is not part of a Typescript project”
remove tsconfig.json from .gitignore as it seemed to be ignored by Cursor
NB: Same project works perfectly in VS Code.
Steps to Reproduce
Open a .ts or .tsx file
Write some code referencing an external element not yet imported
No error is displayed, imports used to be automatically generated on save bu ■■■’s not the case anymore
Expected Behavior
Previously, compilation errors were displayed, imports were automatically generated, …
ESLint errors are displayd though
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. It looks like a TypeScript language server issue. Let’s gather some diagnostic info:
Please share:
TypeScript Output logs: View > Output > select “TypeScript” in the dropdown > copy all text
Developer Console errors: Help > Toggle Developer Tools > Console tab > look for red errors
Built-in extension status: Extensions > search “@builtin typescript” > verify “TypeScript and JavaScript Language Features” is enabled
Quick tests to try:
Test without extensions: run cursor --disable-extensions from the terminal, open your project, and test TypeScript
Reload the TS server: CTRL+Shift+P > “TypeScript: Restart TS Server”
Since the same project works in VS Code, this points to a Cursor-specific config or an extension conflict. The diagnostic logs will help pinpoint what’s happening with the language server.
Thanks for sharing the console errors. The main issue is the message “Timed out getting tasks from typescript” which means the TypeScript server is hanging during initialization.
I can also see that you have the TypeScript Nightly extension (vscode-typescript-next) installed. This can conflict with the built-in TypeScript support. Please try the following:
Check that the built-in TS is active after removing the Nightly extension: Extensions → @builtin typescript → make sure “TypeScript and JavaScript Language Features” is enabled
If that doesn’t help, please also try:
Test with a clean profile: run cursor --disable-extensions --user-data-dir=/tmp/cursor-test and open your project there
Check project size: very large projects or a complex tsconfig can cause timeouts. Try increasing the limit: Settings → search for “typescript.tsserver.maxTsServerMemory” and set it to 8192
Check if you have any workspace-specific TypeScript settings: .vscode/settings.json or .cursor/settings.json
Let me know if removing the Nightly extension resolves the issue.
Test with a clean profile: run cursor --disable-extensions --user-data-dir=/tmp/cursor-test and open your project there
With this one, I have now the compilation errors.
I will try to rebuild my whole environment from this starting point and by integrating back my previous settings one by one to see how it goes.