Reputation: 337
so I want to create a short cut/ template for a few very frequent code lines such as
System.out.println("someVariablesInExistingScope as String ===>>>" +someVariablesInExistingScope);
so if I can create a template or short where i just type my shortcut such as shrtcut + CTRL + SPACE
and it types the above mentioned line
Upvotes: 0
Views: 150
Reputation: 97138
You need to create a live template. You can do so in the Settings dialog (Settings | Editor | Live Tempates).
See the IntelliJ IDEA help for more information.
Upvotes: 1