Open pajoma opened 3 years ago
@mameen is this approach a solution for your idea in https://github.com/pajoma/vscode-journal/issues/19#issuecomment-870177168?
regarding where to insert the snippet
I just use Ctrl
+SPACE
in the place I want to add it.. and all snippets that apply show up! sorry if this is already a known fact! just my 2 cents!
I can't find any api to access the available snippets (which I would need to access to inject the tasks, memos, etc.).
The extension already defines snippets, which are added the global user snippets. The snippets have names, which we could also reference in the settings.
So instead of
we would write
with the snippet
We still need the template definition to configure where the generate snippet has to be inserted, but we could get rid of the formatting instructions.