"Android Studio Practical Guide" 12.18 text search tool

Blog:  http://blog.csdn.net/wirelessqa

Adapted from "Android Studio A Practical Guide"  Author: Bi Xiaopeng

Android Studio provides a very convenient search tool, which can be used in the editor's file or in the log output by Android.The usage is the same.

Open the search toolbar

1. Use Command + f in the currently edited file window to bring up the search tool.

2. Using Command + f in the Android debug window can also bring up the search tool. 
Write a picture description here

Let's introduce the search tool in the log window.

Search a complete keyword, case sensitive

As shown in the following figure, Match Case needs to be checked to distinguish uppercase and lowercase, and Words must be checked to match complete words.

Write a picture description here

The above example is that you know very clearly that the keyword to search is ActivityManager, so you can use the exact match above.

What if you don't know the case of ActivityManager?

If you want to match the result you want, remove Match Case.

Tips: Regex (regular matching) and Words cannot be used at the same time.

How to use regular matching?

More See "Android Studio A Practical Guide"  Author: Bi Xiaopeng have read starting in Baidu.


Published 188 original articles · praised 421 · 2.79 million views

Guess you like

Origin blog.csdn.net/wirelessqa/article/details/50890998