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 40 forks source link

Browse through previous notes #4

Closed pajoma closed 7 years ago

pajoma commented 7 years ago

One thing I miss is browsing my previous notes through VSCode, rather than finding them on the disc.

Not sure how to implement this for now. There is an extension point to show a selection as list. But this isn't really an option to browse through a calendar.

Possible solutions:

  1. new command "journal:browse" which opens a new vscode instance with the journal as workspace.
  2. Content Provider which renders the current journal in a text document. The individual entries are linked

Second option could be useful to display days with open tasks (see issue #3)

edthedev commented 7 years ago

I think option 1 above makes a lot of sense.

I personally worked around this issue by setting "journal.base" in VSCode user settings to a folder that I always have open in VSCode anyway.

Option 1 above would be a nice alternative to always having that window open; and would benefit me by helping me open it quickly from other VSCode instances, as well.

pajoma commented 7 years ago

New Command "journal:open" implemented, which opens a new instance of vscode with the journal base directory as root.