Android Postfix Completion

Compatible with:  IntelliJ IDEA , Android Studio
10.07.2016
31 411
Postfix completion templates for Android

Available templates:

  • .toast
    Create and show Toast
    Toast.makeText(context, expr, Toast.LENGTH_SHORT).show();
  • .log
    Log
    Log.d("log", expr);
  • .logd
    If BuildConfig.DEBUG is true, Log message.
    Log.d("log", expr);
  • .find
    Typed FindView
    (ViewType) findViewById(expr);
  • .isemp
    isEmpty
    TextUtils.isEmpty(expr);
  • .vg
    ? View.VISIBLE : View.GONE;
    (expr) ? View.VISIBLE : View.GONE;

Download plugin

Version

Update date

Recent change notes

* Add .find that generate (ViewType) findViewById(expr). * Add .vg that generate (expr) ? View.VISIBLE : View.GONE.
Anonymous
07.06.2015
awesome
Please  sign in  to leave a comment.