Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Need a way to run only a single or selected rules #141

Open
hughbe opened this issue May 8, 2019 · 3 comments
Open

Need a way to run only a single or selected rules #141

hughbe opened this issue May 8, 2019 · 3 comments
Labels
Feature Request This issue is requesting an enhancement or new feature

Comments

@hughbe
Copy link

hughbe commented May 8, 2019

E.g. we want to have separate commits for whitespace changes, brace changes and spacing changes
/cc @zsd4yr

@JoeRobich JoeRobich added the Feature Request This issue is requesting an enhancement or new feature label May 24, 2019
@JoeRobich
Copy link
Member

@hughbe This might be a bit tricky, the WhitespaceFormatter formats all whitespace in one go including indentation, newlines before braces, spacing around punctuation and operators, etc...

@sharwell
Copy link
Member

It should be possible to run each of the rules separately (e.g. format document, end-of-line handling, end-of-file handling, and each analyzer/code fix pair), but it will not be possible to split format document into finer granularity.

@JoeRobich
Copy link
Member

#1007 added the ability to target code style or 3rd party diagnostics by their diagnostic id.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Feature Request This issue is requesting an enhancement or new feature
Projects
None yet
Development

No branches or pull requests

3 participants