-
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
VS Code menu contribution to "editor/lineNumber/context" doesn't behave as in VS Code #12688
Comments
I'll be happy to look into this issue. |
My investigation is falling down at the first hurdle: on the latest I can confirm that the |
From debugging, it seems that this is just what an empty context menu looks like. Not intuitive. Created #12779 for it. So I need to determine why the menu contribution from the provided sample project isn't picked up. |
It was (mingw) user error. |
Combine the context menus created by - debug in area left of the line numbers and - editor in the line numbers, themselves into one context menu, managed by the editor extension, opened either from the line numbers or from the gutter area to their left, for consistency with the VS Code behaviour of the 'editor/lineNumber/context' contribution point. Fixes eclipse-theia#12688 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
I've created PR #12794 to address this issue. |
Combine the context menus created by - debug in area left of the line numbers and - editor in the line numbers, themselves into one context menu, managed by the editor extension, opened either from the line numbers or from the gutter area to their left, for consistency with the VS Code behaviour of the 'editor/lineNumber/context' contribution point. Fixes #12688 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
Bug Description:
Support for contributing a menu to "editor/lineNumber/context" was added in recent months. It works but not the way it works in VS Code and not in an intuitive way.
In VS Code, the menu contribution is added to the menu that appears when you right click anywhere in the area shown here:
With Theia, that same area seems to be divided into a left area and a right area. If you right click on the left area, you get only the built-in menus, if you click on the right area, you get only the contributed menus. Besides being inconsistent with VS Code, this separation isn't intuitive. That in such a small area with no deliniation, that right clicking in one area brings up one menu and clicking in the other area brings up a different menu...again, not intuitive.
VS Code:
Theia
Steps to Reproduce:
git clone -b menu_bug_3 https://github.com/jcortell68/theiasandbox
cd theiasandbox
yarn
yarn start:electron
Additional Information
The text was updated successfully, but these errors were encountered: