Skip to content
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

The new "Open With..." command is visible on folders #13678

Merged

Conversation

dhuebner
Copy link
Contributor

@dhuebner dhuebner commented May 3, 2024

What it does

Disables 'Open With...' menu contribution for folders.

How to test

Select a file in the explorer view: Context menu should contain an "Open With..." item
Select a folder in the explorer view: Context menu should not contain an "Open With..." item

See also #13672

Follow-ups

Review checklist

Reminder for reviewers

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@msujew msujew merged commit 324457a into eclipse-theia:master May 6, 2024
11 of 14 checks passed
@msujew msujew linked an issue May 6, 2024 that may be closed by this pull request
@dhuebner dhuebner deleted the dhuebner/openWith_Folder-13672 branch May 8, 2024 08:54
@jfaltermeier jfaltermeier added this to the 1.50.0 milestone Jun 3, 2024
marcdumais-work added a commit to bhufmann/theia-trace-extension that referenced this pull request Jul 8, 2024
Since the following Theia PR, the navigator's context menu "open-with"
command only appears when invoked on file nodes. Since we want to open
trace folders using this feature, we now re-register the command for
folders, as part of the trace viewer extension.

Theia PR: eclipse-theia/theia#13678

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
marcdumais-work added a commit to bhufmann/theia-trace-extension that referenced this pull request Jul 8, 2024
Since the following Theia PR, the navigator's context menu "open-with"
command only appears/works when invoked on file nodes. Since we want
to open trace folders using this feature, we now re-register the
command for folders, as part of the trace viewer extension.

Theia PR: eclipse-theia/theia#13678

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
marcdumais-work added a commit to marcdumais-work/theia-trace-extension that referenced this pull request Jul 11, 2024
Since the following Theia PR, the navigator's context menu "open-with"
command only appears/works when invoked on file nodes. Since we want
to open trace folders using this feature, we now re-register the
command for folders, as part of the trace viewer extension.

Theia PR: eclipse-theia/theia#13678

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>

Make our open-with handler be at the top of the list

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

The new "Open With..." command is visible on folders
3 participants