-
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
[explorer/navigator] implement 'More' toolbar item with context menu #5951
Comments
It should display what it used to display in the context menu before introducing view containers. |
I started implementing the 'more' toolbar but I realized a lot of the commands will need to be updated / duplicated in order to support the feature. They mostly use a |
Fixes #5951 - implement the 'more' toolbar item for the explorer which triggers a context menu which displays helpful commands. - mainly used to limit the impact of recent developments which removes the root node from the tree and thus the ability to perform actions directly on the root. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 - implement the 'more' toolbar item for the explorer which triggers a context menu which displays helpful commands. - mainly used to limit the impact of recent developments which removes the root node from the tree and thus the ability to perform actions directly on the root. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 - implement `more` toolbar item to display workspace root specific commands. - implement 'new file root' and 'new folder root' commands which call the generic createFile and createFolder commands. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 - implemented `More Actions...` toolbar item for the explorer which is used to host commands specific to the workspace root whenever there is a single-root workspace currently opened. The initial implementation adds only a subset of available commands which make sense for the workspace root. The following commands have been added: 1. new file 2. new folder 3. open in terminal 4. find in folder Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 - implemented `More Actions...` toolbar item for the explorer which is used to host commands specific to the workspace root whenever there is a single-root workspace currently opened. The initial implementation adds only a subset of available commands which make sense for the workspace root. The following commands have been added: 1. new file 2. new folder 3. open in terminal 4. find in folder Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 - implemented `More Actions...` toolbar item for the explorer which is used to host commands specific to the workspace root whenever there is a single-root workspace currently opened. The initial implementation adds only a subset of available commands which make sense for the workspace root. The following commands have been added: 1. new file 2. new folder 3. open in terminal 4. find in folder Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 - implemented `More Actions...` toolbar item for the explorer which is used to host commands specific to the workspace root whenever there is a single-root workspace currently opened. The initial implementation adds only a subset of available commands which make sense for the workspace root. The following commands have been added: 1. new file 2. new folder 3. open in terminal 4. find in folder 5. add folder to workspace 6. compare with... Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 Fixes #6010 - Added a new toolbar item for the `explorer` which consists of mutliple commands. - Adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which can be used by the workspace root in both a single and multi-root workspace. - Added the command `New File` to the toolbar item. - Added the command `New Folder` to the toolbar item. - Added the command `Add Folder to Workspace...` to the toolbar item. - Added the command `Compare With...` to the toolbar item. - added a toolbar item which contains multiple commands for the explorer. - adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which deal with single and multi-root workspaces. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 Fixes #6010 - Added a new toolbar item for the `explorer` which consists of mutliple commands. - Adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which can be used by the workspace root in both a single and multi-root workspace. - Added the command `New File` to the toolbar item. - Added the command `New Folder` to the toolbar item. - Added the command `Add Folder to Workspace...` to the toolbar item. - Added the command `Compare With...` to the toolbar item. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 Fixes #6010 - Added a new toolbar item for the `explorer` which consists of multiple commands. - Adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which can be used by the workspace root in both a single and multi-root workspace. - Added the command `New File` to the toolbar item. - Added the command `New Folder` to the toolbar item. - Added the command `Add Folder to Workspace...` to the toolbar item. - Added the command `Compare With...` to the toolbar item. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 Fixes #6010 - Added a new toolbar item for the `explorer` which consists of multiple commands. - Adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which can be used by the workspace root in both a single and multi-root workspace. - Added the command `New File` to the toolbar item. - Added the command `New Folder` to the toolbar item. - Added the command `Add Folder to Workspace...` to the toolbar item. - Added the command `Compare With...` to the toolbar item. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 Fixes #6010 - Added a new toolbar item for the `explorer` which consists of multiple commands. - Adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which can be used by the workspace root in both a single and multi-root workspace. - Added the command `New File` to the toolbar item. - Added the command `New Folder` to the toolbar item. - Added the command `Add Folder to Workspace...` to the toolbar item. - Added the command `Compare With...` to the toolbar item. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 Fixes #6010 - Added a new toolbar item for the `explorer` which consists of multiple commands. - Adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which can be used by the workspace root in both a single and multi-root workspace. - Added the command `New File` to the toolbar item. - Added the command `New Folder` to the toolbar item. - Added the command `Add Folder to Workspace...` to the toolbar item. - Added the command `Compare With...` to the toolbar item. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 Fixes #6010 - Added a new toolbar item for the `explorer` which consists of multiple commands. - Adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which can be used by the workspace root in both a single and multi-root workspace. - Added the command `New File` to the toolbar item. - Added the command `New Folder` to the toolbar item. - Added the command `Add Folder to Workspace...` to the toolbar item. - Added the command `Compare With...` to the toolbar item. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5951 Fixes #6010 - Added a new toolbar item for the `explorer` which consists of multiple commands. - Adjusted the `WorkspaceRootUriAwareCommandHandler` to better handle commands which can be used by the workspace root in both a single and multi-root workspace. - Added the command `New File` to the toolbar item. - Added the command `New Folder` to the toolbar item. - Added the command `Add Folder to Workspace...` to the toolbar item. - Added the command `Compare With...` to the toolbar item. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Description
Based on #5946 (comment)
Support "More" toolbar item and context menu for the
explorer
widget which will contain helpful methods for the view (ex:Add Folder to Workspace
)A similar implementation is present in the
Git
explorer:Implementation Details
The text was updated successfully, but these errors were encountered: