microsoft / vscode-go

An extension for VS Code which provides support for the Go language. We have moved to https://github.com/golang/vscode-go
Other
5.93k stars 648 forks source link

Visual Studio Code freezes while browsing code. #3189

Closed abhishekkrm closed 4 years ago

abhishekkrm commented 4 years ago

Issue Type: Bug

The system was fine, but last few days its freezing a lot while browsing and editing the file. MAC OS : ProductName: Mac OS X ProductVersion: 10.15.3 BuildVersion: 19D76

VSCODE: 1.44.2

VSCODE-GO: 0.14.1

Extension version: 0.14.1 VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T17:07:18.473Z) OS version: Darwin x64 19.3.0

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled| |Load (avg)|64, 25, 10| |Memory (System)|16.00GB (4.86GB free)| |Process Argv|-psn_0_118813| |Screen Reader|no| |VM|0%|
hyangah commented 4 years ago

Can you please run Preferences: Open Settings (JSON) command to open your settings.json file and share all the settings with the go. or ["go"] prefixes?

And, did you experience the same issue when using the go extension 0.13.x ? (You can test and downgrade the extension version from the extension view -> click the gear button for the Go extension -> choose "Install Another Version.." )

abhishekkrm commented 4 years ago

@hyangah Thank for the information I don't see any go specific settings.

OpenSettings

{ "window.zoomLevel": -1, }

I reverted it to 0.13.0 so far no issue will update here if observe hang/freeze again.

stamblerre commented 4 years ago

This sounds like https://github.com/microsoft/vscode-go/issues/3178, so maybe you can try the temporary workaround that @hyangah suggested there - adding "[go]": { "editor.codeLens": false } to your settings.

stamblerre commented 4 years ago

Duplicate of #3178

stamblerre commented 4 years ago

Let's continue the discussion on #3178.