Skip to content

Proposal for configurable converter. #5

Description

@deathaxe

Hello ALLZ,

I like your hex-bin-system. It is very helpful.
I missed only one little feature - the ability to convert hex<->dec<->bin depending on syntax specific rules, so that the plugin works with each language.

In my case I needed to convert a 128 to 'H80' or 'B10...' . Or maybe 128 to 0x80 or 0b10... in python.

So I made up my mind how to solve this problem, resulting in the following repo.
https://github.com/deathaxe/sublime-hexbindec

Mybe you can have a look on it and use some lines of code to enable all SublimeText users to use the new features.

I merged all python files into one converter.py to avoid importing the default rules as defined at the top of the file.

Regards.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions