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

Add way to disable formatter for a repo #771

Open
IanButterworth opened this issue Oct 19, 2023 · 1 comment
Open

Add way to disable formatter for a repo #771

IanButterworth opened this issue Oct 19, 2023 · 1 comment

Comments

@IanButterworth
Copy link

The majority of codebases I work with use JuliaFormatter (thanks!) so I have VSCode set up to format on save.

However some repos don't chose to use it, and I'm not aware of a way to opt out in VSCode without using a different key combo to save etc.

It'd be nice to be able to set a .JuliaFormatter.toml up that disables formatting for the entire repo.

Setting

ignore = [""]

or "/" or "*" didn't seem to work

@domluna
Copy link
Owner

domluna commented Oct 27, 2023

ignore = [""] and calling format(".") does work for me. It seems this is a vscode issue.

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