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. |
|
|