Author |
Topic |
|
publicdomain
Starting Member
1 Posts |
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 |
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
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. |
zen is the art of being at one with the two'ness |
|
|
foxmuldr
Tomato Guru
USA
416 Posts |
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
Whole Tomato Software
United Kingdom
19022 Posts |
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. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|