xpgo / obsidian-folder-note-plugin

Plugin to add description note to a folder for Obsidian.
397 stars 29 forks source link

Removing a folder doesn't remove the file, but the file stays hidden #6

Closed ibestvina closed 3 years ago

ibestvina commented 3 years ago

Obviously this only affects the "file outside folder" mode.

  1. Create a folder
  2. Ctrl+click to create a file.
  3. Remove folder

Result: file still exists, but is hidden until Obsidian is restarted.

Expected behavior: not really sure - either to remove the file, or to show it. I guess removing it makes most sense?

xpgo commented 3 years ago

In v0.7.0 turn on the Delete Folder Note option in the settings page to enable this feature.

For the hidden problem, currently, folder note is hidden only when its folder is clicked. If the plugin checks all the folder note at startup of Obsidian for hidding, it will slow down Obsidian for large vault.

ibestvina commented 3 years ago

Great work! However, I don't see this option in v0.7.0. I simply clicked on Update plugin, and it shows I'm on 0.7.0 now, but there are no new options. I tried restarting Obsidian. Maybe I'm doing something wrong? Your other fixes don't work either it seems (like #2). I presume it's something wrong on my side, I'll investigate.

xpgo commented 3 years ago

Try to disable and then enable the plugin, the options should appear. make sure the folder method is selected as Folder Name Outside,the options is available only for outside mode. 图片

ibestvina commented 3 years ago

Works now, thank you very much!