-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open local workspaces, files and folders in remote #14607
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
@@ -81,5 +84,11 @@ export default new ContainerModule((bind, _, __, rebind) => { | |||
bind(LocalRemoteFileSystemProvider).toSelf().inSingletonScope(); | |||
rebind(UserStorageContribution).to(RemoteUserStorageContribution); | |||
|
|||
if (isRemote) { | |||
rebind(WorkspaceService).to(RemoteWorkspaceService).inSingletonScope(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: This should rather be a contribution, instead of a rebinding. See also the existing rebinding in the collaboration package
rebind(WorkspaceService).toService(CollaborationWorkspaceService); |
@jonah-iden What is the state of this PR? |
@JonasHelming Seems i've forgotten about this one. Still need adress the review comments. I'll try and take care of that next time i have some open-source time |
What it does
Implements #14574
This does 2 things regarding opening workspaces when connected to a remote.
open recent workspaces
and allows opening them even when connected to a remoteHow to test
Connect to a remote or dev-container.
select
file -> Open Recent Workspace...
see the list should be equal to the list you see locally.
Workspaces should be openable both dev-container and normal files/folders
Connect to a remote or dev-container.
use the
file -> Open Folder...
option.See there should be a new button
Show Local
Click to see a new file dialog opening showing the local file system
Selecting the folder disconnects the remote and opens the workspace or opens a new window with the selected workspace (depending on settings)
Follow-ups
Breaking changes
Attribution
Review checklist
Reminder for reviewers