This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Consistently name all VS commands #1638
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR uses a tip shared by @madskristensen to ensure that all commands have a consistent name.
https://twitter.com/jcansdale/status/991013150932729856
https://twitter.com/mkristensen/status/991018416222818306
What this PR does
Previously our commands would appear on the shortcuts search dialog with inconsistent prefixes (some didn't even contain
GitHuband were difficult to find).GitHub.Specify a
CanonicalNamefor all commands (this is used in theCommand Window)Specify a
LocCanonicalNamefor all commands (used inCustomize > Keyboard...dialog)Our commands now appear as follows
Previously they appeared as in the screenshot above + the following:
Reviewers
This PR is deliberately being kept simple. Is there any reason not to do this? 😉
I hope having all of these commands consistently named will allow for faster and more stable automation testing. //paging @meaghanlewis
How to test
These commands names are surfaced in a few places
Command Windowif you start typingGitHub.Customize...,Keyboard...and start typingGitHubinShow commands containing.Future PRs
There is a bunch of functionality that is not being exposed as VS commands (e.g. show PR list of sync submodules). We should fix this but in separate PRs.
Fixes #1630