How to add code snippets in Android Studio IDE?

后端 未结 5 1547
独厮守ぢ
独厮守ぢ 2020-12-04 21:04

does anyone know how to add code snippets in Android Studio IDE? I didn\'t found a menu entry or something like this.

I also want to know is it possible to change th

5条回答
  •  独厮守ぢ
    2020-12-04 22:01

    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).

    Screenshot Android Studio 3.4

提交回复
热议问题