0
0

More than 1 year has passed since last update.

AndroidStidioファイル内のコード置換方法(Mac)

Posted at

今回はxmlなのでViewのidの名前を変更するときなど、ConstraintLayoutを使用しているとViewのidを複数箇所に記載している事などがあるので、その場合に便利だったりします。

ファイル内のコード置換方法

command + Fでまず、検索を表示させます。
ここにリネーム前文字を入力します。

command + Rでリネーム後の文字を入力します。

Replaceを押すと置換されます。
Replace Allはファイル内全て置換されます。

スクリーンショット 2022-08-21 19.24.06.png
このスクリーンショットの場合androidがappに置換されます

以上です。

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