Kruemelkatze / vscode-dashboard

A speed-dial like project dashboard for VSCode.
https://marketplace.visualstudio.com/items?itemName=kruemelkatze.vscode-dashboard
MIT License
109 stars 21 forks source link

Relative path support #85

Closed acid-srvnn closed 1 year ago

acid-srvnn commented 2 years ago

Hi. Thanks for the extension.

Would it be possible to give relative path support ? like "path" : "../project2"

I am planning to save dashboard.projectData in my workspace file and it will be linked to other projects relatively.

Kruemelkatze commented 2 years ago

Hi! Sorry for the late answer. It may be possible some way, but I would have to dig into this. Currently the dashboard doesn't care about where the data is stored (global state, user settings or workspace settings). It simply issues the path to VSCs own "open" command. On a first try, it didn't work with relative paths that I manually edited into the project data. I'll have a look, but can't promise anything. :)

Kruemelkatze commented 1 year ago

This has been included in the latest version 2.6.0. Please note that relative paths only work when a workspace is already open. Hope that fits your use case.