thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

Improve multi-root support

Open Tyriar opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

My setup is:

  1. One window with the folder of the service I'm working on open, this folder contains the thunder-tests folder
  2. One window that has a workspace open with the same folder open such that I can have thunder client on a dedicated second monitor

Currently this doesn't work immediately, I can workaround this by changing workspace settings (not folder) and set the thunder-tests folder directly. This is a pain and I typically don't save workspaces so I have to fiddle with this whenever I work on the API.

Describe the solution you'd like

IMO the most correct behavior here is to parse out all thunder-tests folders in all workspace roots and present them in some ordered fashion, that could be as simple as a dropdown to filter between workspaces or more complex like having a tree in the list.

Tyriar avatar Aug 18 '22 20:08 Tyriar

@Tyriar thanks for the feedback, will review it.

rangav avatar Aug 19 '22 08:08 rangav

related to #1169

rangav avatar Jun 16 '23 09:06 rangav

You can use the Workspace Relative Path setting to configure where you want to save the thunder-tests folder

https://github.com/rangav/thunder-client-support#git-sync

rangav avatar Jun 16 '23 09:06 rangav

In the next update, we will add support for Multi-root workspaces.

As an alternative solution till then, you can use this setting https://github.com/rangav/thunder-client-support/blob/master/README.md#2-custom-location

rangav avatar Jun 28 '23 08:06 rangav

Multi-root workspaces are now supported, please update to v2.9.0

See all features released https://github.com/rangav/thunder-client-support/releases/tag/v2.9.0

Please test and let me know your feedback.

rangav avatar Jul 07 '23 15:07 rangav

  • You can load request data from different workspace easily.
Screenshot 2023-07-07 at 17 38 01

rangav avatar Jul 07 '23 16:07 rangav