therainisme / vscode-clear-markdown-unused-images

This extension moves unused images in Markdown files to the 'unused-images' folder.
MIT License
3 stars 0 forks source link

2 bugs #3

Open fangzhangmnm opened 1 day ago

fangzhangmnm commented 1 day ago
  1. It removes all the used images
  2. Expect it to work for the current file, but it instead deal with all the files in the workspace
  3. if the used images have the same name, they override each other

combining 123 means it messed up all my project. Hope one can fix those dangerous issues

therainisme commented 1 day ago

I'm sorry it messed up your project. I think we should be able to provide an undo function.

It is expected to scan the entire workspace and remove any unused images, since many images referenced by markdown are not actually in the same directory as the markdown.

3 is indeed a bug.

Thanks for your feedback, I will fix these bugs soon.