VSCODE GOPLS: Language server slow

Deprecated means trouble?

Today a short share.

Since last year I have been using golang more in my toolkit, often I copy paste but some moments I have to actually write code. For this I use vscode and gopls is the language server.

What is gopls? It stands for Go please. It is a language server and helps linting, autocompleting, adds warnings that this string is not of type []some.thing. It integrates with my favorite IDE: vscode. Fancy stuff. And today was that day that it abandoned me and no longer responded. It did not autocomplete and didn’t give warnings when I used a wrong type. The result is that every iteration I had to run go build to see if the compiler found any issues, the benefit for using a language server is that you get instant feedback. I was slowed down and I cannot have that.

[Read More]