platers / obsidian-linter

An Obsidian plugin that formats and styles your notes with a focus on configurability and extensibility.
https://platers.github.io/obsidian-linter/
MIT License
1.24k stars 82 forks source link

Feat: Update Date Modified on Editor Content Change & Miscellaneous Style and YAML Timestamp Changes #1178

Closed pjkaufman closed 1 month ago

pjkaufman commented 1 month ago

Fixes #183 Fixes #890 Fixes #1161 Fixes #1162 May fix #995

There has been some level of desire for the ability to make the date modified be set whenever the user makes a change to the editor/file via Obsidian. In order to do this, there is a need to know whenever the editor is updated. When it is, it will set off a debounced action to update the date modified so long as the user does not remove the changes by the time that the debounced function runs.

There were also some style changes made to cut down some on the whitespace that was present, but not necessary.

There was also a wording update to try to make things clearer that the lint on file change only happens when focused file changes.

Changes Made:

TODO: