-
-
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
feature: implement expanderr #1445
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
orerrn,
that expands to err checks. By usingife
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:
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.
The text was updated successfully, but these errors were encountered: