Skip to content

Instantly share code, notes, and snippets.

@JcMinarro
Created September 13, 2014 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JcMinarro/e2103bca23cfc7015e2b to your computer and use it in GitHub Desktop.
Save JcMinarro/e2103bca23cfc7015e2b to your computer and use it in GitHub Desktop.
LiveTemplate AndroidStudio
Crashlytics.log(android.util.Log.ERROR, TAG, "[$CLASS$ - $METHOD_NAME$] - (line $LINE$): " + "$END$");
Crashlytics.logException(e);
Crashlytics.log(android.util.Log.DEBUG, TAG, "[$CLASS$ - $METHOD_NAME$] - (line $LINE$): " + "$END$");
//@author - $AUTHOR$ @date - $DATE$ @time - $TIME$
//FIXME: [$CLASS$ - $METHOD$] - $END$
android.util.Log.d(TAG, "[$CLASS$ - $METHOD_NAME$] - (line $LINE$): " + "$END$");
android.util.Log.e(TAG, "[$CLASS$ - $METHOD_NAME$] - (line $LINE$): " + "$END$", e);
private static final String TAG = $className$.class.getSimpleName();
Toast.makeText($className$.this, $END$, Toast.LENGTH_SHORT).show();
//@author - $AUTHOR$ @date - $DATE$ @time - $TIME$
//TODO: [$CLASS$ - $METHOD$] - $END$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment