-
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
Editor content button contribution overrides Complete Merge
button in merge editor
#179306
Comments
Created a fix for this here to avoid showing the button in diff editor: microsoft/vscode-python#20998 The UI for the buttons should be looked at by VS Code core. This is good feedback for the editor content contribution point in package.json. |
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.77.1. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
Create Environment...
button overrides Complete Merge
button in merge editorComplete Merge
button in merge editor
@jfelectron Can you install pre-release version of the python extension? It should not show this button in the diff editor. |
Related: #178758 |
@jrieken, what are your thoughts on this? I can think of these options:
|
@hediet FYI, Python extension already added the context key for diff editor (this is in pre-release). I think there needs to be a different UI, may be a dropdown in cases where there are two or more buttons for the same content. |
can confirm the issue was fixed with pre-released version |
Closing as completed, as the issue seems to be fixed. |
Type: Bug
Behaviour
Expected vs. Actual
While
pyproject.toml
open in a merge editor,Complete Merge
button should be visible.Create Environment...
button overridesComplete Merge
button.This is introduced in this PR.
I believe this is the problematic line. Not sure if there is a "
isInMergeEditor
" type of variable available but something like that should do.Steps to reproduce:
pyproject.toml
file.Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2023.6.0
VS Code version: Code 1.77.0 (7f329fe, 2023-03-29T09:55:48.214Z)
OS version: Darwin arm64 22.2.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
The text was updated successfully, but these errors were encountered: