blakedietz/vscode-nested-tags

Bug: Orphaned link in nested tag after renaming file

Closed this issue · 3 comments

Issue description

After renaming a .md file, there is an orphaned link to the previous filename in my tag tree. Clicking the broken link throws a file not found error, but I am unable to remove the old link

Steps to reproduce the issue

  1. Increase tree level by 1 in markdown directive within .md file i.e.:
-->
  1. Rename file - Previous filename should still be visible in tag tree i.e.
    snippets.md -> adhoc-sftp.md

  2. Profit??? Error when you click the broken link in tag tree, no way to remove broken link

What's the expected result?

  • Link to previous filename disappears after renaming file

What's the actual result?

  • Broken link to old filename remains after renaming file

Additional details / screenshot

  • nested tag bug report

  • image

Edit: I read the extension is untested on Windows, feel free to close if unsupported.

Thanks and I love the extension :P

Thanks for the writeup. I'll look into it. <3

Was able to reproduce on macOS as well. So this is definitely not a Windows specific bug. Not surprised by that either considering the API is abstracted over the operating system anyway.

Fixed on macOS with 93bda91. Let me know if the issue still exists for M$.