Skip to content

Resolving modules and Intellisense Autocompletion pretty slow #16329

Description

@mjbvz

From ChiefORZ on May 30, 2017 11:28

  • VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:20:36.315Z)
  • OS Version: Windows_NT ia32 6.1.7601
  • Extensions:
ExtensionAuthorVersion
project-manageralefragnani0.18.0
one-monokaiazemoh0.2.4
npm-intellisensechristian-kohler1.3.0
path-intellisensechristian-kohler1.4.2
erbCraigMaslowski0.0.1
vscode-eslintdbaeumer1.2.11
githistorydonjayamanne0.2.0
gitlenseamodio3.5.1
EditorConfigEditorConfig0.9.3
prettier-vscodeesbenp0.17.1
vscode-console-wrapperfabiodam0.4.0
php-debugfelixfbecker1.10.0
sublime-babel-vscodejoshpeng0.2.5
atom-keybindingsms-vscode2.0.1
sort-importspeterjuras2.3.1
better-mergepprice0.7.0
code-settings-syncShan2.8.1
gitflowvector-of-bool1.1.0
vscode-react-nativevsmobile0.3.2
JavaScriptSnippetsxabikos1.4.0
ReactSnippetsxabikos1.3.0
Material-themezhuangtongfa2.8.1

Resolving modules and Intellisense Autocompletion in our Project takes a long time...

bq7zrobog0

Maybe this problem is a result of using absolute paths.
Here is our jsconfig.json of the project:

{
"compilerOptions": {
"target": "es6",
"module": "es6",
"baseUrl": "./", // all paths are relative to the baseUrl
"paths": {
"~/*" : ["*"] // resolve any `~/foo/bar` to `<baseUrl>/foo/bar`
}
},
"exclude": [
"api",
"build",
"node_modules",
"public",
"seeds",
"sql_updates",
"tests.build"
]
}

Can i somehow debug which directories VSCode is resolving to find my correct file.
And is there maybe a way to cache this resolved pathy specific for this IDE on my Client... to make the IDE not search my Filesystem every time - or do you plan on make this in the future

Copied from original issue: microsoft/vscode#27539

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions