0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AndroidStudioでLiveTemplatesを追加する方法

Posted at

前回の記事では説明でした。今回はAndroidStudioでLiveTemplatesを追加する方法です。

1. LiveTemplates設定を開く

AndroidStudio → Preferences
Editor → LiveTemplatesを選択

2. 新規テンプレートを作成

左上の+をクリック
LiveTemplateを選択

3. テンプレートを設定

Abbreviation(展開用キーワード)
Description(説明文 無しでもOK)
Template text(展開されるコード)

4. コンテキストを指定

追加数項目を右クリックをして
ChangeContext....
使いたいファイルタイプ(例:Kotlin)にチェック

#5. 保存
右下の OK を押して保存

以上で自分好みのLiveTemplatesを追加することができます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?