Issues with "vscode" URI
I'm using VS Code portable so I'm relying on the "vscode" URI.
The current version has inconsistent implementation where clicking "Open with VS Code" will always open the vault and the file regardless of where you click it, and if the file is empty then it will open the vault twice.
In my opinion, it should behave like this instead:
- From sidebar: Open vault folder as workspace
- Folder context menu: Open current folder as workspace (or vault if no folder is selected)
- File context menu: Open current file
Also, the file/folder context menu is currently broken too because it doesn't use the "vscode" URI if I enable it.
Hi! I'll take a look at this next week the earliest, maybe later. What OS do you use by the way?
I use Windows so it's not a Flatpak issue.
Tbh, after looking at the code, I think I may be able to fix it myself (despite I'm not a JS developer). No promise though as I'm also preoccupied right now.
For now I'm using Shell Commands, but I prefer this because it's simpler and just install-and-forget.