Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
After updating to the latest version of VSCode, it became pretty much unusable. I mainly work on web development, so that's all that I could speak on but things became measurably slower.
At idle it was consuming 45+% of CPU usage and ~1 GB RAM
Errors stopped dismissing/updating:

Suggestions/Intellisense stopped showing up (or took 3s+ to show up if at all):

Emmet/Tag autocomplete stopped functioning:

When I downgraded, it seemed to all go away, I tried reinstalling 3 times, everytime I selected the upgrade the problems came back. I also restarted VSCode and my computer multiple times. For now, I'm just staying at 1.32.3.
Please follow these instructions to collect performance information. Share the output of code --status
Could be https://github.com/Microsoft/TypeScript/issues/30663
code --status output:
Version: Code 1.33.0 (0dd516dd412d42323fc3464531b1c715d51c4c1a, 2019-04-04T15:14:28.026Z)
OS Version: Windows_NT x64 10.0.17763
CPUs: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)
Memory (System): 15.87GB (8.62GB free)
VM: 0%
Screen Reader: no
Process Argv:
GPU Status: 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
CPU % Mem MB PID Process
1 85 14656 code main
0 195 3560 window (Release Notes: 1.33.0 - leander.xyz - Visual Studio Code)
0 34 5616 searchService
0 14 7700 electron-crash-reporter
0 110 14692 extensionHost
0 53 5696 electron_node server.js
0 32 13164 "C:\Users\leand\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\leand\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\jsonServerMain" --node-ipc --clientProcessId=14692
0 73 13836 electron_node eslintServer.js
8 433 16508 electron_node tsserver.js
0 45 11968 electron_node typingsInstaller.js typesMap.js
0 11 15216 watcherService
0 11 10456 console-window-host (Windows internal process)
0 65 15688 shared-process
0 87 17900 gpu-process
0 88 18324 window (undefined)
Workspace Stats:
| Window (Release Notes: 1.33.0 - leander.xyz - Visual Studio Code)
| Folder (leander.xyz): 480 files
| File types: js(173) json(140) map(47) png(37) html(22) svg(12) md(11)
| gitkeep(9) yml(5) webmanifest(4)
| Conf files: package.json(3) settings.json(1)
I might be incorrectly identifying this as a performance issue, but it's definitely disabling the above features in the editor some how.
The related issue seemed to be a TypeScript, which I'm not using. I am using styled-components at ^4.1.3 though.
Thanks. Yes this is in all likelihood a duplicate of Microsoft/TypeScript#30663. Typescript also powers our JavaScript intellisense so this is the correct issue even though you are not writing typescript
Main fix
We have pushed a fix upstream to the @types file that triggered this issue.
TypeScript users should make sure they are pulling in the latest version of @types/styled-components (4.1.13) and that 4.1.0-4.1.12 are not in your project
If you are using JavaScript, you may to clear your automatic typings cache to clear the file that caused this from their cache. To do this, delete the typings typing cache file listed below and restart vscode:
~/Library/Caches/TypeScript/3.4%LOCALAPPDATA%\Microsoft\TypeScript\3.4~/.cache/typescript/3.4Other possible workarounds:
Downgrade your workspace to use [email protected] by following these instructions
Try to install @types/[email protected] into your workspace. See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34391 for more details
@mjbvz Thanks for this advice! rm -r ~/Library/Caches/TypeScript/3.4 (Mac) indeed solved the issue for me.
Clearing the cache and upgrading the styled-components types fixes the problem, but the performance is still really bad...
PS Downgrading TypeScript gives me the best result
I also have really bad performance after upgrading VS Code to 1.33
downgrading typescript to 3.3.3 solved this problem
problem solved by: npm install --save-dev [email protected] (which installed 3.3.4 into my workspace), then select the typescript version in the bottom of the vsc window and select "use workspace version 3.3.4"
Just upgraded to the latest version of VSCode and that workspace trick worked for me @ReaperTech
Eventually it would be nice to have a real solution to this instead of downgrading though :sweat_smile:
I'm glad it worked for you @Daniel-Griffiths ! Maybe they will fix in the next release.
problem also caused by extension "angular language service 0.1.11"
@ReaperTech solution worked perfectly for me! Thanks!
I have a nodejs project and a react project both suffering from this problem, although there's no typescript in any of them.
by doing only the following seemed to fix both problem. (didn't have to choose TS version.)
npm install --save-dev [email protected]
If don don't want to have to do this on a per-project basis, you can also install TypeScript 3.3 globally
yarn global add [email protected]
and then in your settings.json add the line
{
"typescript.tsdk": "~/.config/yarn/global/node_modules/typescript/lib/"
}
Thank you @mjbvz, worked for me!
Globally installing the next (dev) version of TypeScript (with npm i -g typescript@next),
and adding it to my settings solved the issue for me.
To add to your settings, go to preferences > settings, type tsdk, in User tab edit settings.json as suggested, add this line (if installed via npm, otherwise see @janosh's comment) :
"typescript.tsdk": "/usr/local/lib/node_modules/typescript/lib/",
And then in a TypeScript file, in the bottom right of the editor, click on the TypeScript version (like 3.x.x) and choose "Use VSCode's version (3.5.x)"
Most helpful comment
Thanks. Yes this is in all likelihood a duplicate of Microsoft/TypeScript#30663. Typescript also powers our JavaScript intellisense so this is the correct issue even though you are not writing typescript
Main fix
We have pushed a fix upstream to the
@typesfile that triggered this issue.TypeScript users should make sure they are pulling in the latest version of
@types/styled-components(4.1.13) and that 4.1.0-4.1.12 are not in your projectIf you are using JavaScript, you may to clear your automatic typings cache to clear the file that caused this from their cache. To do this, delete the typings typing cache file listed below and restart vscode:
~/Library/Caches/TypeScript/3.4%LOCALAPPDATA%\Microsoft\TypeScript\3.4~/.cache/typescript/3.4Other possible workarounds:
Downgrade your workspace to use
[email protected]by following these instructionsTry to install
@types/[email protected]into your workspace. See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34391 for more details