Home Download Buy Blog Forum Support

Inc-Dec-Value (ST2 and ST3)

Re: Increase/Decrease number by delta_value

Postby rmaksim on Tue Nov 08, 2011 11:42 am

Inc-Dec-Value: moved to a separate repository https://github.com/rmaksim/Sublime-Text-2-Inc-Dec-Value
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Increase/Decrease Value

Postby rmaksim on Tue Nov 15, 2011 10:28 am

UPDATE: Support dates in ISO format "YYYY-MM-DD"

Image

The increase in year / month / day is its own, without checking the validity of the resulting date.
For days, the value of loops between 1 and 31, for months - loops between 1 and 12.
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Increase/Decrease Value

Postby rmaksim on Tue Nov 15, 2011 10:29 am

UPDATE: BONUS - string actions - uppercase/lowercase/capitalize

Image

Pressing the key `alt+up` makes the first letter in the word in Uppercase (Capitalize) without affecting the remaining characters.
Pressing the key `super+up` makes the word in UPPERCASE.
Pressing the key `alt+down` or `super+down` makes the word in lowercase.
Last edited by rmaksim on Mon Dec 26, 2011 5:14 pm, edited 2 times in total.
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby bizoo on Tue Nov 15, 2011 11:37 am

Nice plugin, thanks for sharing.

Could you put it in the Package Control repository to simplify the installation and make it more visible for the users ?
bizoo
 
Posts: 886
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby rmaksim on Tue Nov 15, 2011 12:07 pm

bizoo wrote:Nice plugin, thanks for sharing.

Could you put it in the Package Control repository to simplify the installation and make it more visible for the users ?


"PackageControl" - I have not used it yet. It's really good?
I'm still doing everything manually.
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby bizoo on Tue Nov 15, 2011 12:44 pm

rmaksim wrote:"PackageControl" - I have not used it yet. It's really good?
I'm still doing everything manually.

Yep, it really make life easier, especially for the automatic update of the plugins.

Simply clone the repository (https://github.com/wbond/package_control_channel), add your plugin and send a pull request.
You could also put a link to github/bitbucket in the Packages\User\Package Control.sublime-settings for plugins not in the central repository (what I've done for your plugin and a few others).
bizoo
 
Posts: 886
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby senzo on Tue Nov 22, 2011 9:27 am

+1 for adding this to Package Control (This would really help to discover this nice plugin for potential users - http://www.sublimetext.com/forum/viewtopic.php?f=4&t=3831)
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby kuroir on Tue Nov 22, 2011 11:27 am

This plugin is totally awesome. Thank you very very much!
kuroir
 
Posts: 71
Joined: Thu Sep 01, 2011 11:28 pm
Location: Mexico

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby rmaksim on Wed Nov 23, 2011 11:53 am

senzo wrote:+1 for adding this to Package Control (This would really help to discover this nice plugin for potential users - http://www.sublimetext.com/forum/viewtopic.php?f=4&t=3831)

I sent pull request https://github.com/wbond/package_contro ... el/pull/42
Probably have to wait a bit.
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

Re: Inc-Dec-Value +BONUS:string actions(upper/lower/capitalize)

Postby rmaksim on Mon Nov 28, 2011 10:23 am

UPDATE: v0.1.0

opposite relations or cycled enumerations
true/false, True/False, TRUE/FALSE, left/right
also
truE > false, tRUe > false, FaLsE > true, LeFT > right`

Pressing the key `super+alt+up/down` changes the value under the cursor ("true" or "false") to the opposite

Version 0.1.0 adds the ability to cycle more than two values:

"Jan" > "Feb" > "Mar" > ... > "Dec" > "Jan"

Example of settings see in https://github.com/rmaksim/Sublime-Text-2-Inc-Dec-Value/blob/master/inc_dec_value.sublime-settings

also in v0.1.0 settings added to the menu

Preferences -> Package Settings -> Inc-Dec-Value (Settings and Key Bindings)
rmaksim
 
Posts: 59
Joined: Sat Jul 02, 2011 7:31 pm

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests