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

GoSublime overrides .sublime-completions files #943

Closed carlpett closed 5 years ago

carlpett commented 5 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 5 years ago

Maybe:

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

Yep, that did it. Thanks!

carlpett commented 5 years ago

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