dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.67k stars 252 forks source link

Trigger Dendron: Delete Node when a note is deleted through the explorer. #677

Open ghost opened 3 years ago

ghost commented 3 years ago

Please Select if your Request is Either something new or an Enhancement

Please select the area your request applys to. (Multiple selections are Possible)

Is your feature request related to a problem? Please describe

When deleting a note using the vscode explorer, I need to reload the index.

Describe the solution you'd like

When deleting a note using the vscode explorer, Dendron: Delete Nodeshould be called in the background.

hikchoi commented 3 years ago

I have had problems directly deleting files not through Dendron: Delete Node and now I have made it a habit to do so. But this would make it much less confusing for people who first started using Dendron.

Also another thing: vscode will delete files if you revert an untracked file through the source control panel (I found that I do this a lot). So this is another place we can look at.