Kruti Deepan Panda
Kruti Deepan Panda

Reputation: 386

How re-enable intellisense in VS Code?

I know that a similar was asked on Intellisense not working golang test files, but since I am new to VS Code I didn't quite understand the solution. Also since I have a low reputation I couldn't comment for help.

What I know about my problem is that on Ctrl + Space VSCode used to show the list of functions associated with the Golang package, but suddenly one day it stopped working.

Upvotes: 4

Views: 7701

Answers (1)

Kruti Deepan Panda
Kruti Deepan Panda

Reputation: 386

Okay, I found out my answer. Apparently for some reason in my settings.json the line "go.useLanguageServer": true, wasn't there. After adding it VSCode told me to install something called gopls which fixed everything.

Upvotes: 5

Related Questions