Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode's intellisense gets super slow in a Yarn Workspaces project #74588

Closed
lffg opened this issue May 29, 2019 · 3 comments
Closed

VSCode's intellisense gets super slow in a Yarn Workspaces project #74588

lffg opened this issue May 29, 2019 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues javascript JavaScript support issues typescript Typescript support issues

Comments

@lffg
Copy link

lffg commented May 29, 2019

Issue Type: Bug

My VSCode intellisense gets super slow while I'm coding in a project that is using a Yarn Workspaces and @types/styled-components. I've already updated all the @types dependecies but it still slow.

I've recorded a video to show how slow it is:

https://www.youtube.com/watch?v=ibHDE5jHw4M

Node that it has to reload when I've deleted the "theme" prop.

Some notes

I have this sc-theme.d.ts file (maybe this file is causing the issues...?):

import theme from '../src/providers/Theme/theme'

type ThemeInterface = typeof theme

declare module 'styled-components' {
  // eslint-disable-next-line import/prefer-default-export
  export interface DefaultTheme extends ThemeInterface {}
}

If you want more info, please help me know.

Thanks in advance. :)


VS Code version: Code 1.34.0 (a622c65, 2019-05-15T21:59:22.738Z)
OS version: Darwin x64 18.5.0

System Info
Item Value
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, 2
Memory (System) 16.00GB (5.18GB free)
Process Argv .
Screen Reader no
VM 0%
Extensions (14)
Extension Author (truncated) Version
emojisense bie 0.5.1
path-intellisense chr 1.4.2
bracket-pair-colorizer Coe 1.0.61
vscode-eslint dba 1.9.0
prettier-vscode esb 1.9.0
auto-rename-tag for 0.0.15
vscode-styled-components jpo 0.0.26
edge luo 0.3.2
dotenv mik 1.0.1
vscode-docker Pet 0.6.2
material-icon-theme PKi 3.8.0
code-settings-sync Sha 3.2.9
highlight-matching-tag vin 0.9.2
vscode-wakatime Wak 2.1.2

(1 theme extensions excluded)

@mjbvz mjbvz self-assigned this May 30, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented May 30, 2019

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

@lffg
Copy link
Author

lffg commented May 30, 2019

No. The insiders build with no extensions (and with them) works absolutely fine. Nice new icon, by the way. :)

@mjbvz
Copy link
Collaborator

mjbvz commented May 30, 2019

Thanks for verifying

Closing this as a duplicate of microsoft/TypeScript#30819

@mjbvz mjbvz closed this as completed May 30, 2019
@mjbvz mjbvz added *duplicate Issue identified as a duplicate of another issue(s) freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues javascript JavaScript support issues typescript Typescript support issues labels May 30, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues javascript JavaScript support issues typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

2 participants