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] - Setting for whether a new directory may be created #101

Open ognjenio opened 3 years ago

ognjenio commented 3 years ago

Hi,

Adding auto-complete for notes might be a bit more involved. Instead, as a temporary improvement it might be a good idea to have a setting for whether New Note is allowed to create new directories.

The current behaviour would correspond to the setting set to true.

If the setting is set to false, a notification can popup saying that this setting is false and that the entered folder does not already exist and it wouldn't clear the input box to be able to fix it.

That way misspelled folders wouldn't be added.