My Notepad++ binhex plugin
I have developed a notedpad++ binhex plugin for manipulating with binary/hex string with functions below
- bin2hex/hex2bin - conversion between hex and binary text
- bin_invert/hex_invert - bit inversion for bin/hex text (0b1010 -> 0b0101)
- reverse - text reverse (abcd -> dcba)
- hex_shift - shift left/right for hex values, lose the shift out bit
- hex_rotate - rotate left/right for hex values, lsb become msb and vice versa
- grouping_2/4/8/16 - grouping hex/bin string to 2/4/8/16 char
Refer github link below for details
Its just a simple plugin that i used quite a lot, hope someone might feel it handy :)
Its available for both win32 and x64 version.
See https://github.com/bruderstein/nppPluginManager how to add it to the plugin manager.
Typically on github the source code is not added as zip, but directly. Additionally it is possible in this case to add an appveyor configuration for continuous integration builds. Releases could be done under https://github.com/skycc86/npp_binhex_plugin/releases instead of adding the binaries to the master.
PluginManager needs the binaries as zip.
Seems you didn’t use the latest plugin template from https://github.com/npp-plugins/plugintemplate/releases/tag/v3.1
thanks @chcg , i have merge your pull request and just made a binary release in github
will find out how to add it into plugin manager next.
i have check on the plugintemplate, i am using the latest release v3.1, i just download the template from github master branch recently :)
Ah, the spirit of C++98… It’s like when I was younger, I feel nostalgia. No abstractions over abstractions over abstractions that overcomplicate the code understanding significantly - and in fact are used only in the name of flexibility that no one really understands at the end…
Is it expected to work with UTF-8 text that contains non-Latin characters, by the way?
Sorry, my wording might be confusing on the binary hex conversion, its actually mean binary base to hexadecimal base string value conversion.
For eg, 0xa5 -> 0b10100101
So,it will not work with latin char, maybe you are looking for hex editor plugin
Available from PluginManager on the dev plugin list. For x64 see https://github.com/bruderstein/npp-plugins-x64/commit/451f3bb9e4041de14cb6a2a99e91ae46725ff28d. x86 is already available.
cool, justed tested it out with plugin manager, it works, thanks @chcg