After Keymap matches the Eclispe shortcut key, many people find that the shortcut key "Ctrl + Shift + G" is not working to check where resources or functions are referenced.
After you select a function, you can use this shortcut key to find that the cursor will only jump to the place where the function is referenced in the class. Why?
First, let's analyze the work done by the IDE after Keymap is selected and the reason why the shortcut key fails after the selection. Android Studio sets KeyMap
Eclipse maps shortcuts, but the number of shortcuts in Android Studio is different from that in Eclipse, such as Android
There are 100 shortcut keys in Studio, 95 in Eclipse, and 95 in the same shortcut operation point of Android Studio and Eclipse. Of course, the actual
This is definitely not the case. The ing can only map public parts. Therefore, after the ing is completed, many people will find that the shortcut keys used in Eclipse are in Android
Studio cannot be enabled.
There are two causes of unavailability:
1. Android Studio cannot find the same shortcut key function as Eclipse, And the ing fails.
2. Another reason is that the functional Shortcut Keys mapped in Android Studio conflict with those not mapped.
3. the shortcut key must be triggered under certain conditions to be effective.
The reason is found, so how can we solve it? At this time, we can only find the shortcut key setting options, find the corresponding functional points, and set the shortcut key you want.
Of course, for cause 3, this is not a solution.
To put it bluntly, if you don't want to manually modify the shortcut key after the ing is completed, you can check the classes in which resources or functions are referenced. Currently, I know three methods:
1. Shortcut Key: Ctrl + G. This method is the simplest. In fact, this shortcut key corresponds to Ctrl + Shift + G in Eclipse.
2. Shortcut: Ctrl + Alt + Shift + F7. This method is the complex version of the first method. You can make some choices in the pop-up dialog box.
3. Shortcut: Ctrl + H. This is the search function. Find in path.
Later, I will organize all invalid shortcut keys into an article and write an article dedicated to explaining the shortcut keys.