问题
I can't use the Find or Replace feature with text selection in my Android Studio.
The result always shows No occurrences of 'xxx' found in Selection.
My Android Studio version is 1.2.2. Even today I updated the Android Studio into the newest 1.3.0, it still doesn't work. But my friend's one works.
My computer OS is Windows 8.1. My friend's one is Windows 7.
I had tried to re-install Android Studio without removing the user settings. Still doesn't work.
Any idea ?
回答1:
I don't know if it's working in windows, but in mac cmd + R, try ctrl + R
回答2:
Are you trying to find the phrase _camera in the current selection? If so just use find and replace (ctrl + F) on the whole java file rather than Find in files and limiting the scope to the selection.
来源:https://stackoverflow.com/questions/31738911/find-or-replace-for-text-area-selection