正規表現
文字検索で「//」に一致。「//.」は「//」の次に任意の一文字。
「//.*」は前の文字の繰り返し。
「.」と「*」が正規表現(Regex)。
// This is the theme of your application.
//
// Try running your application with "flutter run". You'll see the
// application has a blue toolbar. Then, without quitting the app, try
// changing the primarySwatch below to Colors.green and then invoke
// "hot reload" (press "r" in the console where you ran "flutter run",
// or simply save your changes to "hot reload" in a Flutter IDE).
// Notice that the counter didn't reset back to zero; the application
// is not restarted.
「Edit」「Replace」
上の段「//.*」を入力。下の段空白で「Replace All」で全部消せます。
「Code」「Reformat」を選択し再整形する。
コメント
コメントを投稿