patleeman / VSNotes

Simple VS Code extension for plain text note taking.
https://marketplace.visualstudio.com/items?itemName=patricklee.vsnotes
MIT License
174 stars 33 forks source link

Feature request: Hide files from side panel #11

Closed PhilipWhiteside closed 6 years ago

PhilipWhiteside commented 6 years ago

Currently the side panel shows folder/files as well as tags. VSC also shows a files section, which is not hidable within the UI. These two areas can be switched around, and resized by the user. My preferred storing method is dated archive folders, with hierarcical tags for organisation. So tags is where I will be spending most of my time, vs folders.

vsc_001

Where I'd like to end up is something like this

vsc_002

patleeman commented 6 years ago

Hey @Philiphlop

I don't think I can actually hide that dialog. It's the main VS Code file tree structure, nor would I want to hide it. For myself, a use case for having both is that sometimes I'll be working on a project in VS Code which resides in a different directory, then I'd want to access my notes without having to open the folder my notes reside in.

There may be a setting to keep the tree view hidden but I haven't looked into it.

Thanks for the idea though!

PhilipWhiteside commented 6 years ago

I wouldn't want to hide the VSCode one, but hide the VSNotes folder part, keeping just the tags part, via a user preference option. So if user has it set to hide, don't output it to the sidebar when the tags are output. Or perhaps splitting them out into separate components, where I can manually hide it from within the UI (as I can now hide the components which holds both, or hide the component which holds open files).

That usecase makes perfect sense. For me, I don't code for a job, so everything is a note in effect, VSC/VSN is my Evernote replacement, and I have a Personal-Notes and Work-Notes workspaces.

I never find user configurable options a bad thing, as we are all very different.

patleeman commented 6 years ago

Oh i see what you're saying.

A flag could be added for that for sure. Would you be interested in submitting a PR for this?

patleeman commented 6 years ago

Added in https://github.com/patleeman/VSNotes/pull/18/commits/936d53f39ae36c3f0372d09613e4d6db0cca90e6