Home Download Buy Blog Forum Support

DuplicateLine and QuickRename

DuplicateLine and QuickRename

Postby fork on Sat Jun 12, 2010 12:15 am

Hello all, this is my first post!

I'm announcing two new plugins:

DuplicateLine
...duplicates the currently selected line. It handles multiple selections (i.e. all lines with selections will be duplicated) and all selections are preserved. There is also an alternative version that comments out the duplicated lines.

QuickRename
...makes it easy to quickly rename the file in the current view.

Both plugins have been rigorously tested and I cannot find any flaws in them, but I might very well have missed something. I would be very happy to hear what you think (preferably by mail to a.stenlund@gmail.com), especially if you have ideas for improvements.

The plugins can be found at the community wiki:
http://sublime-text-community-packages.googlecode.com/svn/pages/DuplicateLine.html
http://sublime-text-community-packages.googlecode.com/svn/pages/QuickRename.html

Happy coding!
Andreas Stenlund
fork
 
Posts: 3
Joined: Sun May 30, 2010 12:38 am

Re: DuplicateLine and QuickRename

Postby fork on Fri Sep 17, 2010 11:52 pm

Hey all, I'm bumping this topic to see if anyone has tried the plugins out and would like to share some feedback. I have not yet tried them on Sublime 1.4, so compatibility is as of yet unclear.

Anything at all, I'd like to hear it!
Are the plugins unnecessary/pointless?
Do they duplicate features of other plugins that you use? In that case, what plugin, and which implementation do you like the best (if you've tried both)?
Have you had any sort of trouble with them?
Any suggestions for improvements or added features?

I can be reached at a.stenlund@gmail.com, I don't check in here all that often.

Happy coding!

Andreas Stenlund
fork
 
Posts: 3
Joined: Sun May 30, 2010 12:38 am

Re: DuplicateLine and QuickRename

Postby rootey on Fri Sep 24, 2010 9:33 pm

Andreas,
Both plugins work fine. The only suggestion I have is to add an 'increment version' to QuickRename.
So maybe you could have:
<binding key="ctrl+r" command="quickRename"/>
<binding key="ctrl+shift+R" command="incrementFileVersion"/>

So, filename.py will have a copy called filename_v01.py.
Next time you "incrementFileVersion", it will create filename_v02.py, but also update filename.py with the latest code.
That way you can always keep other files referencing filename.py, and always have a version backup.
Might also be nice to be able to add a quick a #overview comment - as to what was changed.

thanks,
Carlos
rootey
 
Posts: 5
Joined: Sun Nov 01, 2009 12:40 pm

Re: DuplicateLine and QuickRename

Postby fork on Mon Sep 27, 2010 3:51 pm

Carlos,

Thank you for your excellent suggestion! I hadn't thought about the
versioning aspect, since I myself do that with a local hg repository,
but I do see the use of such a function. I'll see what I can come up
with, and will post back here when I have an update.

Your feedback is worth a lot to me, so again, thank you.

Happy coding!
Andreas Stenlund
fork
 
Posts: 3
Joined: Sun May 30, 2010 12:38 am


Return to Plugin Announcements

Who is online

Users browsing this forum: DoTheEvo and 8 guests