obsidian-hotkeys-for-templates icon indicating copy to clipboard operation
obsidian-hotkeys-for-templates copied to clipboard

It doesn't work for the subfolder of the path set in text field

Open Tommy1468 opened this issue 1 year ago • 3 comments

I set in path 00.Folder/ using tamplate1. It only works when I create a new file in 00.Folder/, but doesn't work when I create a new file in 00.Folder/01/. I want to apply the rule in the whole folder even in subfolder.

Tommy1468 avatar Jul 22 '23 09:07 Tommy1468

Works fine for me. Are you really using the trailing /? Please try removing them. The dropdown should present the correct formatting. Another issue could be that you have other templates set for that subdirectory or the parent?

Vinzent03 avatar Jul 22 '23 18:07 Vinzent03

Works fine for me. Are you really using the trailing /? Please try removing them. The dropdown should present the correct formatting. Another issue could be that you have other templates set for that subdirectory or the parent?

Thank you for your prompt reply. I found the reason. I entered the path instead of selecting it in the drop-down box. While setting, if I end the file path without /, like "00.Folder", it will only works for parent. If I end the file path with /, like "00.Folder/", it will works for subfolder. Howerver in the second case, when I reopen the plugin Settings page, its "/" hides the display, but the rule still works for subfolder. This mistakes my memory.

image first time setting image reopen

Tommy1468 avatar Jul 23 '23 02:07 Tommy1468

Sorry, but I highly doubt that, because the / at the end is always removed. So I see no way this could make a difference. Does this mean it works now?

Vinzent03 avatar Aug 18 '23 14:08 Vinzent03