Any good idea on how to easy convert something like
to
thx
One way:
There might be other plugins out there to do the same, but this is the one I use. Of course, it will only work on Windows
[quote=“whololo”]
If you are using ZenCoding you can write the following:
li*5>{$}
and press Tab
UPDATE: v0.1.1 capitalize only first character in strings without affecting the remaining characters.
v0.1.0: hallo_World -> Hallo_world
v0.1.1: hallo_World -> Hallo_World
i’ve been having to go in and comment out the default Mac OSX bindings every time you update, since it took over the super-up/down shortcuts (top/bottom of document, something i use a lot apparently).
now i see this is fixed, but you’ve switched to using ctrl, which conflicts with two common shortcuts: ctrl-up/down are page-up/down and super-ctrl-up/down move the current line up/down. both of which are frustrating to have overritten (mostly the latter, which i also quickly found out i use frequently – when it wouldn’t work).
i still think this makes the most sense for OSX:
{ "keys": "alt+up"], "command": "inc_dec_value", "args": { "action": "inc_min" } },
{ "keys": "alt+down"], "command": "inc_dec_value", "args": { "action": "dec_min" } },
{ "keys": "alt+super+up"], "command": "inc_dec_value", "args": { "action": "inc_max" } },
{ "keys": "alt+super+down"], "command": "inc_dec_value", "args": { "action": "dec_max" } },
{ "keys": "super+alt+ctrl+up"], "command": "inc_dec_value", "args": { "action": "inc_all" } },
{ "keys": "super+alt+ctrl+down"], "command": "inc_dec_value", "args": { "action": "dec_all" } }
natebeaty, thanks for your proposal, but… I’m unfortunately not Mac user - I can’t recommend anything.
please see the issue#5 and issue#7
thanks, I realize I should have just sent a pull request, but was curious if these work for other Mac users. sounds like they do, great news.
I just removed this awesome plugin just because of the shortcut conflicts on the mac. totally agree with natebeaty suggestions about the shortcuts on mac.
UPDATE: v0.1.3 - added support for the mouse wheel
Instead of the arrows can use your mouse wheel.
UPDATE: v0.1.4 - Saving the position of the cursors/selections on the change
github.com/rmaksim/Sublime-Text … ue/pull/14
UPDATE: v0.1.5 - Don’t place action in undo history when nothing happens
github.com/rmaksim/Sublime-Text … /issues/15
UPDATE: v0.1.6 - (upper, lower, capitalize) works on non-ascii strings
github.com/rmaksim/Sublime-Text … /issues/20
UPDATE: v0.1.7 - Swapping the color notation in CSS
github.com/rmaksim/Sublime-Text … /issues/19
from:
color: rgba(0,17,34,0.4);
to:
color: #001122; /* alpha: 0.4 */
again:
color: rgba(0,17,34,0.4);
UPDATE: v0.1.8 - #29 Fix apply_hex_color exception
github.com/rmaksim/Sublime-Text … ue/pull/29
UPDATE: v0.1.9 - Fixed apply_integer (x -> -x when cursor before x)
great plugin. I was going to sit down and start work on essentially the same thing tonight since most of the others I found didn’t work or didn’t do what I wanted.
I’m kind of glad I found this and dissapointed I don’t get to write it all at the same time.
UPDATE: (v0.1.10) v0.1.11 - #31 ST3: Fixed - Getting TypeError in console when using the number inc/dec functions
github.com/rmaksim/Sublime-Text … /issues/31
UPDATE: v0.1.12 - #27 Added ability to autosave after incrementing
github.com/rmaksim/Sublime-Text … /issues/27
Added “autosave” in inc_dec_value.sublime-settings
UPDATE: v0.1.13 - #35 Cycle through enum with Java capitalization
github.com/rmaksim/Sublime-Text … /issues/35
“centerX”, “centerY”]
or
“screenLeft”, “screenRight”]