How can you automatically surround text with other text?
In the editor I would like to have a shortcut to automatically surround a word (at the current caret position) or selected text with some text that I can define.
For example I would like to be able to highlight some text and surround it with {@code}{@code}
I'm using 11.1.4 Ultimate.
Thanks,
-Noah
请先登录再写评论。
Hello,
There is no built-in action that does that. However, you can try to create a macros, bind it to a hotkey and use as an action.
Denis
You can define you own Live Template to do that and invoke it with ctrl-alt-t.
