New Note Fixer

approved

by mnaoumov

Unifies the way non-existing notes are created when clicking on their links.

12 stars2,013 downloadsUpdated 29d agoMIT
View on GitHub

New Note Fixer

Buy Me a Coffee GitHub release GitHub downloads

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:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button 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

Buy Me A Coffee

My other Obsidian resources

See my other Obsidian resources.

License

© Michael Naumov

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.