-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gb support #420
gb support #420
Conversation
Any interest in supporting wgo as well? (github.com/skelterjohn/wgo) You'd need to find a .gocfg/gopaths directory somewhere in the CWD's ancestor list, and add use each line of gopaths as a GOPATH entry. |
@skelterjohn of course.. Actually we can do it already with the foundation of #429. I'll tackle it after I'm finished with |
@fatih I'm 👍 on this -- it might be nice to also document that |
is there an ETA on this merge upstream? |
Good question @metral. Because I'm alone on this and it's Ramadan (holy month of Islam), I have not much time for my personal projects. If I have time I'll do in the following weeks. Usually I have 1-2 day of burst work on Vim-go every one month. At that time go over all issues, implement and improve features and finish current work. So just to add the information, ETA is 1 Month (but can be earlier too). Hope this helps. |
@fatih thank you for the quick response and the work that you put in to vim-go as well as your other repos, they're much appreciated. hope you have a pleasant Ramadan and i look forward to the arrival of gb support in vim-go! |
@fatih do you think it'd be feasible to merge the current work supporting |
@jszwedko I'm not sure I want to add |
@fatih that makes sense, the Thank you so much for your work on |
gb: implement GbTest
This need another round. The current PR needs to be rebased and tons of things have changed. |
With this branch deleted, have plans stopped for supporting gb? |
Unfortunately yes, however there is still partial support (it detects src/ folder). But no further development will be made as I have limited time. Thanks. |
Totally understand! Thanks for being straightforward about it. Vim-go is still immensely useful and I can't thank you enough for it. |
This PR aims to bring full support for the http://getgb.io/ project.
Currently implemented commands are:
:GbBuild
(valid arguments togb build
can be given, if not plangb build
is called):GbBuildAll
invokesgb build all
It doesn't matter from which directory the file is being edited. vim-go automatically finds the
$PROJECT
and populating the errors based on it. You don't need to do anything.Todos:
GB_PROJECT_DIR
to retrieve the project dir:GbFiles
:GbTest
:GbImports
, this should be use the existing auto fmt hook we have currentlyvim-go is a plugin to develop go code within vim. I'm always trying to add features to it (and also allow), to make it productive for everyone.
gb
is a very new tool and needs some traction of course. That's why I'm thinking of creating a newvim-gb
plugin that is totally compatible and orthogonal tovim-go
. However I'm not sure about it, the current approach might be the correct one (may be).I'm curious about any thoughts here so please just comment on this :)