Surround live template doesn't work for me
Just tried to introduce a new surround template:
Integer.toHexString($SELECTION$)
When I press CtrlAltT, the list does not contain my template, it only contains (expr) and ((Type)expr).
Context is "java", group is "surround"
Am I doing anything wrong?
Please sign in to leave a comment.
Hello Igor,
IK> Just tried to introduce a new surround template:
IK>
IK> Integer.toHexString($SELECTION$)
IK>
IK> When I press CtrlAltT, the list does not contain my template, it
IK> only contains (expr) and ((Type)expr).
IK>
IK> Context is "java", group is "surround"
IK> Am I doing anything wrong?
Press Ctrl-Alt-J instead. Ctrl-Alt-T is the hard-coded surround action, and
Ctrl-Alt-J is surround with live template.
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Igor,
which build?
-
Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
5706
Thanks, it was really CtrlAltJ
Somehow I perfectly remember CtrlAltT but do not remember CtrlAltJ, and already think that "surrounding" is CtrlAltT only...
Is it possible to have one shortcut for everything?