Jiro Laboratory

C#、ASP.NET、JavaScript、Androidとか

Android Studio - Tip of the Day : Ctrl + w で単語を起点に選択範囲を拡大

エディタ上で Ctrl + W を押すとカーソル位置にある単語を選択状態にできます。
さらに、Ctrl + W を続けて押すことで、行、コードブロック、メソッド全体というように選択範囲を拡大していくことができます。
また、ダブルクリックでも単語を選択することが出来ます。

Ctrl+W (select word) in the editor selects the word at the caret and then selects expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc. You can also select the word at the caret and the expanding areas of the source code by double-clicking the target areas in the editor.