pajoma / vscode-journal

Lightweight journal and simple notes support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=pajoma.vscode-journal
GNU General Public License v3.0
233 stars 41 forks source link

External configuration files for templates and patterns #24

Open pajoma opened 7 years ago

pajoma commented 7 years ago

As preparation for the scopes support and configurable filenames, we need to have dynamic settings available. Templates for notes and journal entries within the vscode settings is not very efficient.

Templates should be configured in their own files (with .md as extension), which are used when creating a new file. Scopes, inline templates (memos, notes, and tasks) and patterns (paths and filenames for journal entries and notes) are in their JSON configs.

The location of the config files should be within the journal workspace (under ".vscode") to have them synced (not in the user's profile directory).

davll commented 4 years ago

I really need that functionality to create research journals with proper formats. And I think the extension can provide example templates as well.

mameen commented 3 years ago

I left a hidden suggestion in #19 to use workspace settings.. integrating with existing vscode features will allow switching workspaces to switch multiple things at once .. vcs, other settings, editor options and hopefully journal too. thanks!

mameen commented 3 years ago

WOW.. I just found out a solution to many of my wishes.. WORKSPACES.. they work great..

image

I can set a different base for each of my projects.. and this covers my biggest scenario..

Thanks again.. very well engineered extension.. :-P .. please keep it simple!