Skip to content
/ vscode-go Public
  • Notifications
  • Fork 721
  • Star 3.7k
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.

Sign up for GitHub

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

Already on GitHub? Sign in to your account

Jump to bottom

get stuck at: Setting up workspace: Loading packages... #2052

Closed
liaodalin19903 opened this issue Feb 7, 2022 · 4 comments
Closed

get stuck at: Setting up workspace: Loading packages... #2052

liaodalin19903 opened this issue Feb 7, 2022 · 4 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Untriaged

Comments

@liaodalin19903
Copy link

liaodalin19903 commented Feb 7, 2022

Issue Type: Bug

get stuck at: Setting up workspace: Loading packages...

Extension version: 0.31.0
VS Code version: Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.76GB (1.66GB free)
Process Argv --crash-reporter-id 68c1d7ca-8ac5-4718-8f00-83a7f7abd04d
Screen Reader no
VM 33%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30425749
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30433059
pythonvs932:30410667
wslgetstartedc:30433508
vs360:30404995
vsrem710cf:30416617

image

===

the gopls(server) trace infomation is below:

[Trace - 11:44:19.122 AM] Sending request 'initialize - (0)'.
Params: {"processId":27440,"clientInfo":{"name":"Visual Studio Code","version":"1.64.0"},"locale":"zh-cn","rootPath":"d:\\Users\\80361576\\Desktop\\ma\\demo\\golang\\hello_go","rootUri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true}},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"codeLens":{"refreshSupport":true},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true,"semanticTokens":{"refreshSupport":true},"fileOperations":{"dynamicRegistration":true,"didCreate":true,"didRename":true,"didDelete":true,"willCreate":true,"willRename":true,"willDelete":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"insertTextModeSupport":{"valueSet":[1,2]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"honorsChangeAnnotations":false},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1,"honorsChangeAnnotations":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}},"multilineTokenSupport":false,"overlappingTokenSupport":false},"linkedEditingRange":{"dynamicRegistration":true}},"window":{"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"showDocument":{"support":true},"workDoneProgress":true},"general":{"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"markdown":{"parser":"marked","version":"1.1.0"}}},"initializationOptions":{},"trace":"off","workspaceFolders":[{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go","name":"hello_go"}]}


[Trace - 11:44:19.126 AM] Received response 'initialize - (0)' in 4ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."],"completionItem":{}},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.apply_fix","gopls.check_upgrades","gopls.gc_details","gopls.generate","gopls.generate_gopls_mod","gopls.go_get_package","gopls.list_known_packages","gopls.regenerate_cgo","gopls.remove_dependency","gopls.run_tests","gopls.start_debugging","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.workspace_metadata"]},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"path\":\"golang.org/x/tools/gopls\",\"version\":\"v0.7.5\",\"sum\":\"h1:8Az52YwcFXTWPvrRomns1C0N+zlgTyyPKWvRazO9GG8=\",\"deps\":[{\"path\":\"github.com/BurntSushi/toml\",\"version\":\"v0.4.1\",\"sum\":\"h1:GaI7EiDXDRfa8VshkTj7Fym7ha+y8/XxIgD2okUIjLw=\"},{\"path\":\"github.com/google/go-cmp\",\"version\":\"v0.5.6\",\"sum\":\"h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=\"},{\"path\":\"github.com/sergi/go-diff\",\"version\":\"v1.1.0\",\"sum\":\"h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\"},{\"path\":\"golang.org/x/mod\",\"version\":\"v0.5.1\",\"sum\":\"h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38=\"},{\"path\":\"golang.org/x/sync\",\"version\":\"v0.0.0-20210220032951-036812b2e83c\",\"sum\":\"h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=\"},{\"path\":\"golang.org/x/sys\",\"version\":\"v0.0.0-20211019181941-9d821ace8654\",\"sum\":\"h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0=\"},{\"path\":\"golang.org/x/text\",\"version\":\"v0.3.7\",\"sum\":\"h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=\"},{\"path\":\"golang.org/x/tools\",\"version\":\"v0.1.9-0.20220114220130-fd7798718afd\",\"sum\":\"h1:lTnuArxJC+n54TyvWUPyHhrnGxYvhSi13/aM2Ndr4bs=\"},{\"path\":\"golang.org/x/xerrors\",\"version\":\"v0.0.0-20200804184101-5ec99f83aff1\",\"sum\":\"h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=\"},{\"path\":\"honnef.co/go/tools\",\"version\":\"v0.2.1\",\"sum\":\"h1:/EPr//+UMMXwMTkXvCCoaJDq8cpjMO80Ou+L4PDo2mY=\"},{\"path\":\"mvdan.cc/gofumpt\",\"version\":\"v0.1.1\",\"sum\":\"h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA=\"},{\"path\":\"mvdan.cc/xurls/v2\",\"version\":\"v2.3.0\",\"sum\":\"h1:59Olnbt67UKpxF1EwVBopJvkSUBmgtb468E4GVWIZ1I=\"}]}"}}


