vscode: IntelliSense extremely slow, unusable

Issue Type: Performance Issue

Tried disabling all extensions, doing a fresh install, and installing the Insider version. IntelliSense still takes more than 3 seconds to suggest anything, even taking more than 30 seconds to remove the red underline after changing some code quickly.

I have the same VS Code setup on my Windows machine (i7 7700K + 16GB RAM) and works perfectly, everything is instant as it should.

I don’t think it’s a hardware issue as this is a new MacBook Pro that I just bought, but I can’t figure out how to solve this and it’s driving me crazy.

I’m working on a Gatsby project and whenever I type anything, IntelliSense takes more than 3 seconds to suggest anything.

Slow IntelliSense demonstration

VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z) OS version: Darwin x64 18.5.0

System Info
Item Value
CPUs Intel® Core™ i5-8259U CPU @ 2.30GHz (8 x 2300)
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: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 1
Memory (System) 8.00GB (0.49GB free)
Process Argv -psn_0_254014
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   17	   106	   696	code main
    0	    90	   699	   gpu-process
    0	    82	   730	   shared-process
    0	   262	   756	   window (Hero.js — nare-web)
    0	     0	   757	     /bin/bash -l
    0	    41	   760	     watcherService
    0	    98	   761	     extensionHost
    0	   524	   795	       electron_node tsserver.js 
    0	    74	   797	         electron_node typingsInstaller.js typesMap.js 
    0	    74	   799	   window (Issue Reporter)
    0	     0	   800	   /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
Workspace Info
|  Window (Hero.js — nare-web)
|    Folder (nare-web): 567 files
|      File types: jpg(203) webp(135) json(124) js(78) png(14) DS_Store(3)
|                  md(1) prettierrc(1) gitignore(1) mp4(1)
|      Conf files: package.json(1);
Extensions (2)
Extension Author (truncated) Version
prettier-vscode esb 1.9.0
material-icon-theme PKi 3.7.0

(1 theme extensions excluded)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 5
  • Comments: 22 (3 by maintainers)

Most upvoted comments

@msallent yea, try using the 1.32.3 version, everything works fine there. I have no idea why it takes them soo long to fix this issue. It’s already like this for me since two weeks and it’s such an integral part of the software

Experiencing this as well — I have just installed VSCode (Version 1.33.1) on a brand new MacBook Pro (Mojave 10.14.4 (18E224)), and am editing SCSS style blocks inside single file Vue components. The only extension I have installed so far is Vetur.

For example, typing ml and then hitting tab should produce margin-left: ;, but I’m consistently getting margin: ; instead because its too slow to react to my keypress.

Have checked my settings, and the delay on IntelliSense was set to 10, but even changing this to 0 provides this very slow response. I am loving VSCode, but this feature is unusable for me at the moment, hope it gets fixed soon 👍

For what it is worth, the Code Insiders has gotten better over the last few days.

@mjbvz Not fixed here. VSC has been miserably slow since 1.32.

This sounds like https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34391#issuecomment-480126418. If you have @types/styled-components installed, please upgrade it to the latest version