Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 687
Kruti Deepan Panda Avatar asked Sep 02 '25 09:09

Kruti Deepan Panda


1 Answers

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.

like image 157
Kruti Deepan Panda Avatar answered Sep 05 '25 01:09

Kruti Deepan Panda