- AuthorPosts
- September 28, 2019 at 6:39 am #26215spirosParticipant
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?September 28, 2019 at 4:44 pm #26216DavidParticipantGo 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.
September 29, 2019 at 9:46 am #26217spirosParticipantHi, 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]]
September 29, 2019 at 10:12 am #26218spirosParticipantJust 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. - AuthorPosts
- You must be logged in to reply to this topic.