[Trace - 11:44:19.132 AM] Sending notification 'initialized'.
Params: {}


[Trace - 11:44:19.132 AM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go","languageId":"go","version":1,"text":"package main\r\n\r\nimport \"fmt\"\r\n\r\ntype Person struct {\r\n\t// \r\n\tname string \"java\"\r\n\tage int 1\r\n\tsex bool \r\n\thobby []string\r\n}\r\n\r\n\r\nfunc (p Person)Eat() {\r\n\tfmt.Println(\"eat...\")\r\n}\r\n\r\n\r\nfunc main() {\r\n\r\n\tjames := Person{} \r\n\tjames.name = \"james1\"\r\n\r\n\tfmt.Println(james.name)\r\n\r\n\r\n\t//get_home(&james)\r\n}\r\n\r\nfunc get_home(p *Person){\r\n\tfmt.Println(p.name)\r\n\t//fmt.Println(\"%s ,go home\", p.name)\r\n}\r\n\r\ntype Coder struct {\r\n\t// Person\r\n\tPerson\r\n\r\n\tlangs []string \r\n\r\n}\r\n\r\nfunc (c *Coder)make_code(){\r\n\t//fmt.Println(\"%\", c.name)\r\n}\r\n\r\n\r\n\r\n"}}


[Trace - 11:44:19.132 AM] Received request 'window/workDoneProgress/create - (1)'.
Params: {"token":"5577006791947779410"}


[Trace - 11:44:19.133 AM] Sending response 'window/workDoneProgress/create - (1)' in 1ms.
Result: 


