Not able to determine import path of current package by using cwd: c:\Users\.... and Go workspace:
Hey there. I support VS Code internally at my company, and I discovered an issue today where this extension tanks workspace symbols performance in a very large workspace that contains no Go code. Specifically, it fails with the following message:
[error] TypeError: Cannot read property 'forEach' of undefined at convertToCodeSymbols (/Users/jvilk/.vscode/extensions/ms-vscode.go-0.13.0/out/src/goSymbol.js:24:19) at /Users/jvilk/.vscode/extensions/ms-vscode.go-0.13.0/out/src/goSymbol.js:42:13
Is there any way to disable this extension's workspace symbol provider? I'd like to prevent it from causing harm for our many developers in this one repository without outright forbidding people to use it in our actual internal Go workspace.
Is there a way to get verbose syntax support for the vscode plugin?
A course I'm following get's an error message about redeclaration of a function, along with a notice about the previous declaration along with the line number and line position of the said declaration, while I'm only getting the notice that x redeclared in this block exists by the compiler.
go.modfile in every folder, that wouldn't be a big issue if i could delete the file. But the
go.modfile keeps on coming back immediately after i deleted it :(
All tools successfully installed. You are ready to Go :).. The setting
"go.useLanguageServer": trueis set.
fmt.that I get all the functions in the package recommended. But nothing happens. What am i doing wrong?
@NobbZ:matrix.org* Looks a lot better, now vscode should install the packages properly