DisposaBoy / GoSublime

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

GoSublime overrides .sublime-completions files #943

Closed carlpett closed 4 years ago

carlpett commented 4 years ago

I've created a .sublime-completions file with a few shortcuts for myself. However, while GoSublime is active, they aren't available. Is it possible to retain that behaviour without recoding the snippets as golang.SnippetFuncs in the margo.go configuration?

DisposaBoy commented 4 years ago

Maybe:

    &golang.Gocode{
        AllowExplicitCompletions: true,
        // AllowWordCompletions:     true,
    },
carlpett commented 4 years ago

Yep, that did it. Thanks!

carlpett commented 4 years ago

Huh, it does not seem to work within test files, though... Expected?