-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Save/Open local File/Folder commands should move to electron-browser #80959
Comments
From the explorer land they are only used in the |
Actually all these actions are remoteDialog specific, due to that I will introduce |
Actually I put it here |
@isidorn thank you for moving the commands. The file you put them in works well. |
@bpasero the IDs and LABELS of those commands are used in the remoteFileDialog, which lives at src\vs\workbench\services\dialogs\browser\remoteFileDialog.ts. I can move the commands themselves, but the IDs and LABELS need to stay out of electron-browser. |
@alexr00 I find I do not fully understand why these things cannot move into the |
I didn't read carefully enough the first time and thought you wanted them in workspaceAction. Moved as suggested! |
I notice quite a few actions/commands in
browser/workspaceActions
that talk about "local" file access (e.g for saving or opening). These currently live in thebrowser
namespace but should move toelectron-browser
as we can never support them in the web.This probably drags on to the file explorer where they also seem to be used and would require
electron-browser
there too.List:
OpenLocalFileCommand
SaveLocalFileCommand
OpenLocalFolderCommand
OpenLocalFileFolderCommand
I am about to introduce a
src/vs/workbench/electron-browser/actions/workspaceActions.ts
where you can move them. Alternatively they could also be moved closer to where they are being used (explorer?)//cc @isidorn
The text was updated successfully, but these errors were encountered: