New Note Fixer
approvedby mnaoumov
Unifies the way non-existing notes are created when clicking on their links.
New Note Fixer
This is a plugin for Obsidian that unifies the way non-existing notes are created when clicking on their links.
When you click on a link [[non-existing-note]], Obsidian creates a new note, whose location depends on Settings → Files and links → Default location for new notes.
However, if your link is [[folder/non-existing-note]], Obsidian will ignore the above-mentioned setting and create a new note in the <vault root>/folder/non-existing-note.md.
Even more, if the link is [[../folder/non-existing-note]], Obsidian will create a file outside of the vault root and won't open it. If you click on the link another time, Obsidian will show a misleading error message Folder already exists.
This plugin fixes this behavior by respecting Default location for new notes setting for those cases.
Installation
The plugin is available in the official Community Plugins repository.
Beta versions
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
- Ensure you have the BRAT plugin installed and enabled.
- Click Install via BRAT.
- An Obsidian pop-up window should appear. In the window, click the
Add pluginbutton once and wait a few seconds for the plugin to install.
Debugging
By default, debug messages for this plugin are hidden.
To show them, run the following command:
window.DEBUG.enable('new-note-fixer');
For more details, refer to the documentation.
Support
My other Obsidian resources
See my other Obsidian resources.
License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.
