Android ctrl + left mouse button to open xml or Activity directly
- Reference:
- In eclipse, press ctrl and point the cursor to the code of R. layout. order_edit1 (general)
-
- Open declaration
- Open declaration in layout/somelayoutfile. xml
-
-
- Therefore, R. java is enabled by default.
-
- The ADT17 I used is reversed.
- Open declaration in layout/somelayoutfile. xml
- Open declaration
-
- Therefore, xml files are opened by default.
-
- Is there a way to set this?
- Because when I upgraded ADT20
- Open declaration
- Open declaration in layout/somelayoutfile. xml
-
- Currently, ctrl + click cannot open the xml file directly, which is very depressing.
- What can I do?
- Ctrl + click to directly open the xml file ???
- Solution:
- Setting Method: window --> preferences --> General --> Editors --> Text Editors --> hyperlink.
Deselect the Open Declaration check box.
- I tried it myself and it worked very well, but the problem that ctrl + left mouse clicking Activity won't jump to Activity, my solution is to set window --> preferences --> General --> Editors --> Text Editors --> hyperlink.
Click the preceding Open Declaration check box.
- I wonder if you can solve the two problems without conflict. If so, please let me know in time. Thank you!