Display numbers
Sublime 3 plugin that shows a number in 10, 16, 2 and 8 numeral systems
Details
Installs
- Total 355
- Win 206
- Mac 82
- Linux 67
May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Plugin that shows a number in 10, 16, 2 and 8 numeral systems for Sublime 3
This plugin converts the selected number in decimal, hexadecimal, binary or octal numeral systems and displays a popup that shows the result in all four (dec, hex, bin and oct) numeral systems.
Popup modes
basic - has minimal information:
extended - can convert numbers and supports additions:
tabled - backwards compatibility with @kalund :
Additional functionality
- Pressing any digit of binary number makes it opposite of it's current value.
- Key binding is available for convert numeral system and swap endianness functions.
Addition: swap endianness
Displays buttons to swap endianness interpreting number as halfword (16 bits), word (32 bits) or doubleword (64 bits).
Addition: interpret hex number as float
Displays selected number in hex format as IEEE 754: * float (32 bits) if it is less or equal to 4 bytes length; * double (64 bits) if it is less or equal to 8 bytes length.
Addition: interpret number as size in bytes
Addition: bit shifting
Display buttons to shift the number left or right by one bit.
Installation
Clone this repository or download zip archive into the Sublime 3 package directory (you can find it in menu option Preferences -> Browse Packages...
). Keep in mind that plugin folder name should be Display numbers
.
Settings
You can setup this plugin settings or key bindings which can be edited in menu option
Preferences -> Package Settings -> Display nums -> Settings
or Key bindings
accordingly.
Or you can define project specific settings by adding “disnum.” to the setting option, for example:
user settings file
{
"plugin_mode": "extended"
}
project settings file
{
"disnum.plugin_mode": "tabled"
}