Android ctrl + left mouse button to open xml or Activity directly

Source: Internet
Author: User

Android ctrl + left mouse button to open xml or Activity directly

  1. Reference:
  2. In eclipse, press ctrl and point the cursor to the code of R. layout. order_edit1 (general)
  3. Open declaration
  4. Open declaration in layout/somelayoutfile. xml
  5. Therefore, R. java is enabled by default.
  6. The ADT17 I used is reversed.
  7. Open declaration in layout/somelayoutfile. xml
  8. Open declaration
  9. Therefore, xml files are opened by default.
  10. Is there a way to set this?
  11. Because when I upgraded ADT20
  12. Open declaration
  13. Open declaration in layout/somelayoutfile. xml
  14. Currently, ctrl + click cannot open the xml file directly, which is very depressing.
  15. What can I do?
  16. Ctrl + click to directly open the xml file ???
  17. Solution:
  18. Setting Method: window --> preferences --> General --> Editors --> Text Editors --> hyperlink.
    Deselect the Open Declaration check box.
  19. 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.
  20. I wonder if you can solve the two problems without conflict. If so, please let me know in time. Thank you!

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.