Skip to content

Go extension stops responding after a while. #147075

@yirez-tc

Description

@yirez-tc

Issue Type: Bug

Installed fresh go 1.18, a new install of vscode with only the go extension. As I work, save and change files after a certain time (around 5-10 minutes) code suggestions and formatting stop working and vscode is stuck on saving with message "Getting code actions from Go". Go code related error messages become stuck in an old version and never update. Restarting the language server helps that static code anaylsis continues normally but I get no suggestions and formatting when this happens unless I restart VSCode completely.

Normal terminal go commands like build work fine. I can debug the code normally via vscode debug button even when errors seemingly exist (errors are still showing even after I fix them).

VS Code version: Code 1.66.1 (8dfae7a, 2022-04-06T14:50:12.141Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.74GB (16.75GB free)
Process Argv --crash-reporter-id 93ca2617-4f3f-4283-ad72-8b563a91835c
Screen Reader no
VM 0%
Extensions (2)
Extension Author (truncated) Version
go gol 0.32.0
back-n-forth nic 3.1.1
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebugcf:30466690
pynewfile477:30463512

Metadata

Metadata

Assignees

Labels

*caused-by-extensionIssue identified to be caused by an extension

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions