EarlOfEgo EarlOfEgo - 1 year ago 81
Android Question

Code snippets in android studio

does anyone know how to add code snippets into android studio?
I didn't found a menu entry or something like this.

I would also know if it is possible to change the existing snippets?

Answer Source

To add/edit templates:

On the menu choose File -> Settings, then under IDE Settings (or Editor) go to Live Templates.

To insert a template:

On the menu choose Code -> Insert Live Template (or use it's assigned shortcut key).