- Reference:
- In Eclipse, press the CTRL key and the mouse points to the R.LAYOUT.ORDER_EDIT1 code when it is displayed (general)
- Open Declaration
- Open declaration in Layout/somelayoutfile.xml
- So the R.java is turned on by default
- The ADT17 I'm using is the opposite.
- Open declaration in Layout/somelayoutfile.xml
- Open Declaration
- So the XML file is opened by default
- This has no way to set
- Because when I upgraded ADT20, I became
- Open Declaration
- Open declaration in Layout/somelayoutfile.xml
- Now Ctrl+click can't open XML file directly, very depressed
- Is there any way to
- Ctrl+click Open the XML file directly???
- Workaround:
- Setup method: window-->preferences-->general-->editors-->text editors-->hyperlink.
Uncheck the above open declaration to select it.
- I tried it, it worked, but the problem with it was that CTRL + the left mouse button did not jump into activity when you clicked on activity. My solution is to put
< Span style= "LINE-HEIGHT:18PX; Font-family:helvetica,tahoma,arial,sans-serif; Background-color:rgb (250,250,250) "> The above one open declaration click on the tick, you can.
- I do not know whether we can solve the two problems and do not conflict, if you have the timely notification, greatly appreciated!
Android Ctrl + left mouse button to open XML or activity directly