Sublime Forum

Go Programmer autocomplete

#1

Hello. I’ve been testing Sublime with Javascript and HTML/CSS and I found it very good.
I found the problem when programming with Go. I have installed the “Golang Tool Integration” and “LSP-gopls” packages and I get it to autocomplete basic parts of the code but when we enter package functions like fmt or math, it doesn’t even show them.
Any solution? Thank you.

0 Likes

#2

Something is broken in your configuration. LSP-gopls works with packages, and adds e.g. a missing fmt:: to a Sprintf. Are you sure LSP-gopls works at all and you are not using Sublime Text’s autocompletion?

0 Likes

#3

Thank you. I’m going to check what you tell me.

0 Likes