Vscode: High CPU overload after update to VSCode 1.14.0

Created on 12 Jul 2017  ·  45Comments  ·  Source: microsoft/vscode

  • VSCode Version: 1.14.0
  • OS Version: macOS Sierra 10.12.5

Steps to Reproduce:

  1. Just open a project. (even without extensions) and Code Helper CPU usage goes too high.


Reproduces without extensions: Yes

Arguments of Code Helper process:

/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry --cancellationPipeName /var/folders/c_/gkwddkyn6vs5nkj9cyvf0m8w0000gn/T/vscode-tscancellation-aefeee28373a85d83ef1.sock* --npmLocation "/usr/local/bin/npm"

EDIT: Also, Code Helper will not quit after quitting VSCode. I have to force-kill everytime.

typescript

Most helpful comment

For anyone running into issues with the VSCode 1.14: you probably don't need to downgrade VSCode, just the TypeScript version. Here are the instructions on that. We previously shipped with TS 2.3.4 so you'll want to try installing that version locally and using it in your workspace


To help us investigate the CPU usage issue, please try collecting the TS Server log:

  1. Set "typescript.tsserver.log": "verbose"
  2. Restart VSCode
  3. Reproduce the issue
  4. Run the Open TSServer log File command and view the tsserver.log file

If you can share the ts log file I can take a look through them to see if anything stands out

⚠️Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

// fyi @rbuckton

All 45 comments

Ditto, 1.14 is absolutely murdering my CPU.

@timosaikkonen Could you check which process and with which arguments this is?

@onury 's command line shows the tsserver.

This is killing my productivity, absolutely unusable. Is there a way to switch to previous version until you release fix for this ?

@chrmarti Damn, didn't think to check that before downgrading. Having too chaotic a day to troubleshoot this further today but I suspect it's tsserver as well, since I'm working on TS projects too.

@csreddy You can grab the previous version from https://code.visualstudio.com/updates/v1_13

@timosaikkonen thank you!

Can confirm this is also happening on Windows 10. Strikes intermittently and some of the processes will chew about more than 25% of CPU locking up VS Code entirely for a minute or so.

For anyone running into issues with the VSCode 1.14: you probably don't need to downgrade VSCode, just the TypeScript version. Here are the instructions on that. We previously shipped with TS 2.3.4 so you'll want to try installing that version locally and using it in your workspace


To help us investigate the CPU usage issue, please try collecting the TS Server log:

  1. Set "typescript.tsserver.log": "verbose"
  2. Restart VSCode
  3. Reproduce the issue
  4. Run the Open TSServer log File command and view the tsserver.log file

If you can share the ts log file I can take a look through them to see if anything stands out

⚠️Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

// fyi @rbuckton

@mjbvz Having the same issue: vscode lagging and taking up to 25% CPU.
here is my TSlog: https://pastebin.com/MfP4viaV

@mjbvz downgrading typescript version to 2.3.4 fixes it for now.

same here, setting to use workspace version of typescript (2.3.4) didn't help

I'm having the same problem and was using the same TS version (2.2.1) as I was using with VSCode version 1.13.1, which does not exhibit this problem.

@St1c, @cameron-martin did you first kill Code Helper process?

I don't see any Code helper process when I quit Code. When I start it again - with use of workspace typescript (2.3.4) the CPU is still high

switching the ts workspace version back to 2.3.4 worked for me.

@St1c Could you open a new issue so we can investigate separately? (Use: Help > Report Issues to get things pre-filled.)

The workaround of disabling TypeScript Hero is discussed in https://github.com/Microsoft/vscode/issues/30486

Same here!
The interface becomes unresponsive for several seconds and I see
the process /usr/share/code/code using the 100% of the cpu.

GitHub Extension for Visual Studio version: not extensions
Visual Studio version: 1.14.0
I think it happens since the last update, I deactivated every plug-in but it keeps happening.

A new version of TypeScript Hero was released with a workaround to this problem. More information at https://github.com/buehler/typescript-hero/issues/242

Hi @mjbvz, looking through that log, I noticed that VSCode seems to be asking for "getApplicableRefactors" on the same file several times in a row. Is there a way to disable that feature in VSCode so we can see if it's related to the problem?
That said, we're taking over 20 seconds in getApplicableRefactors, so there's some problem on our end too.

Just venting for a second...I mentioned I had problems with high cpu and felt like it was pretty much ignored. I suspect that while I was using insiders, this was my problem all along. I really hope that when someone brings up cpu usage problems, the team will take them a little bit more seriously.

@andy-ms Not on its own but you can try a hack: with a workspace version of typescript, edit the node_modules/typescript/package.json version from 2.4.1 to 2.3.9. This will disable any features that are gated for 2.4, which is mainly the refactoring actions

Once people started listing their extensions in https://github.com/Microsoft/vscode/issues/30486 it became clear quickly which extension triggered this bug. For Insider versions, it is more difficult to get a critical mass of people reporting a problem. Selectively turning off extensions can get the same information, but since this problem was evident only sporadically on fast computers, the cycle time on getting information wasn't fast. People with slower computers were better in the role of canaries in the mine.

@MickeySegal The original post by @onury says this happened without extensions. I presume the same is true for @dotlouis's log.

Interesting. The problems in https://github.com/Microsoft/vscode/issues/30486 went away with disabling extensions. It seems like there is more than one cause to these CPU issues with VSCode 1.14.0

@MickeySegal Indeed, this one is about the TypeScript server which is unrelated to #30486. (Thanks for publishing your extension with a workaround!)

We have multiple threads here that are getting a bit conflated. And https://github.com/buehler gets the credit for posting a quick fix for bug that tripped up TypeScript Hero - my role was just to add a thread https://github.com/buehler/typescript-hero/issues/242 that I knew he'd see.

If you are seeing this issue and have confirmed that the Code Helper process with tsserver in the arguments is the one with high cpu usage: please share a project that consistently causes this problem. If you can't post the project publicly, you can also email it to me: matb AT microsoft.com


Based on @andy-ms' initial investigation, I've disabled refactoring with 6297536. We'll continue looking into the problem but the next VSCode insiders build will have refactoring disabled. Once that comes out, please give it a try to see if it resolves the issue

I am experiencing this high CPU load when I try to search in files (on Windows 10 x64). Reverted back to 1.13 for now (where I could not disable the auto update so need to keep one window alive to prevent the auto update).

@zfeher
"update.channel": "none"

but you can help to investigate the issue using 1,14

These two are killing my CPU. Happens when I open the home folder.
Problem has been there in the last two releases (that I know of)

148.3  7.8  4776876 1302328   ??  R    11:33am   1:36.01 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=searchService
102.2 10.2  4897348 1710032   ??  R    11:33am   2:49.81 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap --type=watcherService

@dmlemos Can you please open a new issue for the search service cpu usage? @roblourens can help you investigate this

@mjbvz I am confused. There were a couple issues that seem similar to this one that were closed.

  • #27133
  • #27131
  • #26726 - Problem with TypeScript. Issue was closed and I assume it is already on the latest release.

Please confirm.

"high cpu" is a very generic issue. Yours indicates an issue with the searchService which is different process than what we're talking about here.

Indeed. I only commented on one of the issues here. I have had always this issue since then.
My mistake for not putting into a new issue.

I will create a new one 😄

Windows 10 with plugins disabled on a Ryzen 1800x and a visual studio code process is taking up on average 8% CPU doing nothing at all. 1.14.2

I'm using macOS Sierra, and I always use 2 or 3 VSCode Windows at the same time. One for NodeJS project, another for Vue project. It's frequent that VSCode cause CPU high load, one Code and one Code Helper process has 60-70% CPU each.
I tried 1.14, 1.13, 1.12, 1.11, all are same.

But, in 1.9 it's fine, the problem never happened!

Sorry, 1.9 is same as others.
I try to reproduce the problem, and now things may be more clear.
I'm using Witch to switch applications/windows in current space. That seems to be the problem. Using system shortcut cmd+` or mouse click to switch windows is OK.

Tested in 1.9, 1.14 with steps below:

  1. Disable all extensions, then restart VSCode
  2. Open two VSCode windows(use File->New Window)
  3. Focus one window, then use witch to switch to another window. one Code process and one Code Helper process will have 80-100% CPU each.
  4. It keeps long time, unless I click the Help menu then CPU goes down(Other menus don't work)

In my case (OS X), turns out the Code Helper process that remained running after closing VSCode was stuck in an infinite recursive loop reading /Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/.... although I don't understand why it has any business scanning anything other than the project I told it to load.

stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Comic.sfrframe/Contents/Resources/we\0", 0x7FFF5486A460, 0x1000)      = 0 0
stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe\0", 0x7FFF5486AA10, 0x1000)      = 0 0
stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe\0", 0x7FFF5486A970, 0x1000)      = 0 0
open_nocancel("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe\0", 0x1100004, 0x110709D90)       = 27 0
fstatfs64(0x1B, 0x7FFF54869FA8, 0x110709D90)         = 0 0
getdirentries64(0x1B, 0x7FF418807C00, 0x1000)        = 88 0
getdirentries64(0x1B, 0x7FF418807C00, 0x1000)        = 0 0
close_nocancel(0x1B)         = 0 0
stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe/Contents\0", 0x7FFF5486A830, 0x1000)         = 0 0
stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe/Contents\0", 0x7FFF5486A790, 0x1000)         = 0 0

/Volumes/Macintosh HD is a symlink to / which probably causes the infinite loop (because stat() vs lstat()), but I feel it should not have gotten there (in /Volumes) in the first place.

Why do I keep getting these is this my account u all are marketing changes too

Sent from Yahoo Mail for iPhone

On Saturday, August 5, 2017, 13:55, Laurentiu Badea notifications@github.com wrote:

In my case (OS X), turns out the Code Helper process that remained running after closing VSCode was stuck in an infinite recursive loop reading /Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/.... although I don't understand why it has any business scanning anything other than the project I told it to load.

stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Comic.sfrframe/Contents/Resources/we\0", 0x7FFF5486A460, 0x1000) = 0 0
stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe\0", 0x7FFF5486AA10, 0x1000) = 0 0
stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe\0", 0x7FFF5486A970, 0x1000) = 0 0
open_nocancel("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe\0", 0x1100004, 0x110709D90) = 27 0
fstatfs64(0x1B, 0x7FFF54869FA8, 0x110709D90) = 0 0
getdirentries64(0x1B, 0x7FF418807C00, 0x1000) = 88 0
getdirentries64(0x1B, 0x7FF418807C00, 0x1000) = 0 0
close_nocancel(0x1B) = 0 0
stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe/Contents\0", 0x7FFF5486A830, 0x1000) = 0 0
stat64("Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Applications/Keynote.app/Contents/Resources/Frames/Crayon Line.sfrframe/Contents\0", 0x7FFF5486A790, 0x1000) = 0 0


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing this issue as we addressed the original issue with the TS server.

If you are still seeing CPU usage issues, please open a new issue and include the command line arguments of the process that is using up the CPU. There are multiple root causes of these sort of bugs so it's generally easier if we track each case in a separate issue

@laurb9 Does the folder you opened in VSCode have symlinks to outside folders? Could you open a new issue for this? (It looks like find might have ended in an error and you are seeing the in-node file traversal.)

@mjbvz can you tell me how is this addressed? I'm having the same problem with VSCode v1.14.2 and TypeScript v2.4.2 (both latest as of today). I cannot use it unless I downgrade TS to v2.3.4.

This issue is not resolved and should be re-opened.

@onury Please try VSCode 1.15 (the current insiders build) and collect the logs I've asked for. Without these, this issue is not actionable.

I closed the issue because there was no further confirmations of original TSServer issue in the past 20+ days and we fixed some bugs that could have been causing this. Without more information though, it was not possible to confirm if the original problem you reported had been addressed or not

@mjbvz Tested with VSCode v1.15 and TS v2.4.2
Still, tsserver hits the CPU around 120-130% on MacBookPro Quad-core 2,5 GHz Intel Core i7
Immediately calms down if I switch back to TS v2.3.4

Code Helper process args:

/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/out/utils/electronForkStart /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useSingleInferredProject --enableTelemetry --cancellationPipeName /var/folders/c_/gkwddkyn6vs5nkj9cyvf0m8w0000gn/T/vscode-tscancellation-6805e77755247eccd402.sock* --logVerbosity verbose --logFile /var/folders/c_/gkwddkyn6vs5nkj9cyvf0m8w0000gn/T/vscode-tsserver-log-fnT9Fc/tsserver.log --npmLocation "/usr/local/bin/npm"

TSServer Log (sensitive parts removed):

Info 0    Binding...
Info 1    request: {"seq":0,"type":"request","command":"configure","arguments":{"hostInfo":"vscode"}}
Info 2    Host information vscode
Info 3    response: {"seq":0,"type":"response","command":"configure","request_seq":0,"success":true}
Perf 4    0::configure: async elapsed time (in milliseconds) 0.9786
Info 5    request: {"seq":1,"type":"request","command":"compilerOptionsForInferredProjects","arguments":{"options":{"module":"CommonJS","target":"ES6","allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"allowJs":true,"jsx":"Preserve","checkJs":false}}}
Perf 6    1::compilerOptionsForInferredProjects: elapsed time (in milliseconds) 0.5113
Info 7    response: {"seq":0,"type":"response","command":"compilerOptionsForInferredProjects","request_seq":1,"success":true,"body":true}
Info 8    request: {"seq":2,"type":"request","command":"open","arguments":{"file":"/path/to/project/src/DataHandler.ts","fileContent":"/* tslint:disable:max-file-line-count */\n -- code removed -- ;\n","scriptKindName":"TS","projectRootPath":"/path/to/project"}}
Info 9    Search path: /path/to/project
Info 10   Config file name: /path/to/project/tsconfig.json
Info 11   Loading  from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js/../../.. (resolved to /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/node_modules)
Info 12   Failed to load module: {}
Info 13   Loading  from  (resolved to /path/to/project/node_modules)
Info 14   Failed to load module: {}
Info 15   Couldn't find  anywhere in paths: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js/../../..,
Info 16   Add recursive watcher for: /path/to/project
Info 17   Add recursive watcher for: /path/to/project/src
Info 18   Add type root watcher for: /path/to/project/node_modules/@types
Info 19   Add type root watcher for: /path/to/project/node_modules
Info 20   event: {"seq":0,"type":"event","event":"telemetry","body":{"telemetryEventName":"projectInfo","payload":{"projectId":"2fb40287a1c530b0f54464326c181626","fileStats":{"js":0,"jsx":0,"ts":19,"tsx":0,"dts":376},"compilerOptions":{"target":"es6","module":"commonjs","moduleResolution":"node","declaration":false,"removeComments":false,"noLib":false,"emitDecoratorMetadata":true,"experimentalDecorators":true,"lib":["es6","es6"],"sourceMap":true,"pretty":true,"allowUnreachableCode":false,"allowUnusedLabels":false,"allowJs":true,"noImplicitAny":false,"suppressImplicitAnyIndexErrors":true,"noImplicitReturns":true,"noImplicitUseStrict":false,"noFallthroughCasesInSwitch":true,"typeRoots":["",""],"types":[""],"outDir":""},"typeAcquisition":{"enable":false,"include":false,"exclude":false},"extends":false,"files":false,"include":true,"exclude":true,"compileOnSave":false,"configFileName":"tsconfig.json","projectType":"configured","languageServiceEnabled":true,"version":"2.4.2"}}}
Info 21   Opened configuration file /path/to/project/tsconfig.json
Info 22   Project '/path/to/project/tsconfig.json' (Configured) 0
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es5.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.reflect.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.proxy.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.promise.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.collection.d.ts
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.core.d.ts

-- list of 300 project files --

-----------------------------------------------
Open files: 
/path/to/project/src/DataHandler.ts
Info 23   event: {"seq":0,"type":"event","event":"configFileDiag","body":{"triggerFile":"/path/to/project/src/DataHandler.ts","configFile":"/path/to/project/tsconfig.json","diagnostics":[]}}
Perf 24   2::open: async elapsed time (in milliseconds) 1651.2050
Info 25   request: {"seq":3,"type":"request","command":"getSupportedCodeFixes","arguments":null}
Perf 26   3::getSupportedCodeFixes: elapsed time (in milliseconds) 0.2322
Info 27   response: {"seq":0,"type":"response","command":"getSupportedCodeFixes","request_seq":3,"success":true,"body":["1002","1003","1005","1006","1009","1010","1012","1014","1015","1016","1017","1018","1019","1020","1021","1022","1023","1024","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","1064","1066","1068","1070","1071","1079","1084","1085","1086","1089","1090","1091","1092","1093","1094","1095","1096","1097","1098","1099","1100","1101","1102","1103","1104","1105","1107","1108","1109","1110","1113","1114","1115","1116","1117","1118","1119","1120","1121","1122","1123","1124","1125","1126","1127","1128","1129","1130","1131","1132","1134","1135","1136","1137","1138","1139","1140","1141","1142","1144","1146","1147","1148","1149","1150","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","1196","1197","1198","1199","1200","1202","1203","1205","1206","1207","1208","1209","1210","1211","1212","1213","1214","1215","1216","1218","1219","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","1300","1308","1312","1313","1314","1315","1316","1317","1318","1319","1320","1321","1322","1323","1324","1325","1326","2300","2301","2302","2303","2304","2305","2306","2307","2308","2309","2310","2311","2312","2313","2314","2315","2316","2317","2318","2319","2320","2321","2322","2323","2324","2325","2326","2327","2328","2329","2330","2331","2332","2333","2334","2335","2336","2337","2338","2339","2340","2341","2342","2343","2344","2345","2346","2347","2348","2349","2350","2351","2352","2353","2354","2355","2356","2357","2358","2359","2360","2361","2362","2363","2364","2365","2366","2368","2369","2370","2371","2372","2373","2374","2375","2376","2377","2378","2379","2380","2381","2382","2383","2384","2385","2386","2387","2388","2389","2390","2391","2392","2393","2394","2395","2396","2397","2399","2400","2401","2402","2403","2404","2405","2406","2407","2408","2409","2410","2411","2412","2413","2414","2415","2417","2420","2422","2423","2424","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","2461","2462","2463","2464","2465","2466","2467","2468","2469","2470","2471","2472","2473","2474","2475","2476","2477","2478","2479","2480","2481","2483","2484","2487","2488","2489","2490","2491","2492","2493","2494","2495","2496","2497","2498","2499","2500","2501","2502","2503","2504","2505","2506","2507","2508","2509","2510","2511","2512","2513","2514","2515","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","2546","2547","2548","2549","2550","2551","2552","2553","2554","2555","2556","2557","2558","2559","2600","2601","2602","2603","2604","2605","2606","2607","2608","2609","2649","2651","2652","2653","2654","2656","2657","2658","2659","2660","2661","2662","2663","2664","2665","2666","2667","2668","2669","2670","2671","2672","2673","2674","2675","2676","2677","2678","2679","2680","2681","2682","2683","2684","2685","2686","2687","2688","2689","2691","2692","2693","2694","2695","2696","2697","2698","2699","2700","2701","2702","2703","2704","2705","2706","2707","2708","2709","2710","2711","2712","4000","4002","4004","4006","4008","4010","4012","4014","4016","4019","4020","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","4091","4092","4094","5001","5009","5010","5011","5012","5014","5023","5024","5033","5042","5047","5051","5052","5053","5054","5055","5056","5057","5058","5059","5060","5061","5062","5063","5064","5065","5066","5067","6044","6045","6046","6048","6049","6050","6051","6053","6054","6059","6064","6082","6103","6114","6129","6131","6133","6137","6138","6140","6142","6143","7005","7006","7008","7009","7010","7011","7013","7015","7016","7017","7018","7019","7020","7022","7023","7024","7025","7026","7027","7028","7029","7030","7031","7032","7033","7034","7035","7036","8000","8001","8002","8003","8004","8005","8006","8007","8008","8009","8010","8011","8012","8015","8016","8017","8018","9002","9003","9004","17000","17001","17002","17003","17004","17005","17006","17007","17008","17009","17010","17011","17012","17013","18000","18001","18002","18003","90009","90010"]}
Info 28   request: {"seq":4,"type":"request","command":"getApplicableRefactors","arguments":{"file":"/path/to/project/src/DataHandler.ts","startLine":485,"startOffset":35,"endLine":485,"endOffset":35}}
Perf 29   4::getApplicableRefactors: elapsed time (in milliseconds) 3.5957
Info 30   response: {"seq":0,"type":"response","command":"getApplicableRefactors","request_seq":4,"success":false,"message":"No content available."}
Info 31   request: {"seq":5,"type":"request","command":"getApplicableRefactors","arguments":{"file":"/path/to/project/src/DataHandler.ts","startLine":485,"startOffset":35,"endLine":485,"endOffset":35}}
Perf 32   5::getApplicableRefactors: elapsed time (in milliseconds) 0.4096
Info 33   response: {"seq":0,"type":"response","command":"getApplicableRefactors","request_seq":5,"success":false,"message":"No content available."}
Info 34   request: {"seq":6,"type":"request","command":"getApplicableRefactors","arguments":{"file":"/path/to/project/src/DataHandler.ts","startLine":485,"startOffset":35,"endLine":485,"endOffset":35}}
Perf 35   6::getApplicableRefactors: elapsed time (in milliseconds) 0.1264
Info 36   response: {"seq":0,"type":"response","command":"getApplicableRefactors","request_seq":6,"success":false,"message":"No content available."}
Info 37   request: {"seq":7,"type":"request","command":"geterr","arguments":{"delay":0,"files":["/path/to/project/src/DataHandler.ts"]}}
Perf 38   7::geterr: async elapsed time (in milliseconds) 0.9412
Info 39   request: {"seq":9,"type":"request","command":"getApplicableRefactors","arguments":{"file":"/path/to/project/src/DataHandler.ts","startLine":485,"startOffset":35,"endLine":485,"endOffset":35}}
Perf 40   9::getApplicableRefactors: elapsed time (in milliseconds) 0.1134
Info 41   response: {"seq":0,"type":"response","command":"getApplicableRefactors","request_seq":9,"success":false,"message":"No content available."}
Info 42   event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/path/to/project/src/DataHandler.ts","diagnostics":[]}}

@mjbvz this issue is still NOT resolved. I'm trying VSCode v1.17.2 with ts 2.5.3 - still the same. Cannot use it. So pls re-open or I'll have to open another duplicate issue.

edit: Although I've downgraded TS global installation and project dependency back to v2.3.4, I can no longer switch back to it within VSCode 1.17. Both VSCode TS version and workspace TS version shows 2.5.3

Was this page helpful?
0 / 5 - 0 ratings