GoSublime icon indicating copy to clipboard operation
GoSublime copied to clipboard

interface snippets

Open juliusba opened this issue 11 years ago • 3 comments

Awesome plugin! Is it possible to add auto completion for interface methods?

Functionality: Whenever one types the name of an interface and presses enter, all the methods in the interface are filled in, and it is ready to take in the name of the type that implements the interface.

juliusba avatar Feb 18 '14 16:02 juliusba

maybe at some point in the future

DisposaBoy avatar Feb 18 '14 19:02 DisposaBoy

It seems like go-oracle might support this: "What are the possible concrete types of this interface value?"

https://docs.google.com/document/d/1SLk36YRjjMgKqe490mSRzOPYEDe0Y_WQNRv-EiFYUyw/view

mrkafk avatar Feb 27 '14 16:02 mrkafk

I've forked GoSublime-next (and sent a pull request, of course) and implemented this specific feature.

https://github.com/OneOfOne/GoSublime-next

OneOfOne avatar Jul 13 '14 21:07 OneOfOne