Skip to content
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

feature: implement expanderr #1445

Open
fatih opened this issue Sep 13, 2017 · 0 comments
Open

feature: implement expanderr #1445

fatih opened this issue Sep 13, 2017 · 0 comments
Labels

Comments

@fatih
Copy link
Owner

fatih commented Sep 13, 2017

For more info see: https://github.com/stapelberg/expanderr

For vim, integration see: stapelberg/expanderr#3

I would like to see this is integrated into a new ife snippet which is then expanded automatically based on the return values using this tool (in addition to a command).

Not sure if it's possible yet but we need to experiment with it. We already have some snippets such as errn or errn, that expands to err checks. By using ife we could automatize the return values which I think would be a really helpful.

Also now with #1443 maybe we should think to not increase the number of commands and have a generic command for code generators? Example usage:

:GoCode expanderr
:GoCode fillstruct
...

There are many other ideas that will come in the future, so having a single command that supports all these commands would beneficial. Let's, however, discuss this in another issue.

@fatih fatih added the feature label Sep 13, 2017
@arp242 arp242 self-assigned this Sep 21, 2017
@arp242 arp242 removed their assignment Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants