obsidian-linter icon indicating copy to clipboard operation
obsidian-linter copied to clipboard

FR: Option to undo all linter changes all at once

Open gburning opened this issue 7 months ago • 0 comments

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

  1. Edit a note containing multiple rule violations
  2. Trigger linter (for example with Ctrl/Cmd+S)
  3. Undo changes (with Ctrl/Cmd+Z).
  4. Each change are is undone one rule (perhaps text block?) at a time

Proposed behavior (if enabled)

  1. -- Same as above --
  2. -- Same as above --
  3. -- Same as above --
  4. All changes made by the linter are undone all at once

gburning avatar Sep 05 '25 14:09 gburning