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

[Feature] autofix all document #85

Closed
ctf0 opened this issue Aug 4, 2019 · 4 comments
Closed

[Feature] autofix all document #85

ctf0 opened this issue Aug 4, 2019 · 4 comments

Comments

@ctf0
Copy link

ctf0 commented Aug 4, 2019

is it possible to have a way to autofix the whole document issues instead of one by one ?

@DavidAnson
Copy link
Owner

Not today, but it is on the list. I first want to change how fixes are identified by the core library, then surface that here in the extension, and then it should be fairly straightforward to offer a command to fix everything at once.

@ctf0
Copy link
Author

ctf0 commented Oct 13, 2019

many many thanx for the new command, just a small headsup, not all errors are fixed

ex.[markdownlint] MD004/ul-style: Unordered list style [Expected: dash; Actual: plus]

@DavidAnson
Copy link
Owner

DavidAnson commented Oct 13, 2019

That’s right. Only the list of “fixable“ rules at the end of this section are fixed: https://github.com/DavidAnson/vscode-markdownlint/blob/master/README.md#rules

Rules like MD004 could be fixed automatically in cases where the user has chosen a specific style, but not when they use the default “consistent“ style. So, for now, those rules are not automatically fixed in any case.

@ctf0
Copy link
Author

ctf0 commented Oct 13, 2019

oh okay, many thanx for ur help

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

No branches or pull requests

2 participants