Nice, that’s really handy! A quick note that this doesn’t work in IntelliJ 14 so if you’re still on that you’ll need to upgrade. I sped all the way up to the new 16 release, and it's working great for me (as long as you remember to update Build Variants if you’re testing on a device that is r21 or lower).
> On Mar 24, 2016, at 11:09 AM, Michael Comella <michael.l.come...@gmail.com> > wrote: > > Or just get it wrong sometimes? Try this out! Go into a method in any file, > type "Toast" and hit tab. This should autocomplete to: > > Toast.makeText(BrowserApp.this, "", Toast.LENGTH_SHORT).show(); > > And you can tab through to fill in the remaining values – no more creating > toasts and forgetting to call show! > > This feature is called Live Templates (and you can create custom ones) – read > more: > > https://medium.com/google-developers/writing-more-code-by-writing-less-code-with-android-studio-live-templates-244f648d17c7#.bh7fenqxy > > <https://medium.com/google-developers/writing-more-code-by-writing-less-code-with-android-studio-live-templates-244f648d17c7#.bh7fenqxy> > - Mike > _______________________________________________ > mobile-firefox-dev mailing list > mobile-firefox-dev@mozilla.org > https://mail.mozilla.org/listinfo/mobile-firefox-dev
_______________________________________________ mobile-firefox-dev mailing list mobile-firefox-dev@mozilla.org https://mail.mozilla.org/listinfo/mobile-firefox-dev