You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did nothing. For hours when I moved the cursor over a symbol vscode would show a hover. Then that stopped. It looks like vscode stopped sending the hover requests.
What did you expect to see?
hovers
What did you see instead?
nothing. However reloading the window brings the hovers back.
The logs are unhelpful. Everything looks fine, but after a while there are no more hover requests.
The text was updated successfully, but these errors were encountered:
pjweinb
added
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
labels
Dec 17, 2023
Unfortunate limitations of JSONRPC make it very difficult to send responses to requests that are never received; I suggest filing this at vscode-go if it persists.
gopls version
Build info ---------- golang.org/x/tools/gopls v0.14.2 golang.org/x/tools/[email protected] h1:sIw6vjZiuQ9S7s0auUUkHlWgsCkKZFWDHmrge8LYsnc= github.com/BurntSushi/[email protected] h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/google/[email protected] h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/sergi/[email protected] h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= golang.org/x/exp/[email protected] h1:2O2DON6y3XMJiQRAS1UWU+54aec2uopH3x7MAiqGW6Y= golang.org/x/[email protected] h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/[email protected] h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= golang.org/x/[email protected] h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= golang.org/x/[email protected] h1:brbkEFfGwNGAEkykUOcryE/JiHUMMJouzE0fWWmz/QU= golang.org/x/[email protected] h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= golang.org/x/[email protected] h1:Oku7E+OCrXHyst1dG1z10etCTxewCHXNFLRlyMPbh3w= golang.org/x/vuln
go env
What did you do?
I did nothing. For hours when I moved the cursor over a symbol vscode would show a hover. Then that stopped. It looks like vscode stopped sending the hover requests.
What did you expect to see?
hovers
What did you see instead?
nothing. However reloading the window brings the hovers back.
Editor and settings
{
"window.title": "${dirty}${activeEditorLong}${separator}${rootName}${separator}${appName}",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
},
"editor.minimap.enabled": false,
"editor.suggest.showStatusBar": true,
"extensions.autoCheckUpdates": false,
"go.coverageDecorator": {
"type": "gutter",
"coveredGutterStyle": "blockgreen",
"uncoveredGutterStyle": "blockred",
"coveredHighlightColor": "rgba(64,128,128,0.5)",
"uncoveredHighlightColor": "rgba(128,64,64,0.25)",
"coveredBorderColor": "rgba(64,128,128,1.0)",
"uncoveredBorderColor": "rgba(128,64,64,1.0)"
},
"go.coverOnSingleTestFile": true,
"go.coverOnSingleTest": true,
"go.coverMode": "count",
"go.coverShowCounts": false,
"go.formatTool": "goimports",
"go.lintOnSave": "off",
"go.languageServerExperimentalFeatures": {
"diagnostics": true
},
"[go]": {
"editor.snippetSuggestions": "none",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
}
},
"gopls": {
"usePlaceholders": true, // add parameter placeholders when completing a function
"verboseOutput": false,
"annotations": {
"Escape": false,
"Nil": false,
"Inline": false,
"Bounds": false
},
"codelenses": {
"gc_details": true
},
"analyses": {
"fillstruct": true,
"staticcheck": false,
"unusedparams": false,
"ST1005": false,
"QF1003": false,
"SA9003": false
},
"ui.noSemanticNumber": true,
"ui.noSemanticString": true,
"ui.semanticTokens": true,
"build.templateExtensions": [".tmpl"]
},
"go.languageServerFlags": [
"-rpc.trace",
"-logfile=auto",
"-debug=localhost:0"
],
"terminal.integrated.defaultProfile.osx": "zsh",
"typescript.format.insertSpaceAfterConstructor": true,
"typescript.format.semicolons": "insert",
"workbench.colorCustomizations": {
"editor.symbolHighlightBorder": "#ff0000",
"editorGutter.deletedBackground": "#ff0000"
// "editor.hoverHighlightBackground": "#ff0000",
// "editor.lineHighlightBackground": "#00ffb310"
},
"typescript.referencesCodeLens.enabled": true,
"typescript.implementationsCodeLens.enabled": true,
"editor.wordWrap": "on",
"go.enableCodeLens": {
"runtest": true
},
"go.delveConfig": {
},
"editor.inlineSuggest.enabled": true,
"terminal.integrated.commandsToSkipShell": [
"language-julia.interrupt"
],
"julia.symbolCacheDownload": true,
"julia.enableTelemetry": true,
"julia.usePlotPane": false,
"go.toolsManagement.autoUpdate": true,
"editor.fontSize": 14,
"debug.console.fontSize": 14,
"terminal.integrated.fontSize": 14,
"workbench.editor.highlightModifiedTabs": true,
"editor.stickyScroll.enabled": true,
"workbench.editor.empty.hint": "hidden",
"lldb.library": "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB",
"lldb.launch.expressions": "native",
"editor.occurrencesHighlight": "multiFile",
"editor.unicodeHighlight.includeComments": true,
"editor.unicodeHighlight.nonBasicASCII": true,
}
Logs
The logs are unhelpful. Everything looks fine, but after a while there are no more hover requests.
The text was updated successfully, but these errors were encountered: