McSodbrenner / vscode-better-open-editors

MIT License
14 stars 7 forks source link

Context menu: "Copy relative path" doesn't work #13

Closed McSodbrenner closed 2 years ago

McSodbrenner commented 2 years ago

Does not work because cutting away the leading path relies on the presence of the workspaceFolder member. But this does not exist if there is only one workspacefolder, because #addWorkspace() then does not create a WorkspaceFolderItem. Best to create the complete tree cleanly and then filter it for display later.