-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deno Intellisense is unbearably slow on larger projects #1203
Comments
I'm experiencing the same while working with aws-cdk and the aws-sdk. Had to trim the "Documents in Memory" as it would exceed the 65536 characters limit for a github comment but I hope I preserved the essential information by replacing them with the used imports instead. Deno Language Server StatusWorkspace Settings{
"enable": true,
"disablePaths": [],
"enablePaths": null,
"cache": null,
"cacheOnSave": true,
"certificateStores": null,
"config": null,
"importMap": null,
"codeLens": {
"implementations": false,
"references": false,
"referencesAllFunctions": false,
"test": false
},
"internalDebug": false,
"internalInspect": false,
"logFile": false,
"lint": true,
"documentPreloadLimit": 1000,
"suggest": {
"imports": {
"autoDiscover": true,
"hosts": {
"https://deno.land": true
}
}
},
"testing": {
"args": [
"--allow-all",
"--no-check"
]
},
"tlsCertificate": null,
"unsafelyIgnoreCertificateErrors": null,
"unstable": [],
"javascript": {
"inlayHints": {
"parameterNames": {
"enabled": "none",
"suppressWhenArgumentMatchesName": true
},
"parameterTypes": {
"enabled": false
},
"variableTypes": {
"enabled": false,
"suppressWhenTypeMatchesName": true
},
"propertyDeclarationTypes": {
"enabled": false
},
"functionLikeReturnTypes": {
"enabled": false
},
"enumMemberValues": {
"enabled": false
}
},
"preferences": {
"importModuleSpecifier": "shortest",
"jsxAttributeCompletionStyle": "auto",
"autoImportFileExcludePatterns": [],
"useAliasesForRenames": true,
"quoteStyle": "auto",
"preferTypeOnlyAutoImports": false
},
"suggest": {
"completeFunctionCalls": false,
"includeAutomaticOptionalChainCompletions": true,
"includeCompletionsForImportStatements": true,
"names": true,
"paths": true,
"autoImports": true,
"enabled": true,
"classMemberSnippets": {
"enabled": true
},
"objectLiteralMethodSnippets": {
"enabled": true
}
},
"updateImportsOnFileMove": {
"enabled": "always"
}
},
"typescript": {
"inlayHints": {
"parameterNames": {
"enabled": "none",
"suppressWhenArgumentMatchesName": true
},
"parameterTypes": {
"enabled": false
},
"variableTypes": {
"enabled": false,
"suppressWhenTypeMatchesName": true
},
"propertyDeclarationTypes": {
"enabled": false
},
"functionLikeReturnTypes": {
"enabled": false
},
"enumMemberValues": {
"enabled": false
}
},
"preferences": {
"importModuleSpecifier": "shortest",
"jsxAttributeCompletionStyle": "auto",
"autoImportFileExcludePatterns": [],
"useAliasesForRenames": true,
"quoteStyle": "auto",
"preferTypeOnlyAutoImports": false
},
"suggest": {
"completeFunctionCalls": false,
"includeAutomaticOptionalChainCompletions": true,
"includeCompletionsForImportStatements": true,
"names": true,
"paths": true,
"autoImports": true,
"enabled": true,
"classMemberSnippets": {
"enabled": true
},
"objectLiteralMethodSnippets": {
"enabled": true
}
},
"updateImportsOnFileMove": {
"enabled": "always"
}
}
} Workspace Details
Performance (last 3 000 entries)
Performance (total)
|
Having same issue. Was ok when project had just a few files, not it's getting almost unbearable (mac m1p). And it's not a very large project. I tried disabling various settings, but seems to have no effect Noticed the slowness is progressive. If I start vscode and load the project, it's fairly fast. But as time goes on becomes slower and slower. Maybe that's why some people cannot reproduce it, because they don't keep vscode open for weeks like others like me do :) |
I can see this as a huge reason for devs not to adopt Deno. The plugin makes it a bit painful for any decent size project. Not sure how to get some dev traction on this. @nayeemrmn ? |
I'm still experiencing very slow intellisense with this plugin. It's so laggy.
OS: MacOS 15.0 (M1 Mac Mini)
VSCode Extension: v3.42.0
Deno Version: v2.0.4
Cursor Version: v0.42.4
VSCode Version: v1.93.1
I'm running this with Cursor, but same deal with VSCode.
I notice that there was an issue about this #895 which was closed, but it seems like maybe it wasn't fixed?
Deno Language Server Status
Workspace Settings
Workspace Details
Documents in memory: 1067
Performance measures: 3000
<--- snip repeating ---->
<--- snip repeating ---->
<--- snip repeating ---->
<--- snip repeating ---->
<--- snip repeating ---->
<--- snip repeating ---->
<--- snip repeating ---->
Performance (last 3 000 entries)
Performance (total)
The text was updated successfully, but these errors were encountered: