-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Don't reuse identifier with registerAction2
#199744
Labels
debt
Code quality issues
insiders-released
Patch has been released in VS Code Insiders
menus
Menu items and widget issues
Milestone
Comments
@sandy081 I believe this is all the same issue somewhere in views land? |
This is how these actions are registered
May I know what is the suggested approach? |
Don't register them twice |
sandy081
added a commit
that referenced
this issue
Jan 9, 2024
sandy081
added a commit
that referenced
this issue
Jan 9, 2024
#199744 do not register command twice
Adding @meganrogge for @Tyriar |
vscodenpa
added
unreleased
Patch has not yet been released in VS Code Insiders
insiders-released
Patch has been released in VS Code Insiders
and removed
unreleased
Patch has not yet been released in VS Code Insiders
labels
Jan 11, 2024
jrieken
added a commit
that referenced
this issue
Jan 12, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
debt
Code quality issues
insiders-released
Patch has been released in VS Code Insiders
menus
Menu items and widget issues
I have noticed that some Action2 instances are registered that reuse an id. That's not OK because Action2 is a singleton model object, e.g it keybinding or menu registrations refer to it by id. This should be cleaned up and from then on it should be an error to reuse an id
fetch returns keybinding with user first if title and id matches
@sandy081The text was updated successfully, but these errors were encountered: