-
Notifications
You must be signed in to change notification settings - Fork 50
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
VSCode integration with --header-opt-out #354
Comments
I think I'd be okay with making the header-opt-out functionality a default (other code formatters also have something like this by default, e.g. |
@reese let's add a we should not pass the opt out by default |
oh and |
I think an rc file would be fine, I guess my main concern there is just adding more complexity (e.g. is there a world where we need to support ENV variables when reading the rc file, we probably now need to handle how precedence works if the system file and pwd file conflict, etc.) |
I buy that, maybe the right thing to do is instead have folks build a wrapper shell script that passes the flags they want? |
i.e.
|
Yeah, the wrapper script is the way we did it (and still do it) for the Stripe rollout. I don't think it's a perfect end state, but I think it's good enough for most cases at the moment, especially since we have pretty few flags at the moment. |
@matthewford does the suggestion of using a wrapper script meet your needs here? |
Just as another option for this particular case, I don't know if we ever documented it (although we should), but there's some support for a |
@reese oh, let's document that |
A wrapper works, rubyfmtignore would be really useful too |
Hi, I would like to use the opt-out argument to aid the adoption on a complex project.
However, it looks like the VSCode extension does not support additional arguments. Would it be possible to make --header-opt-out a default setting?
The text was updated successfully, but these errors were encountered: