Hey, I tried to fix a small issue with deleted fil...
# dev
m
Hey, I tried to fix a small issue with deleted files being treated as a note.. causing error messages and sometimes duplicate id popups. But I'm not sure if: 1.) this is really a bug or working as intended, 2.) my workaround is OK or might cause problems/overhead I would have preferred to get info from the vscode API if a file is deleted or if I am in a Source Control context to skip note parsing altogether. My test suite runs fine with everything green, until it crashes after a few minutes, same without my changes. I'll look into that later. https://github.com/dendronhq/dendron/compare/master...wookiefriseur:dendron:fix/deleted-notes
I can create an issue if it is a bug to be fixed / feature to be added. # Steps to reproduce error 1. Enable git in workspace 2. Create and commit/stage note 3. Delete note through dendron 4. Go to Source Control View 5. Click on deleted file 6. Dendron treats it as a note and throws an error Alternatively you can refactor hierarchies and deleted files will remain opened, causing the same error when selected.
h
Feel free to create an issue. or you can just create a PR for your branch and we can discuss it there 🙂
m