objdiff
objdiff copied to clipboard
objdiff-cli diff: Wishlist
Some things I think are missing from the diff workflow. Mostly here for discussion and so I don't forget to implement them. Can be broken up into separate issues as necessary (feel free to edit this post).
asm-differ flags
- [x]
--make(requires some restructuring of config structs likeBuildConfig) - [x]
--watch - [ ]
--width - [ ]
--threeway=prev - [ ]
--threeway=base - [ ]
--diff_mode=single - [ ]
--compress-matching - [ ]
--no-pager - [ ]
--format {color,plain,json}(not sure about HTML)
Pager features
- [ ] Center the view on the first change at startup
- [ ] Navigate between changes with
]and[ - [ ] Vim-like search (
/or?to enter a string, Enter to confirm,nandbto navigate results) - [x] Something to go to the top or bottom of the entire diff. In Vim this is
Gandggbut I'm not sure if we want multi-character keystrokes.
UI
- [ ] Help page with scroll and search features, maybe
hto activate? - [ ] Show number of changes in a status bar somewhere ("1 of 5"). When the view changes, update to the first change in the view (from top to bottom).
- [ ] Show delta in percentage since the last change (red "▼x.xx%" or green "▲x.xx%")
- [ ] Show difference in bytes (raw bytes or as KB, not sure).
asm-differshows score frommax_scoredown to 0 but I don't find that very useful personally. - [x] Toggle relaxed relocations with a hotkey
- #50