P

Postfix Completion

JetBrains

v—

The basic idea is to prevent caret jumps backward while typing code, let you start with the some expression, explore some APIs, think about what you are going to do and after finish with statement of some type. Available templates: .if – checks boolean expression to be true – if (expr) .else – checks boolean expression to be false – if (!expr) .var – initialize new variable with expression

Code Editing
Downloads
31K
31 377
Rating
4.1 ★
3 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 3 ratings
5★ 100.0%

Reviews 6

★★★★★ stvazuzek 2014-07-27

I am quite new to Android Studio (0.8.0) but I like a lot. Today I have spent quite some time with Proguard settings and I was looking for a simple way how to remove all log statements from source code when app goes for production. I ended up with simple solution to add BuildConfig.DEBUG variable in front of each log statement. This way, when build variant is set to release in Android Studio...

★★★★★ linux_china 2013-11-11

It is a great idea, and waiting for upcoming features. :) ".for" not work in 0.1.0 version.

★★★★★ stvazuzek 2014-07-27

Solved! :) I love Android Studion even more :D http://bon-app-etit.blogspot.sk/2013/10/create-code-template-for-logd-in-eclipse.html

★★★★★ Alexander Zolotov 2014-06-30

@veggen, 'return' template cannot be applied to System.out.println because println-method is 'void'-method. If you have some problem with postfix templates please describe it at our issue tracker: http://youtrack.jetbrains.com.

★★★★★ Alexander Shvedov 2014-06-30

@veggen this plugin is built-in for IDEA versions >= 13.1, you should not install plugin from here. Make sure postfix templates are enabled in IDEA settings page.

★★★★★ Bojan Tomic 2014-06-30

I can't seem to get this to work. I have IDEA Ultimate 13.1.3 which should already have this, right? For example, I try System.out.println().return + Tab or CTrl+J and nothing happens. I looked in the available plugins for 'postfix' and got nothing. What should I do to get thisfeature?

Similar in “Code Editing”