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

Persistent options to generate #123

Open
bolivier opened this issue Sep 2, 2017 · 1 comment
Open

Persistent options to generate #123

bolivier opened this issue Sep 2, 2017 · 1 comment

Comments

@bolivier
Copy link

bolivier commented Sep 2, 2017

I almost always want to pass --no-helper and --no-assets by default, but I don't see a way to persist those as default options to generate.

Either something like what magit does wrt rebase or what compile does, persisting the previous command to the minibuffer, would be a nice feature.

@asok
Copy link
Owner

asok commented Sep 10, 2017

Hi I was thinking about. Persistig the previous command is the easiest. But in case first invocation was run with spring, and lets say that spring was stop, second invocation of generate will try to use spring again. User would need to remember to delete spring prefix.
What about using a buffer local variable that would hold a default generate arguments. You could add this to the .dir-locals.el file via add-dir-local-variable (the mode would be nil). What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants