-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Add IDs to Commands #16904
Merged
Merged
Add IDs to Commands #16904
Changes from 16 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
90627b3
add origin tag
PankajBhojwani 9dff28f
update calls in tests
PankajBhojwani 8bcbd0b
fix tests
PankajBhojwani 052d063
ah one of the tests uses this
PankajBhojwani 8cc82de
generated
PankajBhojwani 642d0ab
inbox makes more sense
PankajBhojwani 66fe08f
default ids
PankajBhojwani 2bb1b6c
conflict
PankajBhojwani be193b2
merge origin
PankajBhojwani db528c9
generate IDs for user commands
PankajBhojwani 7c907fe
nits
PankajBhojwani b43191d
spacing
PankajBhojwani 2093660
line
PankajBhojwani 6c32539
string of numbers is unsightly but it works
PankajBhojwani eccd87f
update comment
PankajBhojwani 44510dc
move id generation to fixupusersettings
PankajBhojwani 10d1fc8
this way is better
PankajBhojwani 71bf90f
even better, also get the ID from json
PankajBhojwani d57c7a1
move this
PankajBhojwani 5c2307c
fix test
PankajBhojwani 9fc6972
add tests
PankajBhojwani dca7df5
excess line
PankajBhojwani dd25ed7
change tests
PankajBhojwani 6e293a5
Everytime
PankajBhojwani af2d22f
defaults conflict
PankajBhojwani bdf42c2
first round of nits
PankajBhojwani 12f3aa9
truncate and hex, debug assert
PankajBhojwani aa49212
null check
PankajBhojwani 5ee630e
fmt is smart
PankajBhojwani 360b92e
fmt_compile, fix test
PankajBhojwani 5e70911
remove 0
PankajBhojwani ca3eb87
rename and comment
PankajBhojwani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These IDs are very similar to our
InternalActionID
except instead of also hashing theShortcutAction
, we only hash theArgs
and we leave theShortcutAction
as a string. Since these will end up in the user file, I prefer this as it will be more readableThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is clever, thanks!