I would like to be able to select a string, then hit a shortcut and get that string enclosed in brackets, I.e. [[get that string enclosed in brackets]] (or in any other character I may want).
How can this be done?
Go to “properties for current configuration” and activate the wanted brackets, such as (),[],{}………
In Editor,place the cursor at the first backet and press Ctrl+Shift+] to select the string enclosed in brackets. Here a small GIF.
Hi, thanks. I do not want to select a string enclosed in brackets already. I want to be able to select a non-bracket string and add with one shortcut double brackets at the end and the beginning so that for example the word test when selected becomes [[test]]
Just selecting text and pressing “[” results in text surround in one bracket from each side. In my case I need 2 on each side.
Ctrl+Shift+] simply selects string enclosed in brackets, which is not something I need.
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Questions and Answers about Macros’ is closed to new topics and replies.