Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Surround selection with ""

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
publicdomain Posted - Jun 06 2012 : 5:44:51 PM
This would be super handy - as there is already surround with ({[*# it'd be great to get some string lovin' in there too.

Thanks
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 12 2012 : 11:56:52 AM
Not really, since there is a lot of difference between using an existing command and keyboard binding, and creating a new command, keyboard binding, etc. VA Snippets are based around pre-defined blocks of text, or some context specific tokens, neither of which is going to help you with the last unfound token.
foxmuldr Posted - Jun 11 2012 : 1:46:20 PM
Would an extension to this work for my unfound token suggestion, feline? Something like:

VAssistX.VaSnippetInsertLastUnfoundToken

?

That way I could bind a keystroke to always do the duplication.
feline Posted - Jun 07 2012 : 12:47:04 PM
Out of interest when would this be useful to you? This has come up occasionally, but it is not always obvious why this would be helpful.

As a short term solution, you can use VA Snippets, with the snippet "$selected$"

If you move this to be the top item in the VA Snippet editor tree for your programming language, then this will be the first item offered when you trigger VA Snippets on selected text. You can also bind a keyboard shortcut to the command VAssistX.VaSnippetInsert if this helps.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000