DisposaBoy / GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
MIT License
3.42k stars 299 forks source link

Is it possible to turn off autocomplete? #946

Closed dvcrn closed 5 years ago

dvcrn commented 5 years ago

I'm using gopls for my projects and get duplicated results from SublimeGo and LSP. I'd still love to use all the other SublimeGo things though like auto-running gofmt/gimports on save, goto definition and what not.

Is it possible to completely disable the autocomplete functionality of GoSublime?

DisposaBoy commented 5 years ago

For the old version, it's disabled in the default settings https://github.com/DisposaBoy/GoSublime/blob/development/GoSublime.sublime-settings#L33

For the new version (development or next branch) just delete or comment out the relevant code. E.g. from the default example https://margo.sh/s/extension-example just remove the &golang.Gocode{...}.

Maybe https://margo.sh/b/hello-margo/ is also useful.

dvcrn commented 5 years ago

Thank you!