[Trace - 11:44:19.133 AM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 11:44:19.133 AM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///D:/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go","section":"gopls"}]}


[Trace - 11:44:19.137 AM] Sending response 'workspace/configuration - (2)' in 4ms.
Result: [{}]


[Trace - 11:44:19.151 AM] Sending request 'textDocument/documentSymbol - (1)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}


[Trace - 11:44:19.152 AM] Sending request 'textDocument/documentLink - (2)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}


[Trace - 11:44:19.216 AM] Sending notification '$/setTrace'.
Params: {"value":"off"}


[Trace - 11:44:19.386 AM] Sending request 'textDocument/foldingRange - (3)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}


[Trace - 11:44:19.388 AM] Sending request 'textDocument/codeLens - (4)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}


[Trace - 11:44:20.378 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/02/08 11:44:20 go env for D:\\Users\\80361576\\Desktop\\ma\\demo\\golang\\hello_go\n(root D:\\Users\\80361576\\Desktop\\ma\\demo\\golang\\hello_go)\n(go version go version go1.17.6 windows/amd64)\n(valid build configuration = true)\n(build flags: [])\nGO111MODULE=\nGOMOD=D:\\Users\\80361576\\Desktop\\ma\\demo\\golang\\hello_go\\go.mod\nGOMODCACHE=D:\\Users\\80361576\\go\\pkg\\mod\nGONOPROXY=\nGOPROXY=https://proxy.golang.org,direct\nGOCACHE=D:\\Users\\80361576\\AppData\\Local\\go-build\nGOROOT=D:\\Program Files\\Go\nGOPRIVATE=\nGOSUMDB=sum.golang.org\nGOINSECURE=\nGONOSUMDB=\nGOPATH=D:\\Users\\80361576\\go\nGOFLAGS=\n\n"}


[Info  - 11:44:20] 2022/02/08 11:44:20 go env for D:\Users\80361576\Desktop\ma\demo\golang\hello_go
(root D:\Users\80361576\Desktop\ma\demo\golang\hello_go)
(go version go version go1.17.6 windows/amd64)
(valid build configuration = true)
(build flags: [])
GO111MODULE=
GOMOD=D:\Users\80361576\Desktop\ma\demo\golang\hello_go\go.mod
GOMODCACHE=D:\Users\80361576\go\pkg\mod
GONOPROXY=
GOPROXY=https://proxy.golang.org,direct
GOCACHE=D:\Users\80361576\AppData\Local\go-build
GOROOT=D:\Program Files\Go
GOPRIVATE=
GOSUMDB=sum.golang.org
GOINSECURE=
GONOSUMDB=
GOPATH=D:\Users\80361576\go
GOFLAGS=


[Trace - 11:44:39.163 AM] Sending notification '$/cancelRequest'.
Params: {"id":4}


[Trace - 11:44:39.163 AM] Sending request 'textDocument/codeLens - (5)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}


[Trace - 11:54:21.115 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/02/08 11:54:21 initial workspace load failed: context deadline exceeded\n"}


[Error - 11:54:21] 2022/02/08 11:54:21 initial workspace load failed: context deadline exceeded

[Trace - 11:54:21.116 AM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"end","message":"Finished loading packages."}}


[Trace - 11:54:21.117 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/02/08 11:54:21 workspace packages: diagnosing file:///D:/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/go.mod: context deadline exceeded\n"}


[Error - 11:54:21] 2022/02/08 11:54:21 workspace packages: diagnosing file:///D:/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/go.mod: context deadline exceeded

[Trace - 11:54:21.118 AM] Received request 'window/workDoneProgress/create - (3)'.
Params: {"token":"8674665223082153551"}


[Trace - 11:54:21.118 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2022/02/08 11:54:21 errors loading workspace: context deadline exceeded\n\tsnapshot=0\n\tdirectory=file:///D:/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go\n"}


[Error - 11:54:21] 2022/02/08 11:54:21 errors loading workspace: context deadline exceeded
	snapshot=0
	directory=file:///D:/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go

[Trace - 11:54:21.119 AM] Sending response 'window/workDoneProgress/create - (3)' in 1ms.
Result: 


[Trace - 11:54:21.119 AM] Received notification '$/progress'.
Params: {"token":"8674665223082153551","value":{"kind":"begin","title":"Error loading workspace","message":"context deadline exceeded"}}


[Trace - 11:54:21.119 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///D:/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/go.mod","diagnostics":[{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":33}},"severity":1,"source":"go list","message":"context deadline exceeded"}]}


[Trace - 11:54:21.120 AM] Received request 'client/registerCapability - (4)'.
Params: {"registrations":[{"id":"workspace/didChangeWatchedFiles-0","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.{go,mod,sum,work}","kind":7}]}}]}


[Trace - 11:54:21.122 AM] Sending response 'client/registerCapability - (4)' in 1ms.
Result: 


[Trace - 11:54:21.122 AM] Received request 'client/registerCapability - (5)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"}]}


[Trace - 11:54:21.122 AM] Sending response 'client/registerCapability - (5)' in 0ms.
Result: 


[Trace - 11:55:14.548 AM] Sending request 'textDocument/hover - (6)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"},"position":{"line":29,"character":22}}


[Trace - 11:55:14.692 AM] Sending notification '$/cancelRequest'.
Params: {"id":6}


[Trace - 11:55:48.175 AM] Sending notification '$/cancelRequest'.
Params: {"id":5}


[Trace - 11:55:48.175 AM] Sending request 'textDocument/codeLens - (7)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}


[Trace - 11:55:48.590 AM] Sending request 'textDocument/codeAction - (8)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"},"range":{"start":{"line":4,"character":0},"end":{"line":10,"character":1}},"context":{"diagnostics":[]}}


[Trace - 11:55:49.205 AM] Sending request 'textDocument/hover - (9)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"},"position":{"line":5,"character":4}}


[Trace - 11:55:49.238 AM] Sending notification '$/cancelRequest'.
Params: {"id":9}


[Trace - 11:55:49.339 AM] Sending notification '$/cancelRequest'.
Params: {"id":7}


[Trace - 11:55:49.339 AM] Sending request 'textDocument/codeLens - (10)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}


[Trace - 11:55:51.768 AM] Sending request 'textDocument/hover - (11)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"},"position":{"line":9,"character":1}}


[Trace - 11:55:51.819 AM] Sending notification '$/cancelRequest'.
Params: {"id":11}


[Trace - 11:55:51.839 AM] Sending notification '$/cancelRequest'.
Params: {"id":10}


[Trace - 11:55:51.839 AM] Sending request 'textDocument/codeLens - (12)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}


[Trace - 11:55:52.265 AM] Sending request 'textDocument/codeAction - (13)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"},"range":{"start":{"line":10,"character":1},"end":{"line":10,"character":1}},"context":{"diagnostics":[]}}


[Trace - 11:55:52.265 AM] Sending notification '$/cancelRequest'.
Params: {"id":8}


[Trace - 11:55:53.206 AM] Sending request 'textDocument/codeAction - (14)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"},"range":{"start":{"line":4,"character":0},"end":{"line":10,"character":1}},"context":{"diagnostics":[]}}


[Trace - 11:55:53.206 AM] Sending notification '$/cancelRequest'.
Params: {"id":13}


[Trace - 11:55:54.256 AM] Sending request 'textDocument/definition - (15)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"},"position":{"line":4,"character":2}}


[Trace - 11:56:19.529 AM] Sending notification '$/cancelRequest'.
Params: {"id":12}


[Trace - 11:56:19.529 AM] Sending request 'textDocument/codeLens - (16)'.
Params: {"textDocument":{"uri":"file:///d%3A/Users/80361576/Desktop/%E4%B8%AA%E4%BA%BA%E4%BA%8B%E6%83%85/demo/golang/hello_go/main.go"}}

@gopherbot gopherbot added this to the Untriaged milestone Feb 7, 2022
@hyangah hyangah added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Feb 7, 2022
@hyangah
Copy link
Contributor

hyangah commented Feb 7, 2022

@liaodalin19903 Can you please collect the gopls trace and share it? ( https://github.com/golang/vscode-go/blob/master/docs/troubleshooting.md#collect-gopls-information)

And make sure that no anti-virus program is interfering access to the project directory.

@liaodalin19903 liaodalin19903 closed this as completed Feb 10, 2022
@sagitsofan
Copy link

sagitsofan commented Feb 17, 2022

What was the resolution of this issue? I encountered exactly the same problem
@liaodalin19903 @hyangah

@liaodalin19903
Copy link
Author

liaodalin19903 commented Feb 17, 2022

What was the resolution of this issue? I encountered exactly the same problem @liaodalin19903 @hyangah

I written more module in go.mod:

module test-go
module ...
go 1.17

@jaykumarhpatel
Copy link

jaykumarhpatel commented Feb 9, 2023

Any update on this issue?

@golang golang locked and limited conversation to collaborators Feb 9, 2024
@gopherbot gopherbot added the FrozenDueToAge label Feb 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants
@sagitsofan @hyangah @gopherbot @liaodalin19903 @jaykumarhpatel

Footer

© 2024 GitHub, Inc.

4617作文网给车队起个名字韵名居周易起名中心周易专家指迷小孩起名字姓刘免费 算命起名字女人姓卢周易国学起名网怎么样周公解梦大全查询生小孩陈睿这个名字起的好吗北京注册企业起名减肥店怎么起名先知堂起名网官姓女孩起名薛姓的宝宝起名算命的真的还是假的周公解梦梦见椰子卖水产起什么名字好周易起名轩建材租赁公司起名起名字那个软件可信属蛇的起什么公司名字好七画的起名吉利字的给姓曹的女孩子起名手机起名称测出名字起的好不好周公解梦掉头发意味着什么周易入门基本起名参考的书周易取名字宝典梦见死老鼠周公解梦淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻让美丽中国“从细节出发”清明节放假3天调休1天男子给前妻转账 现任妻子起诉要回网友建议重庆地铁不准乘客携带菜筐月嫂回应掌掴婴儿是在赶虫子重庆警方辟谣“男子杀人焚尸”国产伟哥去年销售近13亿新的一天从800个哈欠开始男孩疑遭霸凌 家长讨说法被踢出群高中生被打伤下体休学 邯郸通报男子持台球杆殴打2名女店员被抓19岁小伙救下5人后溺亡 多方发声单亲妈妈陷入热恋 14岁儿子报警两大学生合买彩票中奖一人不认账德国打算提及普京时仅用姓名山西省委原副书记商黎光被逮捕武汉大学樱花即将进入盛花期今日春分张家界的山上“长”满了韩国人?特朗普谈“凯特王妃P图照”王树国3次鞠躬告别西交大师生白宫:哈马斯三号人物被杀代拍被何赛飞拿着魔杖追着打315晚会后胖东来又人满为患了房客欠租失踪 房东直发愁倪萍分享减重40斤方法“重生之我在北大当嫡校长”槽头肉企业被曝光前生意红火手机成瘾是影响睡眠质量重要因素考生莫言也上北大硕士复试名单了妈妈回应孩子在校撞护栏坠楼网友洛杉矶偶遇贾玲呼北高速交通事故已致14人死亡西双版纳热带植物园回应蜉蝣大爆发男孩8年未见母亲被告知被遗忘张立群任西安交通大学校长恒大被罚41.75亿到底怎么缴沈阳一轿车冲入人行道致3死2伤奥运男篮美国塞尔维亚同组周杰伦一审败诉网易国标起草人:淀粉肠是低配版火腿肠外国人感慨凌晨的中国很安全男子被流浪猫绊倒 投喂者赔24万杨倩无缘巴黎奥运男子被猫抓伤后确诊“猫抓病”春分“立蛋”成功率更高?记者:伊万改变了国足氛围奥巴马现身唐宁街 黑色着装引猜测

4617作文网 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化