Michael Naumov3k downloadsUnifies the way non-existing notes are created when clicking on their links.
Clicking a link to a note that does not exist yet creates it — and where it lands depends on which shape the link has, in ways Obsidian never explains:
[[non-existing-note]] respects Settings → Files and links → Default location for new notes.[[folder/non-existing-note]] ignores that setting entirely and creates the note at the vault root, under folder/.[[../folder/non-existing-note]] creates a file outside the vault, does not open it, and on the second click reports the misleading error Folder already exists.This plugin makes all three obey the setting you configured, so where a new note appears no longer depends on how the link that created it happened to be written.
The documentation is a demo vault. Every case has a note that explains what Obsidian does, what the plugin does instead, and a link you can click to watch it happen.
Start reading here — it is plain markdown, so it works on GitHub with nothing installed.
A copy of the vault ships with every release. You can access it via any of the following:
new-note-fixer-demo-vault.zip from the Releases. It unzips into a single new-note-fixer-demo-vault-<version> folder.demo-vault/ in this repository.../) stops creating files outside it, and stops the Folder already exists message that follows. 02 Relative link fixSame folder as current file keeps working the way you would expect for every link shape. 03 Current note folderThe plugin is available in the official Community Plugins repository.
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:
Add plugin button once and wait a few seconds for the plugin to install.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.
All notable changes to this project will be documented in the CHANGELOG.
Contributions are welcome — see CONTRIBUTING to get set up.
See my other Obsidian resources.