live-templates
How to set default value of variable in live template in Intellij IDEA?
I was wrong about Default value field. I don’t need this in my case. I need to fill Expression field. If I want just paste some string as default value I should put this string in quote in Expression. So now my variable settings look this way And everything works how I want!
Auto-generate Android Log TAG in Android Studio/Intellij idea
I find a solution 1) Create a new live template in plain group 2) In template text : private static final String TAG = $CLASS_NAME$.class.getSimpleName(); 3) Define a usage scope : 4) Choose a shortcut : finally click on Edit variables and change expression value to className() Click Ok , Apply, Ok and use.
How To Insert Incrementing Numbers with words by Multicursor in jetbrains IDE(IntelliJ IDEA)?
You could use String Manipulation plugin to do that (Increment/Decrement | Increment duplicates or Create sequence).
Intellij Live Template
Check some other templates that already use the current class name:
Choose position of cursor after a live template
Sure. Just put the special $END$ variable to that position. Help documentation: https://www.jetbrains.com/help/idea/template-variables.html#pdtv