Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal for configurable converter. #5

Open
deathaxe opened this issue Sep 20, 2016 · 0 comments
Open

Proposal for configurable converter. #5

deathaxe opened this issue Sep 20, 2016 · 0 comments

Comments

@deathaxe
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant