microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
99.3k stars 12.31k forks source link

New .ts files created in linked folders which are .gitignored - do not have intellisense #42839

Closed sweiss3 closed 3 years ago

sweiss3 commented 3 years ago

Issue Type: Bug TS Template added by @mjbvz

TypeScript Version: 4.2.0-insiders.20210210

Search Terms


  1. Create a TypeScript project
  2. Add a folder into a .gitignore
  3. Start VSCode
  4. Add a new .ts file into the previously mentioned folder

The new file won't have intellisense and it will not recognize any import statements to paths as configured in tsconfig.json.

Restarting VSCode and navigating back to the same file will get it to work properly.

VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z) OS version: Windows_NT x64 10.0.19042

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz (16 x 2400)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|63.73GB (44.83GB free)| |Process Argv|C:\\Rome-Defenders-Extension\\ExtTemplate\\..\\workspace.code-workspace --crash-reporter-id 36147b9c-7d35-4c17-8dd9-d36495a17db2| |Screen Reader|no| |VM|0%|
Extensions (9) Extension|Author (truncated)|Version ---|---|--- bracket-pair-colorizer|Coe|1.0.61 vscode-eslint|dba|2.1.14 make-hidden|dev|3.0.3 gitlens|eam|11.1.3 tslint|eg2|1.0.44 powershell|ms-|2020.6.0 autolaunch|phi|2.0.3 code-spell-checker|str|1.10.2 vscode-icons|vsc|11.1.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30211402 vstry244cf:30250196 pythonvsdeb440:30248342 pythonvsded773:30248341 pythonvspyt875:30251590 ```
mjbvz commented 3 years ago

What do you mean by not having Intellisense? Does any IntelliSense work, or is only cross-file Intellisense broken?

sweiss3 commented 3 years ago

Sorry, I'll try to clarify - it will not identify full paths, but works with relative ones.

So this would work as expected (1): import { Something } from "./MyImportFile";

But the following would complain about the entire path not existing (2): import { Something } from "ClientRoot/SomeFolder/MyImportFile";

After restarting VS code, (2) is also identified and working properly.

mjbvz commented 3 years ago

Can you please share a small example project that demonstrates the issue? For example, what does the tsconfig look like?

sweiss3 commented 3 years ago

I've created a repository to demonstrate the issue, you can clone it from here: https://github.com/sweiss3/vscode-116019-sample

There's also a readme depicting the exact scenario - and the issue happens when using symbolic links. I'm aware of the situation being quite obscure, but I'm afraid that's the setup my team is using :)

Copy-pasting the README here for convenience:


After cloning the repository, run setup.cmd (on Windows)

This will create a directory junction from Folder2 to Client\LinkToFolder2. Client\LinkToFolder2 is in .gitignore (as it's linking to a different place in the repository, so you don't want to have the same files twice)

Open VSCode Navigate to Client\LinkToFolder2 and open Module2.ts

You will see the import statement is valid. However, if you are to create a new file - Module3.ts right next to it, and add the exact same import statement - VSCode will complain that it cannot find the import.

If you restart VSCode and navigate back to Module3.ts, it will be just fine.


mjbvz commented 3 years ago

Thanks @sweiss3!

Looks like the new file ends up in different projects. TS Server log:

``` Info 0 [08:44:08.895] Starting TS Server Info 1 [08:44:08.896] Version: 4.2.0-insiders.20210210 Info 2 [08:44:08.896] Arguments: C:\Users\matb\projects\vscode\.build\electron\Code - OSS.exe c:\Users\matb\projects\vscode\extensions\node_modules\typescript\lib\tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName C:\Users\matb\AppData\Local\Temp\vscode-typescript\6090aac78894d06fb904\tscancellation-6c26827dfe6635d7afbb.tmp* --logVerbosity verbose --logFile c:\Users\matb\AppData\Roaming\code-oss-dev\logs\20210216T214744\exthost1\vscode.typescript-language-features\tsserver-log-2bC8Ji\tsserver.log --globalPlugins typescript-vscode-sh-plugin --pluginProbeLocations c:\Users\matb\projects\vscode\extensions\typescript-language-features --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation Info 3 [08:44:08.896] Platform: win32 NodeVersion: 12 CaseSensitive: false Info 4 [08:44:08.896] ServerMode: undefined syntaxOnly: false hasUnknownServerMode: undefined Info 5 [08:44:08.920] Binding... Info 6 [08:44:08.930] event: {"seq":0,"type":"event","event":"typingsInstallerPid","body":{"pid":8572}} Info 7 [08:44:08.935] request: {"seq":0,"type":"request","command":"configure","arguments":{"hostInfo":"vscode","preferences":{"providePrefixAndSuffixTextForRename":true,"allowRenameOfImportPath":true,"includePackageJsonAutoImports":"auto"},"watchOptions":{}}} Info 8 [08:44:08.935] Host information vscode Info 9 [08:44:08.935] Host watch options changed to undefined, it will be take effect for next watches. Info 10 [08:44:08.935] response: {"seq":0,"type":"response","command":"configure","request_seq":0,"success":true} Perf 11 [08:44:08.935] 0::configure: async elapsed time (in milliseconds) 0.6804 Info 12 [08:44:08.935] request: {"seq":1,"type":"request","command":"compilerOptionsForInferredProjects","arguments":{"options":{"module":"commonjs","target":"es2016","jsx":"preserve","strictFunctionTypes":true,"sourceMap":true,"allowJs":true,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"resolveJsonModule":true}}} Perf 13 [08:44:08.936] 1::compilerOptionsForInferredProjects: elapsed time (in milliseconds) 0.2843 Info 14 [08:44:08.936] response: {"seq":0,"type":"response","command":"compilerOptionsForInferredProjects","request_seq":1,"success":true,"body":true} Info 15 [08:44:08.936] request: {"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","fileContent":"import * as M from \"Folder1/Module1\";","projectRootPath":"c:\\Users\\matb\\projects\\san\\vscode-116019-sample","scriptKindName":"TS"}]}} Info 16 [08:44:08.937] Search path: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2 Info 17 [08:44:08.938] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: File added to open files impacted by this config file Info 18 [08:44:08.938] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/jsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: File added to open files impacted by this config file Info 19 [08:44:08.938] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: File added to open files impacted by this config file Info 20 [08:44:08.938] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/jsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: File added to open files impacted by this config file Info 21 [08:44:08.938] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: File added to open files impacted by this config file Info 22 [08:44:08.938] For info: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts :: Config file name: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Info 23 [08:44:08.939] Opened configuration file c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Info 24 [08:44:08.941] FileWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json 2000 undefined Project: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json WatchType: Config file Info 25 [08:44:08.942] event: {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json","reason":"Creating possible configured project for c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts to open"}} Info 26 [08:44:08.962] Config: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json : { "rootNames": [ "c:/Users/matb/projects/san/vscode-116019-sample/Client/Folder1/Module1.ts", "c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts" ], "options": { "baseUrl": "c:/Users/matb/projects/san/vscode-116019-sample/Client", "composite": true, "declaration": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "forceConsistentCasingInFileNames": true, "inlineSources": true, "jsx": 2, "module": 2, "moduleResolution": 2, "noEmitHelpers": true, "noImplicitAny": true, "noImplicitThis": true, "noUnusedLocals": true, "outDir": "c:/Users/matb/projects/san/vscode-116019-sample/Output/Content/Scripts", "paths": { "*": [ "*" ] }, "lib": [ "lib.dom.d.ts", "lib.es2015.d.ts", "lib.es2015.collection.d.ts", "lib.es2015.promise.d.ts", "lib.es2015.iterable.d.ts", "lib.es5.d.ts", "lib.scripthost.d.ts" ], "removeComments": false, "rootDir": "c:/Users/matb/projects/san/vscode-116019-sample/Client", "sourceMap": true, "strictBindCallApply": true, "target": 1, "types": [], "pathsBasePath": "c:/Users/matb/projects/san/vscode-116019-sample", "configFilePath": "c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json" } } Info 27 [08:44:08.963] DirectoryWatcher:: Added:: WatchInfo: c:/users/matb/projects/san/vscode-116019-sample/client 1 undefined Project: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json WatchType: Wild card directory Info 28 [08:44:08.964] c for path c:/users/matb/projects/san/vscode-116019-sample/client not found in cache... Info 29 [08:44:08.964] Starting C:\Users\matb\projects\vscode\.build\electron\Code - OSS.exe with args: ["c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/watchGuard.js","c:/users/matb/projects/san/vscode-116019-sample/client"] Info 30 [08:44:11.365] WatchGuard for path c:/users/matb/projects/san/vscode-116019-sample/client returned: OK Info 31 [08:44:11.368] Elapsed:: 2404.5261999964714ms DirectoryWatcher:: Added:: WatchInfo: c:/users/matb/projects/san/vscode-116019-sample/client 1 undefined Project: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json WatchType: Wild card directory Info 32 [08:44:11.369] Loading global plugin typescript-vscode-sh-plugin Info 33 [08:44:11.369] Enabling plugin typescript-vscode-sh-plugin from candidate paths: c:\Users\matb\projects\vscode\extensions\typescript-language-features,c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/tsserver.js/../../.. Info 34 [08:44:11.369] Loading typescript-vscode-sh-plugin from c:\Users\matb\projects\vscode\extensions\typescript-language-features (resolved to c:/Users/matb/projects/vscode/extensions/typescript-language-features/node_modules) Info 35 [08:44:11.388] typescript-vscode-sh-plugin initialized. Intercepting getEncodedSemanticClassifications and getEncodedSyntacticClassifications. Info 36 [08:44:11.388] Plugin validation succeded Info 37 [08:44:11.389] FileWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/Client/Folder1/Module1.ts 500 undefined Project: WatchType: Closed Script info Info 38 [08:44:11.391] Starting updateGraphWorker: Project: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Info 39 [08:44:11.402] DirectoryWatcher:: Added:: WatchInfo: c:/users/matb/projects/vscode/extensions/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them Info 40 [08:44:11.402] watchDirectory for c:/users/matb/projects/vscode/extensions/node_modules uses cached drive information. Info 41 [08:44:11.402] Elapsed:: 0.5353989973664284ms DirectoryWatcher:: Added:: WatchInfo: c:/users/matb/projects/vscode/extensions/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them Info 42 [08:44:12.657] Finishing updateGraphWorker: Project: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Version: 1 structureChanged: true Elapsed: 1266.1568000018597ms Info 43 [08:44:12.657] Project 'c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json' (Configured) Info 44 [08:44:12.660] Files (15) c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es5.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.dom.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.scripthost.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.core.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.collection.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.promise.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.proxy.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.reflect.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts c:/Users/matb/projects/san/vscode-116019-sample/Client/Folder1/Module1.ts c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts ../../vscode/extensions/node_modules/typescript/lib/lib.es5.d.ts Library referenced via 'es5' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library 'lib.es5.d.ts' specified in compilerOptions ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts Library 'lib.es2015.d.ts' specified in compilerOptions ../../vscode/extensions/node_modules/typescript/lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions ../../vscode/extensions/node_modules/typescript/lib/lib.scripthost.d.ts Library 'lib.scripthost.d.ts' specified in compilerOptions ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.core.d.ts Library referenced via 'es2015.core' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.collection.d.ts Library referenced via 'es2015.collection' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library 'lib.es2015.collection.d.ts' specified in compilerOptions ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts Library referenced via 'es2015.generator' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts Library referenced via 'es2015.iterable' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.iterable' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts' Library 'lib.es2015.iterable.d.ts' specified in compilerOptions ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.promise.d.ts Library referenced via 'es2015.promise' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library 'lib.es2015.promise.d.ts' specified in compilerOptions ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.proxy.d.ts Library referenced via 'es2015.proxy' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.reflect.d.ts Library referenced via 'es2015.reflect' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.d.ts Library referenced via 'es2015.symbol' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts' Library referenced via 'es2015.symbol' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.symbol' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts Library referenced via 'es2015.symbol.wellknown' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Client/Folder1/Module1.ts Matched by include pattern 'Client/**/*' in 'tsconfig.json' Imported via "Folder1/Module1" from file 'Client/LinkToFolder2/Module2.ts' Client/LinkToFolder2/Module2.ts Matched by include pattern 'Client/**/*' in 'tsconfig.json' Info 45 [08:44:12.660] ----------------------------------------------- Info 46 [08:44:12.663] event: {"seq":0,"type":"event","event":"projectLoadingFinish","body":{"projectName":"c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json"}} Info 47 [08:44:12.664] event: {"seq":0,"type":"event","event":"telemetry","body":{"telemetryEventName":"projectInfo","payload":{"projectId":"2a258baa9524511c0c741a32aa1a741418faa6ca48ba0146fda10f586c3fba44","fileStats":{"js":0,"jsSize":0,"jsx":0,"jsxSize":0,"ts":2,"tsSize":73,"tsx":0,"tsxSize":0,"dts":13,"dtsSize":1134968,"deferred":0,"deferredSize":0},"compilerOptions":{"baseUrl":"","composite":true,"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"forceConsistentCasingInFileNames":true,"inlineSources":true,"jsx":"react","module":"amd","moduleResolution":"node","noEmitHelpers":true,"noImplicitAny":true,"noImplicitThis":true,"noUnusedLocals":true,"outDir":"","paths":"","lib":["dom","es6","es2015.collection","es2015.promise","es2015.iterable","es5","scripthost"],"removeComments":false,"rootDir":"","sourceMap":true,"strictBindCallApply":true,"target":"es5","types":[]},"typeAcquisition":{"enable":false,"include":false,"exclude":false},"extends":false,"files":false,"include":true,"exclude":false,"compileOnSave":true,"configFileName":"tsconfig.json","projectType":"configured","languageServiceEnabled":true,"version":"4.2.0-insiders.20210210"}}} Info 48 [08:44:12.666] event: {"seq":0,"type":"event","event":"configFileDiag","body":{"triggerFile":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","configFile":"c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json","diagnostics":[]}} Info 49 [08:44:12.666] Search path: c:/Users/matb/projects/san/vscode-116019-sample Info 50 [08:44:12.666] For info: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json :: No config files found. Info 51 [08:44:12.667] Project 'c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json' (Configured) Info 51 [08:44:12.667] Files (15) Info 51 [08:44:12.667] ----------------------------------------------- Info 51 [08:44:12.667] Open files: Info 51 [08:44:12.667] FileName: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts ProjectRootPath: c:/Users/matb/projects/san/vscode-116019-sample Info 51 [08:44:12.667] Projects: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Perf 51 [08:44:12.667] 2::updateOpen: elapsed time (in milliseconds) 3730.9180 Info 52 [08:44:12.667] response: {"seq":0,"type":"response","command":"updateOpen","request_seq":2,"success":true,"performanceData":{"updateGraphDurationMs":1266.1568000018597},"body":true} Info 53 [08:44:12.675] request: {"seq":3,"type":"request","command":"projectInfo","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","needFileNameList":false}} Perf 54 [08:44:12.675] 3::projectInfo: elapsed time (in milliseconds) 0.3177 Info 55 [08:44:12.675] response: {"seq":0,"type":"response","command":"projectInfo","request_seq":3,"success":true,"body":{"configFileName":"c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json","languageServiceDisabled":false}} Info 56 [08:44:12.676] request: {"seq":4,"type":"request","command":"getSupportedCodeFixes","arguments":null} Perf 57 [08:44:12.676] 4::getSupportedCodeFixes: elapsed time (in milliseconds) 0.2195 Info 58 [08:44:12.676] response: {"seq":0,"type":"response","command":"getSupportedCodeFixes","request_seq":4,"success":true,"body":["2352","1375","1431","2345","2322","2678","2356","2362","2363","2736","2365","2367","2461","2495","2569","2549","2548","2488","2504","2339","2349","2351","2304","18004","2612","1329","7051","80004","80002","80006","80001","2713","1205","1371","2690","2420","2720","2552","2663","2662","2503","2686","2693","4111","2683","5086","5087","2551","2724","2769","2355","2741","2739","2740","2348","2307","7016","2515","2653","17009","2377","1219","17004","1378","1432","1312","2689","18016","1382","1381","6133","6196","6138","6192","6198","6199","6205","7027","7028","8020","2774","1308","1103","2610","2611","7034","7005","7006","7019","7033","7010","7032","7008","7046","7043","7044","7047","7048","7050","7049","7045","1064","1002","1003","1005","1006","1007","1009","1010","1011","1012","1013","1014","1015","1016","1017","1018","1019","1020","1021","1022","1023","1024","1025","1028","1029","1030","1031","1034","1035","1036","1038","1039","1040","1041","1042","1043","1044","1045","1046","1047","1048","1049","1051","1052","1053","1054","1055","1056","1057","1058","1059","1060","1061","1062","1063","1066","1068","1069","1070","1071","1079","1084","1085","1089","1090","1091","1092","1093","1094","1095","1096","1097","1098","1099","1100","1101","1102","1104","1105","1107","1108","1109","1110","1113","1114","1115","1116","1117","1118","1119","1120","1121","1123","1124","1125","1126","1127","1128","1129","1130","1131","1132","1134","1135","1136","1137","1138","1139","1140","1141","1142","1144","1146","1147","1148","1149","1155","1156","1157","1160","1161","1162","1163","1164","1165","1166","1168","1169","1170","1171","1172","1173","1174","1175","1176","1177","1178","1179","1180","1181","1182","1183","1184","1185","1186","1187","1188","1189","1190","1191","1192","1193","1194","1195","1196","1197","1198","1199","1200","1202","1203","1206","1207","1208","1210","1211","1212","1213","1214","1215","1216","1218","1220","1221","1222","1223","1224","1225","1226","1227","1228","1229","1230","1231","1232","1233","1234","1235","1236","1237","1238","1239","1240","1241","1242","1243","1244","1245","1246","1247","1248","1249","1250","1251","1252","1253","1254","1255","1257","1259","1260","1261","1262","1263","1264","1265","1266","1300","1313","1314","1315","1316","1317","1318","1319","1320","1321","1322","1323","1324","1325","1326","1327","1328","1330","1331","1332","1333","1334","1335","1336","1337","1338","1339","1340","1342","1343","1344","1345","1346","1347","1348","1349","1351","1352","1353","1354","1355","1356","1357","1358","1359","1360","1361","1362","1363","1379","1380","1383","1384","1385","1386","1387","1388","1389","1391","1392","2200","2201","2202","2203","2204","2205","2300","2301","2302","2303","2305","2306","2308","2309","2310","2311","2312","2313","2314","2315","2316","2317","2318","2319","2320","2321","2323","2324","2325","2326","2327","2328","2329","2330","2331","2332","2333","2334","2335","2336","2337","2338","2340","2341","2342","2343","2344","2346","2347","2350","2353","2354","2357","2358","2359","2360","2361","2364","2366","2368","2369","2370","2371","2372","2373","2374","2375","2376","2378","2379","2380","2381","2382","2383","2384","2385","2386","2387","2388","2389","2390","2391","2392","2393","2394","2395","2396","2397","2398","2399","2400","2401","2402","2403","2404","2405","2406","2407","2408","2409","2410","2411","2412","2413","2414","2415","2416","2417","2418","2419","2422","2423","2425","2426","2427","2428","2430","2431","2432","2433","2434","2435","2436","2437","2438","2439","2440","2441","2442","2443","2444","2445","2446","2447","2448","2449","2450","2451","2452","2453","2454","2455","2456","2457","2458","2459","2460","2462","2463","2464","2465","2466","2467","2468","2469","2470","2471","2472","2473","2474","2475","2476","2477","2478","2479","2480","2481","2483","2484","2487","2489","2490","2491","2492","2493","2494","2496","2497","2498","2499","2500","2501","2502","2505","2506","2507","2508","2509","2510","2511","2512","2513","2514","2516","2517","2518","2519","2520","2521","2522","2523","2524","2525","2526","2527","2528","2529","2530","2531","2532","2533","2534","2535","2536","2537","2538","2539","2540","2541","2542","2543","2544","2545","2547","2550","2553","2554","2555","2556","2557","2558","2559","2560","2561","2562","2563","2564","2565","2566","2567","2571","2572","2573","2574","2575","2576","2577","2578","2580","2581","2582","2583","2584","2585","2586","2587","2588","2589","2590","2591","2592","2593","2594","2595","2596","2597","2598","2600","2601","2602","2603","2604","2605","2606","2607","2608","2609","2613","2614","2615","2616","2617","2618","2619","2620","2621","2623","2624","2625","2626","2627","2649","2651","2652","2654","2656","2657","2658","2659","2660","2661","2664","2665","2666","2667","2668","2669","2670","2671","2672","2673","2674","2675","2676","2677","2679","2680","2681","2682","2684","2685","2687","2688","2691","2692","2694","2695","2696","2697","2698","2699","2700","2701","2702","2703","2704","2705","2706","2707","2708","2709","2710","2711","2712","2714","2715","2716","2717","2718","2719","2721","2722","2723","2725","2726","2727","2729","2730","2731","2732","2733","2734","2735","2737","2742","2743","2744","2745","2746","2747","2748","2749","2750","2751","2752","2753","2754","2755","2756","2757","2758","2759","2760","2761","2762","2763","2764","2765","2766","2767","2768","2770","2771","2772","2773","2775","2776","2777","2778","2779","2780","2781","2783","2784","2785","2786","2787","2788","2789","2790","2791","2792","2793","2794","2795","2796","2797","2798","2799","2800","4000","4002","4004","4006","4008","4010","4012","4014","4016","4019","4020","4021","4022","4023","4024","4025","4026","4027","4028","4029","4030","4031","4032","4033","4034","4035","4036","4037","4038","4039","4040","4041","4042","4043","4044","4045","4046","4047","4048","4049","4050","4051","4052","4053","4054","4055","4056","4057","4058","4059","4060","4061","4062","4063","4064","4065","4066","4067","4068","4069","4070","4071","4072","4073","4074","4075","4076","4077","4078","4081","4082","4083","4084","4090","4091","4092","4094","4095","4096","4097","4098","4099","4100","4101","4102","4103","4104","4105","4106","4107","4108","4109","4110","5001","5009","5010","5012","5014","5023","5024","5025","5033","5042","5047","5048","5051","5052","5053","5054","5055","5056","5057","5058","5059","5061","5062","5063","5064","5065","5066","5067","5068","5069","5070","5071","5072","5073","5074","5075","5076","5077","5078","5079","5080","5081","5082","5083","5084","5085","5088","5089","5090","5091","6044","6045","6046","6048","6049","6050","6051","6053","6054","6059","6064","6082","6103","6114","6131","6137","6140","6142","6188","6189","6200","6202","6229","6230","6231","6232","6233","6234","6236","6238","6304","6305","6306","6307","6308","6309","6310","6369","6370","6377","6379","6504","6803","7009","7011","7013","7014","7015","7017","7018","7020","7022","7023","7024","7025","7026","7029","7030","7031","7035","7036","7039","7040","7041","7042","7052","7053","7054","7055","7056","7057","8000","8001","8002","8003","8004","8005","8006","8008","8009","8010","8011","8012","8013","8016","8017","8018","8021","8022","8023","8024","8025","8026","8027","8028","8029","8030","8031","8032","8033","8034","9002","9003","9004","9005","9006","17000","17001","17002","17003","17005","17006","17007","17008","17010","17011","17012","17013","17014","17015","17016","17017","17018","18000","18001","18002","18003","18006","18007","18009","18010","18011","18012","18013","18014","18015","18017","18018","18019","18022","18023","18024","18026","18027","18028","18029","18030","18031","18032","18033","18035","80005","80003","80008","80007"]} Info 59 [08:44:12.677] request: {"seq":16,"type":"request","command":"encodedSemanticClassifications-full","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","start":0,"length":37}} Perf 60 [08:44:12.678] 16::encodedSemanticClassifications-full: elapsed time (in milliseconds) 0.6270 Info 61 [08:44:12.678] response: {"seq":0,"type":"response","command":"encodedSemanticClassifications-full","request_seq":16,"success":true,"body":{"spans":[],"endOfLineState":0}} Info 62 [08:44:12.678] request: {"seq":17,"type":"request","command":"getApplicableRefactors","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","startLine":1,"startOffset":1,"endLine":1,"endOffset":38}} Perf 63 [08:44:12.751] 17::getApplicableRefactors: elapsed time (in milliseconds) 72.5018 Info 64 [08:44:12.751] response: {"seq":0,"type":"response","command":"getApplicableRefactors","request_seq":17,"success":true,"body":[{"name":"Convert import","description":"Convert namespace import to named imports","actions":[{"name":"Convert namespace import to named imports","description":"Convert namespace import to named imports","kind":"refactor.rewrite.import.named"}]}]} Info 65 [08:44:12.966] request: {"seq":18,"type":"request","command":"configure","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","formatOptions":{"tabSize":4,"indentSize":4,"convertTabsToSpaces":true,"newLineCharacter":"\n","insertSpaceAfterCommaDelimiter":true,"insertSpaceAfterConstructor":false,"insertSpaceAfterSemicolonInForStatements":true,"insertSpaceBeforeAndAfterBinaryOperators":true,"insertSpaceAfterKeywordsInControlFlowStatements":true,"insertSpaceAfterFunctionKeywordForAnonymousFunctions":true,"insertSpaceBeforeFunctionParenthesis":false,"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis":false,"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets":false,"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces":true,"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces":true,"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces":false,"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces":false,"insertSpaceAfterTypeAssertion":false,"placeOpenBraceOnNewLineForFunctions":false,"placeOpenBraceOnNewLineForControlBlocks":false,"semicolons":"ignore"},"preferences":{"quotePreference":"auto","importModuleSpecifierEnding":"auto","allowTextChangesInNewFiles":true,"providePrefixAndSuffixTextForRename":true,"allowRenameOfImportPath":true,"includeAutomaticOptionalChainCompletions":true,"provideRefactorNotApplicableReason":true,"generateReturnInDocTemplate":true}}} Info 66 [08:44:12.966] Host configuration update for file c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Info 67 [08:44:12.966] response: {"seq":0,"type":"response","command":"configure","request_seq":18,"success":true} Perf 68 [08:44:12.966] 18::configure: async elapsed time (in milliseconds) 0.4748 Info 69 [08:44:12.994] request: {"seq":19,"type":"request","command":"geterr","arguments":{"delay":0,"files":["c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts"]}} Perf 70 [08:44:12.995] 19::geterr: async elapsed time (in milliseconds) 0.7732 Info 71 [08:44:12.999] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[]}} Info 72 [08:44:13.007] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":38},"text":"'M' is declared but its value is never read.","code":6133,"category":"error","reportsUnnecessary":true}]}} Info 73 [08:44:13.025] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[]}} Info 74 [08:44:13.025] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":19}} Info 75 [08:44:13.346] request: {"seq":20,"type":"request","command":"getApplicableRefactors","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","startLine":1,"startOffset":1,"endLine":1,"endOffset":38}} Perf 76 [08:44:13.347] 20::getApplicableRefactors: elapsed time (in milliseconds) 1.2826 Info 77 [08:44:13.347] response: {"seq":0,"type":"response","command":"getApplicableRefactors","request_seq":20,"success":true,"body":[{"name":"Convert export","description":"Convert default export to named export","actions":[{"name":"Convert default export to named export","description":"Convert default export to named export","kind":"refactor.rewrite.export.named","notApplicableReason":"This file already has a default export"},{"name":"Convert named export to default export","description":"Convert named export to default export","kind":"refactor.rewrite.export.default","notApplicableReason":"This file already has a default export"}]},{"name":"Convert import","description":"Convert namespace import to named imports","actions":[{"name":"Convert namespace import to named imports","description":"Convert namespace import to named imports","kind":"refactor.rewrite.import.named"}]},{"name":"Convert to optional chain expression","description":"Convert to optional chain expression","actions":[{"name":"Convert to optional chain expression","description":"Convert to optional chain expression","kind":"refactor.rewrite.expression.optionalChain","notApplicableReason":"Could not find convertible access expression"}]},{"name":"Extract Symbol","description":"Extract function","actions":[{"name":"Extract Function","description":"Extract function","kind":"refactor.extract.function","notApplicableReason":"Cannot extract import statement."}]},{"name":"Extract Symbol","description":"Extract constant","actions":[{"name":"Extract Constant","description":"Extract constant","kind":"refactor.extract.constant","notApplicableReason":"Cannot extract import statement."}]},{"name":"Extract type","description":"Extract type","actions":[{"name":"Extract to typedef","description":"Extract to typedef","kind":"refactor.extract.typedef","notApplicableReason":"Selection is not a valid type node"},{"name":"Extract to type alias","description":"Extract to type alias","kind":"refactor.extract.type","notApplicableReason":"Selection is not a valid type node"},{"name":"Extract to interface","description":"Extract to interface","kind":"refactor.extract.interface","notApplicableReason":"Selection is not a valid type node"}]},{"name":"Generate 'get' and 'set' accessors","description":"Generate 'get' and 'set' accessors","actions":[{"name":"Generate 'get' and 'set' accessors","description":"Generate 'get' and 'set' accessors","kind":"refactor.rewrite.property.generateAccessors","notApplicableReason":"Could not find property for which to generate accessor"}]},{"name":"Move to a new file","description":"Move to a new file","actions":[{"name":"Move to a new file","description":"Move to a new file","kind":"refactor.move.newFile","notApplicableReason":"Selection is not a valid statement or statements"}]},{"name":"Add or remove braces in an arrow function","description":"Add or remove braces in an arrow function","actions":[{"name":"Add braces to arrow function","description":"Add braces to arrow function","kind":"refactor.rewrite.arrow.braces.add","notApplicableReason":"Could not find a containing arrow function"},{"name":"Remove braces from arrow function","description":"Remove braces from arrow function","kind":"refactor.rewrite.arrow.braces.remove","notApplicableReason":"Could not find a containing arrow function"}]},{"name":"Convert to template string","description":"Convert to template string","actions":[{"name":"Convert to template string","description":"Convert to template string","kind":"refactor.rewrite.string","notApplicableReason":"Can only convert string concatenation"}]},{"name":"Infer function return type","description":"Infer function return type","actions":[{"name":"Infer function return type","description":"Infer function return type","kind":"refactor.rewrite.function.returnType","notApplicableReason":"Return type must be inferred from a function"}]}]} Info 78 [08:44:13.347] request: {"seq":21,"type":"request","command":"getCodeFixes","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","startLine":1,"startOffset":1,"endLine":1,"endOffset":38,"errorCodes":[6133]}} Perf 79 [08:44:13.350] 21::getCodeFixes: elapsed time (in milliseconds) 2.2315 Info 80 [08:44:13.350] response: {"seq":0,"type":"response","command":"getCodeFixes","request_seq":21,"success":true,"body":[{"fixName":"unusedIdentifier","description":"Remove import from 'Folder1/Module1'","changes":[{"fileName":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":38},"newText":""}]}]}]} Info 81 [08:44:13.724] request: {"seq":22,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","fileContent":"","projectRootPath":"c:\\Users\\matb\\projects\\san\\vscode-116019-sample","scriptKindName":"TS"}]}} Info 82 [08:44:13.725] Search path: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2 Info 83 [08:44:13.725] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts,c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts Status: File added to open files impacted by this config file Info 84 [08:44:13.725] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/jsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts,c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts Status: File added to open files impacted by this config file Info 85 [08:44:13.725] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts,c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts Status: File added to open files impacted by this config file Info 86 [08:44:13.725] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/jsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts,c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts Status: File added to open files impacted by this config file Info 87 [08:44:13.725] ConfigFilePresence:: Current Watches: Config file:: File: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts,c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts Status: File added to open files impacted by this config file Info 88 [08:44:13.725] For info: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts :: Config file name: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Info 89 [08:44:13.726] event: {"seq":0,"type":"event","event":"configFileDiag","body":{"triggerFile":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","configFile":"c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json","diagnostics":[]}} Info 90 [08:44:13.727] Loading global plugin typescript-vscode-sh-plugin Info 91 [08:44:13.727] Enabling plugin typescript-vscode-sh-plugin from candidate paths: c:\Users\matb\projects\vscode\extensions\typescript-language-features,c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/tsserver.js/../../.. Info 92 [08:44:13.727] Loading typescript-vscode-sh-plugin from c:\Users\matb\projects\vscode\extensions\typescript-language-features (resolved to c:/Users/matb/projects/vscode/extensions/typescript-language-features/node_modules) Info 93 [08:44:13.729] typescript-vscode-sh-plugin initialized. Intercepting getEncodedSemanticClassifications and getEncodedSyntacticClassifications. Info 94 [08:44:13.729] Plugin validation succeded Info 95 [08:44:13.730] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/tsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Open file was set as Inferred root Info 96 [08:44:13.730] FileWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/tsconfig.json 2000 undefined Project: WatchType: Config file for the inferred project root Info 97 [08:44:13.731] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/tsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Updated the callback Info 98 [08:44:13.731] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Open file was set as Inferred root Info 99 [08:44:13.731] FileWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/jsconfig.json 2000 undefined Project: WatchType: Config file for the inferred project root Info 100 [08:44:13.731] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Updated the callback Info 101 [08:44:13.731] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/tsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Open file was set as Inferred root Info 102 [08:44:13.731] FileWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/Client/tsconfig.json 2000 undefined Project: WatchType: Config file for the inferred project root Info 103 [08:44:13.731] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/tsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Updated the callback Info 104 [08:44:13.731] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Open file was set as Inferred root Info 105 [08:44:13.731] FileWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/Client/jsconfig.json 2000 undefined Project: WatchType: Config file for the inferred project root Info 106 [08:44:13.731] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Updated the callback Info 107 [08:44:13.731] ConfigFilePresence:: Current Watches: Config file:: File: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts Status: Open file was set as Inferred root Info 108 [08:44:13.731] ConfigFilePresence:: Current Watches: :: File: c:/Users/matb/projects/san/vscode-116019-sample/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: Status: Open file was set as Inferred root Info 109 [08:44:13.732] FileWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/jsconfig.json 2000 undefined Project: WatchType: Config file for the inferred project root Info 110 [08:44:13.732] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: Status: Updated the callback Info 111 [08:44:13.732] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info 112 [08:44:14.197] DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info 113 [08:44:14.197] watchDirectory for c:/Users/matb/projects/san/vscode-116019-sample/node_modules/@types uses cached drive information. Info 114 [08:44:14.198] Elapsed:: 0.723300002515316ms DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info 115 [08:44:14.198] DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info 116 [08:44:14.198] watchDirectory for c:/Users/matb/projects/san/node_modules/@types uses cached drive information. Info 117 [08:44:14.198] Elapsed:: 0.18580100685358047ms DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info 118 [08:44:14.198] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true Elapsed: 466.50239999592304ms Info 119 [08:44:14.198] Project '/dev/null/inferredProject1*' (Inferred) Info 120 [08:44:14.199] Files (19) c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es5.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2016.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.dom.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.dom.iterable.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.webworker.importscripts.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.scripthost.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.core.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.collection.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.promise.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.proxy.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.reflect.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2016.array.include.d.ts c:/Users/matb/projects/vscode/extensions/node_modules/typescript/lib/lib.es2016.full.d.ts c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts ../../vscode/extensions/node_modules/typescript/lib/lib.es5.d.ts Library referenced via 'es5' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts Library referenced via 'es2015' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2016.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2016.d.ts Library referenced via 'es2016' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2016.full.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.dom.d.ts Library referenced via 'dom' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2016.full.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.dom.iterable.d.ts Library referenced via 'dom.iterable' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2016.full.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.webworker.importscripts.d.ts Library referenced via 'webworker.importscripts' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2016.full.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2016.full.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.core.d.ts Library referenced via 'es2015.core' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.collection.d.ts Library referenced via 'es2015.collection' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts Library referenced via 'es2015.generator' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts Library referenced via 'es2015.iterable' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.iterable' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.promise.d.ts Library referenced via 'es2015.promise' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.proxy.d.ts Library referenced via 'es2015.proxy' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.reflect.d.ts Library referenced via 'es2015.reflect' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.d.ts Library referenced via 'es2015.symbol' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts' Library referenced via 'es2015.symbol' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' Library referenced via 'es2015.symbol' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts Library referenced via 'es2015.symbol.wellknown' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2015.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2016.array.include.d.ts Library referenced via 'es2016.array.include' from file '../../vscode/extensions/node_modules/typescript/lib/lib.es2016.d.ts' ../../vscode/extensions/node_modules/typescript/lib/lib.es2016.full.d.ts Default library for target 'es2016' Client/LinkToFolder2/x.ts Root file specified for compilation Info 121 [08:44:14.200] ----------------------------------------------- Info 122 [08:44:14.200] Project 'c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json' (Configured) Info 122 [08:44:14.200] Files (15) Info 122 [08:44:14.200] ----------------------------------------------- Info 122 [08:44:14.200] Project '/dev/null/inferredProject1*' (Inferred) Info 122 [08:44:14.200] Files (19) Info 122 [08:44:14.200] ----------------------------------------------- Info 122 [08:44:14.200] Open files: Info 122 [08:44:14.200] FileName: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts ProjectRootPath: c:/Users/matb/projects/san/vscode-116019-sample Info 122 [08:44:14.200] Projects: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Info 122 [08:44:14.200] FileName: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts ProjectRootPath: c:/Users/matb/projects/san/vscode-116019-sample Info 122 [08:44:14.200] Projects: /dev/null/inferredProject1* Perf 122 [08:44:14.200] 22::updateOpen: elapsed time (in milliseconds) 476.4765 Info 123 [08:44:14.200] response: {"seq":0,"type":"response","command":"updateOpen","request_seq":22,"success":true,"performanceData":{"updateGraphDurationMs":466.50239999592304},"body":true} Info 124 [08:44:14.201] request: {"seq":23,"type":"request","command":"projectInfo","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","needFileNameList":false}} Perf 125 [08:44:14.201] 23::projectInfo: elapsed time (in milliseconds) 0.1010 Info 126 [08:44:14.201] response: {"seq":0,"type":"response","command":"projectInfo","request_seq":23,"success":true,"body":{"configFileName":"/dev/null/inferredProject1*","languageServiceDisabled":false}} Info 127 [08:44:14.201] request: {"seq":24,"type":"request","command":"encodedSemanticClassifications-full","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","start":0,"length":0}} Perf 128 [08:44:14.202] 24::encodedSemanticClassifications-full: elapsed time (in milliseconds) 0.1970 Info 129 [08:44:14.202] response: {"seq":0,"type":"response","command":"encodedSemanticClassifications-full","request_seq":24,"success":true,"body":{"spans":[],"endOfLineState":0}} Info 130 [08:44:14.205] request: {"seq":25,"type":"request","command":"geterr","arguments":{"delay":0,"files":["c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts"]}} Perf 131 [08:44:14.205] 25::geterr: async elapsed time (in milliseconds) 0.1992 Info 132 [08:44:14.222] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[]}} Info 133 [08:44:14.224] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[]}} Info 134 [08:44:14.225] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[]}} Info 135 [08:44:14.238] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[]}} Info 136 [08:44:14.239] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":38},"text":"'M' is declared but its value is never read.","code":6133,"category":"error","reportsUnnecessary":true}]}} Info 137 [08:44:14.240] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[]}} Info 138 [08:44:14.240] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":25}} Info 139 [08:44:15.029] request: {"seq":26,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","textChanges":[{"newText":"import * as M from \"Folder1/Module1\";","start":{"line":1,"offset":1},"end":{"line":1,"offset":1}}]}],"closedFiles":[],"openFiles":[]}} Perf 140 [08:44:15.029] 26::updateOpen: elapsed time (in milliseconds) 0.5702 Info 141 [08:44:15.029] response: {"seq":0,"type":"response","command":"updateOpen","request_seq":26,"success":true,"body":true} Info 142 [08:44:15.030] request: {"seq":27,"type":"request","command":"encodedSemanticClassifications-full","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","start":0,"length":37}} Info 143 [08:44:15.030] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info 144 [08:44:15.043] DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/Client 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 145 [08:44:15.043] watchDirectory for c:/Users/matb/projects/san/vscode-116019-sample/Client uses cached drive information. Info 146 [08:44:15.044] Elapsed:: 0.5921999961137772ms DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/Client 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 147 [08:44:15.044] DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 148 [08:44:15.044] watchDirectory for c:/Users/matb/projects/san/vscode-116019-sample/node_modules uses cached drive information. Info 149 [08:44:15.045] Elapsed:: 0.2664000019431114ms DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 150 [08:44:15.045] DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 151 [08:44:15.045] watchDirectory for c:/Users/matb/projects/san/node_modules uses cached drive information. Info 152 [08:44:15.045] Elapsed:: 0.2133990004658699ms DirectoryWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 153 [08:44:15.049] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true Elapsed: 18.712600000202656ms Info 154 [08:44:15.049] Different program with same set of files:: structureIsReused:: 1 Perf 155 [08:44:15.049] 27::encodedSemanticClassifications-full: elapsed time (in milliseconds) 19.2804 Info 156 [08:44:15.049] response: {"seq":0,"type":"response","command":"encodedSemanticClassifications-full","request_seq":27,"success":true,"performanceData":{"updateGraphDurationMs":18.712600000202656},"body":{"spans":[],"endOfLineState":0}} Info 157 [08:44:15.187] request: {"seq":28,"type":"request","command":"configure","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","formatOptions":{"tabSize":4,"indentSize":4,"convertTabsToSpaces":true,"newLineCharacter":"\n","insertSpaceAfterCommaDelimiter":true,"insertSpaceAfterConstructor":false,"insertSpaceAfterSemicolonInForStatements":true,"insertSpaceBeforeAndAfterBinaryOperators":true,"insertSpaceAfterKeywordsInControlFlowStatements":true,"insertSpaceAfterFunctionKeywordForAnonymousFunctions":true,"insertSpaceBeforeFunctionParenthesis":false,"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis":false,"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets":false,"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces":true,"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces":true,"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces":false,"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces":false,"insertSpaceAfterTypeAssertion":false,"placeOpenBraceOnNewLineForFunctions":false,"placeOpenBraceOnNewLineForControlBlocks":false,"semicolons":"ignore"},"preferences":{"quotePreference":"auto","importModuleSpecifierEnding":"auto","allowTextChangesInNewFiles":true,"providePrefixAndSuffixTextForRename":true,"allowRenameOfImportPath":true,"includeAutomaticOptionalChainCompletions":true,"provideRefactorNotApplicableReason":true,"generateReturnInDocTemplate":true}}} Info 158 [08:44:15.187] Host configuration update for file c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts Info 159 [08:44:15.187] response: {"seq":0,"type":"response","command":"configure","request_seq":28,"success":true} Perf 160 [08:44:15.187] 28::configure: async elapsed time (in milliseconds) 0.3754 Info 161 [08:44:15.189] request: {"seq":29,"type":"request","command":"getApplicableRefactors","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","startLine":1,"startOffset":38,"endLine":1,"endOffset":38}} Perf 162 [08:44:15.189] 29::getApplicableRefactors: elapsed time (in milliseconds) 0.6952 Info 163 [08:44:15.189] response: {"seq":0,"type":"response","command":"getApplicableRefactors","request_seq":29,"success":true,"body":[{"name":"Convert export","description":"Convert default export to named export","actions":[{"name":"Convert default export to named export","description":"Convert default export to named export","kind":"refactor.rewrite.export.named","notApplicableReason":"This file already has a default export"},{"name":"Convert named export to default export","description":"Convert named export to default export","kind":"refactor.rewrite.export.default","notApplicableReason":"This file already has a default export"}]},{"name":"Convert import","description":"Convert namespace import to named imports","actions":[{"name":"Convert namespace import to named imports","description":"Convert namespace import to named imports","kind":"refactor.rewrite.import.named","notApplicableReason":"Selection is not an import declaration."}]},{"name":"Convert import","description":"Convert named imports to namespace import","actions":[{"name":"Convert named imports to namespace import","description":"Convert named imports to namespace import","kind":"refactor.rewrite.import.namespace","notApplicableReason":"Selection is not an import declaration."}]},{"name":"Extract Symbol","description":"Extract function","actions":[{"name":"Extract Function","description":"Extract function","kind":"refactor.extract.function","notApplicableReason":"Cannot extract empty range."}]},{"name":"Extract Symbol","description":"Extract constant","actions":[{"name":"Extract Constant","description":"Extract constant","kind":"refactor.extract.constant","notApplicableReason":"Cannot extract empty range."}]},{"name":"Extract type","description":"Extract type","actions":[{"name":"Extract to typedef","description":"Extract to typedef","kind":"refactor.extract.typedef","notApplicableReason":"Selection is not a valid type node"},{"name":"Extract to type alias","description":"Extract to type alias","kind":"refactor.extract.type","notApplicableReason":"Selection is not a valid type node"},{"name":"Extract to interface","description":"Extract to interface","kind":"refactor.extract.interface","notApplicableReason":"Selection is not a valid type node"}]},{"name":"Generate 'get' and 'set' accessors","description":"Generate 'get' and 'set' accessors","actions":[{"name":"Generate 'get' and 'set' accessors","description":"Generate 'get' and 'set' accessors","kind":"refactor.rewrite.property.generateAccessors","notApplicableReason":"Could not find property for which to generate accessor"}]},{"name":"Move to a new file","description":"Move to a new file","actions":[{"name":"Move to a new file","description":"Move to a new file","kind":"refactor.move.newFile","notApplicableReason":"Selection is not a valid statement or statements"}]},{"name":"Add or remove braces in an arrow function","description":"Add or remove braces in an arrow function","actions":[{"name":"Add braces to arrow function","description":"Add braces to arrow function","kind":"refactor.rewrite.arrow.braces.add","notApplicableReason":"Could not find a containing arrow function"},{"name":"Remove braces from arrow function","description":"Remove braces from arrow function","kind":"refactor.rewrite.arrow.braces.remove","notApplicableReason":"Could not find a containing arrow function"}]},{"name":"Convert to template string","description":"Convert to template string","actions":[{"name":"Convert to template string","description":"Convert to template string","kind":"refactor.rewrite.string","notApplicableReason":"Can only convert string concatenation"}]},{"name":"Infer function return type","description":"Infer function return type","actions":[{"name":"Infer function return type","description":"Infer function return type","kind":"refactor.rewrite.function.returnType","notApplicableReason":"Return type must be inferred from a function"}]}]} Info 164 [08:44:15.246] request: {"seq":30,"type":"request","command":"geterr","arguments":{"delay":0,"files":["c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts"]}} Perf 165 [08:44:15.246] 30::geterr: async elapsed time (in milliseconds) 0.1910 Info 166 [08:44:15.261] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[]}} Info 167 [08:44:15.263] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[{"start":{"line":1,"offset":20},"end":{"line":1,"offset":37},"text":"Cannot find module 'Folder1/Module1' or its corresponding type declarations.","code":2307,"category":"error"}]}} Info 168 [08:44:15.264] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":38},"text":"'M' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}} Info 169 [08:44:15.279] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[]}} Info 170 [08:44:15.279] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":38},"text":"'M' is declared but its value is never read.","code":6133,"category":"error","reportsUnnecessary":true}]}} Info 171 [08:44:15.280] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts","diagnostics":[]}} Info 172 [08:44:15.280] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":30}} Info 173 [08:44:15.601] request: {"seq":31,"type":"request","command":"getApplicableRefactors","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","startLine":1,"startOffset":38,"endLine":1,"endOffset":38}} Perf 174 [08:44:15.602] 31::getApplicableRefactors: elapsed time (in milliseconds) 0.6680 Info 175 [08:44:15.602] response: {"seq":0,"type":"response","command":"getApplicableRefactors","request_seq":31,"success":true,"body":[{"name":"Convert export","description":"Convert default export to named export","actions":[{"name":"Convert default export to named export","description":"Convert default export to named export","kind":"refactor.rewrite.export.named","notApplicableReason":"This file already has a default export"},{"name":"Convert named export to default export","description":"Convert named export to default export","kind":"refactor.rewrite.export.default","notApplicableReason":"This file already has a default export"}]},{"name":"Convert import","description":"Convert namespace import to named imports","actions":[{"name":"Convert namespace import to named imports","description":"Convert namespace import to named imports","kind":"refactor.rewrite.import.named","notApplicableReason":"Selection is not an import declaration."}]},{"name":"Convert import","description":"Convert named imports to namespace import","actions":[{"name":"Convert named imports to namespace import","description":"Convert named imports to namespace import","kind":"refactor.rewrite.import.namespace","notApplicableReason":"Selection is not an import declaration."}]},{"name":"Extract Symbol","description":"Extract function","actions":[{"name":"Extract Function","description":"Extract function","kind":"refactor.extract.function","notApplicableReason":"Cannot extract empty range."}]},{"name":"Extract Symbol","description":"Extract constant","actions":[{"name":"Extract Constant","description":"Extract constant","kind":"refactor.extract.constant","notApplicableReason":"Cannot extract empty range."}]},{"name":"Extract type","description":"Extract type","actions":[{"name":"Extract to typedef","description":"Extract to typedef","kind":"refactor.extract.typedef","notApplicableReason":"Selection is not a valid type node"},{"name":"Extract to type alias","description":"Extract to type alias","kind":"refactor.extract.type","notApplicableReason":"Selection is not a valid type node"},{"name":"Extract to interface","description":"Extract to interface","kind":"refactor.extract.interface","notApplicableReason":"Selection is not a valid type node"}]},{"name":"Generate 'get' and 'set' accessors","description":"Generate 'get' and 'set' accessors","actions":[{"name":"Generate 'get' and 'set' accessors","description":"Generate 'get' and 'set' accessors","kind":"refactor.rewrite.property.generateAccessors","notApplicableReason":"Could not find property for which to generate accessor"}]},{"name":"Move to a new file","description":"Move to a new file","actions":[{"name":"Move to a new file","description":"Move to a new file","kind":"refactor.move.newFile","notApplicableReason":"Selection is not a valid statement or statements"}]},{"name":"Add or remove braces in an arrow function","description":"Add or remove braces in an arrow function","actions":[{"name":"Add braces to arrow function","description":"Add braces to arrow function","kind":"refactor.rewrite.arrow.braces.add","notApplicableReason":"Could not find a containing arrow function"},{"name":"Remove braces from arrow function","description":"Remove braces from arrow function","kind":"refactor.rewrite.arrow.braces.remove","notApplicableReason":"Could not find a containing arrow function"}]},{"name":"Convert to template string","description":"Convert to template string","actions":[{"name":"Convert to template string","description":"Convert to template string","kind":"refactor.rewrite.string","notApplicableReason":"Can only convert string concatenation"}]},{"name":"Infer function return type","description":"Infer function return type","actions":[{"name":"Infer function return type","description":"Infer function return type","kind":"refactor.rewrite.function.returnType","notApplicableReason":"Return type must be inferred from a function"}]}]} Info 176 [08:44:15.602] request: {"seq":32,"type":"request","command":"getCodeFixes","arguments":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","startLine":1,"startOffset":1,"endLine":1,"endOffset":38,"errorCodes":[6133]}} Perf 177 [08:44:15.602] 32::getCodeFixes: elapsed time (in milliseconds) 0.3848 Info 178 [08:44:15.602] response: {"seq":0,"type":"response","command":"getCodeFixes","request_seq":32,"success":true,"body":[{"fixName":"unusedIdentifier","description":"Remove import from 'Folder1/Module1'","changes":[{"fileName":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":38},"newText":""}]}]}]} Info 179 [08:44:17.954] request: {"seq":33,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts"],"openFiles":[]}} Info 180 [08:44:17.955] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/tsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: Status: File removed from open files impacted by this config file Info 181 [08:44:17.955] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: Status: File removed from open files impacted by this config file Info 182 [08:44:17.955] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/tsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: Status: File removed from open files impacted by this config file Info 183 [08:44:17.955] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/Client/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: Status: File removed from open files impacted by this config file Info 184 [08:44:17.955] ConfigFilePresence:: Current Watches: Config file:: File: c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: Status: File removed from open files impacted by this config file Info 185 [08:44:17.955] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: c:/Users/matb/projects/san/vscode-116019-sample/jsconfig.json Currently impacted open files: RootsOfInferredProjects: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts OtherOpenFiles: Status: File removed from open files impacted by this config file Info 186 [08:44:17.955] FileWatcher:: Added:: WatchInfo: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/Module2.ts 500 undefined Project: WatchType: Closed Script info Info 187 [08:44:17.955] Project 'c:/Users/matb/projects/san/vscode-116019-sample/tsconfig.json' (Configured) Info 187 [08:44:17.955] Files (15) Info 187 [08:44:17.955] ----------------------------------------------- Info 187 [08:44:17.955] Project '/dev/null/inferredProject1*' (Inferred) Info 187 [08:44:17.955] Files (19) Info 187 [08:44:17.955] ----------------------------------------------- Info 187 [08:44:17.955] Open files: Info 187 [08:44:17.955] FileName: c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts ProjectRootPath: c:/Users/matb/projects/san/vscode-116019-sample Info 187 [08:44:17.955] Projects: /dev/null/inferredProject1* Perf 187 [08:44:17.955] 33::updateOpen: elapsed time (in milliseconds) 1.4170 Info 188 [08:44:17.955] response: {"seq":0,"type":"response","command":"updateOpen","request_seq":33,"success":true,"body":true} Info 189 [08:44:17.966] request: {"seq":34,"type":"request","command":"geterr","arguments":{"delay":0,"files":["c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts"]}} Perf 190 [08:44:17.967] 34::geterr: async elapsed time (in milliseconds) 0.3533 Info 191 [08:44:17.980] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[]}} Info 192 [08:44:17.981] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[{"start":{"line":1,"offset":20},"end":{"line":1,"offset":37},"text":"Cannot find module 'Folder1/Module1' or its corresponding type declarations.","code":2307,"category":"error"}]}} Info 193 [08:44:17.981] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"c:/Users/matb/projects/san/vscode-116019-sample/Client/LinkToFolder2/x.ts","diagnostics":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":38},"text":"'M' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}} Info 194 [08:44:17.981] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":34}} ```
RyanCavanaugh commented 3 years ago

@sheetalkamat this looks like a duplicate of the symlink issue we discussed last week, can you dupe?

RyanCavanaugh commented 3 years ago

@mjbvz let's talk about symlinked paths next week at sync

sheetalkamat commented 3 years ago

Looked at this and in this example the root cause isnt similar to #37630 which is what @RyanCavanaugh and myself discussed last week. What happens here is that the directory watcher isn't invoked for the LinkedFolder2 but Folder2. So when this happens our cache of directory structure is only invalidated for Folder2 but not LinkedFolder2 which where it isnt aware of file Module3 in that folder so seems like something we probably can handle in cache which need to be investigated. Probably fix for this would to not cache directory structures for symlinked folders.

Note that root files for this project are picked up LinkedFolder2 and not the actual disk location.

Info 298  [12:21:38.930] DirectoryWatcher:: Triggered with c:/temp/vscode-116019-sample/folder2/Module3.ts :: WatchInfo: c:/temp/vscode-116019-sample/folder2 1 undefined Project: c:/temp/vscode-116019-sample/tsconfig.json WatchType: Wild card directory
Info 299  [12:21:38.931] Scheduled: c:/temp/vscode-116019-sample/tsconfig.json
Info 300  [12:21:38.931] Scheduled: *ensureProjectForOpenFiles*
Info 301  [12:21:38.931] Elapsed:: 1.0710999965667725ms DirectoryWatcher:: Triggered with c:/temp/vscode-116019-sample/folder2/Module3.ts :: WatchInfo: c:/temp/vscode-116019-sample/folder2 1 undefined Project: c:/temp/vscode-116019-sample/tsconfig.json WatchType: Wild card directory
lyonb96 commented 1 month ago

I'm facing what appears to be the same problem - TS version 5.1.6, VS code version is 1.90.1. I have a Remix project with a tsconfig.json file at its root. Inside its /app folder is a plugins folder, which is gitignored and contains symlinks to other modules of the codebase. If I create a new file inside one of those symlinked directories, I get no autocomplete or Intellisense recommendations for imports, and any JSX gives me a Cannot find name React. If I mouse over the Typescript config at the bottom right of VS Code, it correctly detects the Typescript version from the Remix project's node_modules folder, but indicates that there is no tsconfig.json file. If I restart the Typescript server, the issue is resolved - the tsconfig.json file is detected correctly, the JSX errors go away, and imports work as expected.

RyanCavanaugh commented 1 month ago

Please open a new issue after testing against latest (TypeScript 5.5). This issue is over three years old.