obsidian-linter
obsidian-linter copied to clipboard
FR: Option to undo all linter changes all at once
Currently, when I want to undo changes made by the linter it will undo the changes one at a time.
If possible, I would want this to work much like it does with Prettier where I am able to undo them all at once.
This may not be to everyone's liking, so I would suggest that such a feature is enabled by a setting in the plugin options.
Current behavior
- Edit a note containing multiple rule violations
- Trigger linter (for example with Ctrl/Cmd+S)
- Undo changes (with Ctrl/Cmd+Z).
- Each change are is undone one rule (perhaps text block?) at a time
Proposed behavior (if enabled)
- -- Same as above --
- -- Same as above --
- -- Same as above --
- All changes made by the linter are undone all at once