-
Notifications
You must be signed in to change notification settings - Fork 645
expected declaration, found ... #3191
Comments
Thank you for the report and the logs. Unfortunately it's a bit difficult to understand what went wrong because the logs are not verbose. In the future, you can add the settings listed here to get more detailed logs. A few questions: Does this happen to you frequently or was it just this one time? Is there any way to reproduce the issue? Was this a newly-created file or an existing one? |
Yes, in the last week or two, quite often.
it's happens randomly.
It was existing file. I have disable all settings at the moment at except, lets see if i can trigger same behaviour with almost default settings "go.useLanguageServer": true,
"go.languageServerFlags": [
"-rpc.trace",
"serve",
"--debug=localhost:6060",
], |
New case. Once i disabled Go extension, everything stopped. Despite having 12 cores, my computer barely worked. I am not aware of what is triggering spawning "pgrep" processes. |
That sounds like #3189 and #3178. Thanks for sharing the |
ok. so... i was able to replicate the issue.
We have spikes in Repeating this procedure few times. Yep, it's triggering "Save..." dialog issue, and spawning a few thousand I switched the lint tool to simple |
The |
Thanks, @stamblerre! This saved me from temporarily switching to a different editor! |
Duplicate of #3178 |
Please answer these questions before submitting your issue. Thanks!
gopls
log,main.go
andsettings.json
can be found in https://gist.github.com/butuzov/9c658702ccb8944a9b2fdddd0d1bdc77What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gogo version go1.14.2 darwin/amd64
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders1.44.2
ff915844119ce9485abfe8aa9076ec76b5300ddd
x64
0.14.1
go env GOOS GOARCH
to get the operating system and processor architecture details- darwin
- amd64
Share the Go related settings you have added/edited
See settings.json in gist (settings edited out, and left only ones related to GO)
Describe the bug
inserted by format tool, but i can't. it's just doesn't work.
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
Once restarted, problem gone.
The text was updated successfully, but these errors were encountered: