A space to underline converter plugin for Sublime Text
- Total 709
- Win 433
- Mac 175
- Linux 101
|Dec 1||Nov 30||Nov 29||Nov 28||Nov 27||Nov 26||Nov 25||Nov 24||Nov 23||Nov 22||Nov 21||Nov 20||Nov 19||Nov 18||Nov 17||Nov 16||Nov 15||Nov 14||Nov 13||Nov 12||Nov 11||Nov 10||Nov 9||Nov 8||Nov 7||Nov 6||Nov 5||Nov 4||Nov 3||Nov 2||Nov 1||Oct 31||Oct 30||Oct 29||Oct 28||Oct 27||Oct 26||Oct 25||Oct 24||Oct 23||Oct 22||Oct 21||Oct 20||Oct 19||Oct 18|
This is a space to underline converter plugin for Sublime Text 3
I figured out how boring is write python methods to describe a test case typing underlines (also called underscore) instead of spaces. So I made this plugin to replace spaces contained in selected code chunks in a practical way.
test if can sum two numbers more than one spaces
After selecting a text like that above, there are many ways to activate the
Underliner command such: context menu, main menu (
Edit > Convert Case >
Underliner), command list (
[Ctrl/Cmd]+Shift+P > Convert Case: Underliner)
and the keyboard shortcut (
[Ctrl/Cmd]+Shift+U), which is my preferred option.
The expected effect is the same text with each space character replaced to a
You can do the reverse too. Same principle: select and execute the command. Spaces and underlines are counted and the most found charactere will be used as target to replace, maintaining the less found characteres.
The MIT License (MIT) - Copyright © 2014 Diego Fleury