marksman icon indicating copy to clipboard operation
marksman copied to clipboard

Feature request: code action/quickfix to create a missing file from a link

Open pacien opened this issue 3 years ago • 2 comments

Typing [[some_new_note]] in an existing document, positionning the cursor within the brackets and using a code action to create a new file with that name, opening it in the editor.

The file could also be populated with content from a template, to automatically have a header with the title and date for example.

This would make creating and capturing notes much faster, wiki style.

pacien avatar Jan 30 '23 18:01 pacien

(Same idea as in this discussion: https://github.com/artempyanykh/marksman/discussions/119#discussioncomment-4317648)

pacien avatar Jan 30 '23 18:01 pacien

In addition to wiki-links, the same would apply to regular markdown links too [cool stuff](/create-me.md) or [subsection](#create-me).

artempyanykh avatar Jan 31 '23 20:01 artempyanykh