• Login
Community
  • Login

Feature request: convert radix of a number on each line

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 508 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    Adam Yik
    last edited by Sep 2, 2019, 5:51 PM

    Say I want to convert multiple numbers, in this example, convert hex to binary:

    0
    A
    F
    2
    7
    

    When doing that, they will be replaced with:

    0
    1010
    1111
    10
    111
    

    When googling to convert radix, they list only the ASCII or other character encoding, and I hate having to manuelly convert one number at a time.

    A 1 Reply Last reply Sep 2, 2019, 5:57 PM Reply Quote 0
    • A
      Alan Kilborn @Adam Yik
      last edited by Sep 2, 2019, 5:57 PM

      @Adam-Yik

      Sounds like a job for a scripting plugin, not Notepad++ itself.

      1 Reply Last reply Reply Quote 1
      • R
        rinku singh
        last edited by rinku singh Sep 3, 2019, 1:57 AM Sep 3, 2019, 1:57 AM

        Npp_Hex_2_binary_x86_plugin

        Npp_Hex_2_binary_x64_plugin

        1 Reply Last reply Reply Quote 3
        • A
          Adam Yik
          last edited by Adam Yik Sep 8, 2019, 12:07 AM Sep 8, 2019, 12:05 AM

          Thanks. Really hope someone take this, add more features (like you have two boxes, the “from” and the “two”, which only accepts a decimal integer ranging from 2-36, this is the radix, similar to javascript’s [parseInt(string, radix)] and [number.toString(radix)]), and post this to a “submission section” (as in, a public place containing lots of plugins for notepad++, and/or also available on the menubar -> Plugins -> Plugins Admin -> Available tab).

          R 1 Reply Last reply Sep 8, 2019, 4:57 AM Reply Quote 0
          • R
            rinku singh @Adam Yik
            last edited by rinku singh Sep 8, 2019, 5:00 AM Sep 8, 2019, 4:57 AM

            @Adam-Yik said:

            Thanks. Really hope someone take this, add more features (like you have two boxes, the “from” and the “two”, which only accepts a decimal integer ranging from 2-36, this is the radix, similar to javascript’s [parseInt(string, radix)] and [number.toString(radix)]), and post this to a “submission section” (as in, a public place containing lots of plugins for notepad++, and/or also available on the menubar -> Plugins -> Plugins Admin -> Available tab).

            this Hex_2_binary plugin not really very useful . i’m author of remove duplicate lines plugin already. if you should Hex_2_binary plugin make better then explain me .actually i’m week in english.

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors