artempyanykh / marksman

Write Markdown with code assist and intelligence in the comfort of your favourite editor.
MIT License
2.08k stars 35 forks source link

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

Open pacien opened 1 year ago

pacien commented 1 year ago

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 commented 1 year ago

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

artempyanykh commented 1 year ago

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