Android Ctrl + left mouse button to open XML or activity directly

Source: Internet
Author: User

  1. Reference:
  2. In Eclipse, press the CTRL key and the mouse points to the R.LAYOUT.ORDER_EDIT1 code when it is displayed (general)
  3. Open Declaration
  4. Open declaration in Layout/somelayoutfile.xml
  5. So the R.java is turned on by default
  6. The ADT17 I'm using is the opposite.
  7. Open declaration in Layout/somelayoutfile.xml
  8. Open Declaration
  9. So the XML file is opened by default
  10. This has no way to set
  11. Because when I upgraded ADT20, I became
  12. Open Declaration
  13. Open declaration in Layout/somelayoutfile.xml
  14. Now Ctrl+click can't open XML file directly, very depressed
  15. Is there any way to
  16. Ctrl+click Open the XML file directly???
  17. Workaround:
  18. Setup method: window-->preferences-->general-->editors-->text editors-->hyperlink.
    Uncheck the above open declaration to select it.
  19. 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.
  20. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.