Reputation: 33
While we are typing a string is there any way, except pressing right arrow button, to go out of double quotation in Android studio
or intellij-idea
(for example a kind of shortcut or something)
If it inserts a comma and goes to next empty field it would be better also.
for example:
Log.i("stingLogName|") ==> Log.i("stingLogName", |)
(i've shown blinking cursor with |)
Upvotes: 0
Views: 151
Reputation: 2770
You can achieve this in Android Studio (and of course in intelij) with Live Templates
.
But you can move from field to field with Tab button (default) or if you want Space or Enter by selecting it in the Live Templates settings.
Usage:
OnCreate
method for example)logi
and press Tab ( or type Ctrl+J and select an element from the list)You can find more information here IntelliJ Live Templates
Hope it helps
Upvotes: 1