Home Download Buy Blog Forum Support

Plugin Request: Select text between quotes

Plugin Request: Select text between quotes

Postby aaronmw on Tue Dec 04, 2012 9:32 pm

As the title says, I think it's high time Sublime had a super lightweight plugin for letting me bind a keyboard shortcut to "select text between quotes". As it stands, I can select text INCLUDING quotes, but really, when is that useful?

This works for brackets already, but somehow quotes were deemed less important. Editing HTML all day, this is regrettable :(

Anyone up for this? I think you'd be received as a hero by many :P
aaronmw
 
Posts: 18
Joined: Sat Feb 25, 2012 3:06 pm

Re: Plugin Request: Select text between quotes

Postby facelessuser on Tue Dec 04, 2012 9:49 pm

This feature already exists in the BracketHighlighter plugin https://github.com/facelessuser/BracketHighlighter.
facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm

Re: Plugin Request: Select text between quotes

Postby aaronmw on Wed Dec 12, 2012 7:45 pm

True, but the BracketHighlighter plugin is huge and does a bunch of other things besides this one small thing :|
aaronmw
 
Posts: 18
Joined: Sat Feb 25, 2012 3:06 pm

Re: Plugin Request: Select text between quotes

Postby facelessuser on Wed Dec 12, 2012 8:53 pm

aaronmw wrote:True, but the BracketHighlighter plugin is huge and does a bunch of other things besides this one small thing :|

You are right, BH does other things as well. You have to match quotes so that you can then select what is between them BH does the matching and yes, can do other things that are related to matching if you want it to...such as selecting content. Originally I thought about releasing some features separately, but a lot of them all required the knowing of where the matching brackets starts and stops. BH already does this...why re-code the same stuff over and over again?

I have found, if there is no plugin that does exactly what you want, the best way to get it is to code it yourself :) . I have written a number of plugins for this very reason.
facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 6 guests