Eclipse Code shortcut keys

Source: Internet
Author: User

I finally found it today.
Code comment shortcut key: ctrl+shift+/
Uncomment the shortcut key: ctrl+shift+\

Java files:
The shortcut keys for commenting and canceling comments are: CTRL +/or Shift+ctrl+c

JS file:
The shortcut keys for commenting and canceling comments are: CTRL +/or Shift+ctrl+c

XML file:
Note: Select the code you want to unregister Ctrl + SHIFT +/or check the code by SHIFT+CTRL+C
Uncomment: CTRL + SHIFT + \ or Shift+ctrl+c

JSP file:
HTML section:
Note: Select the code you want to unregister, Ctrl + SHIFT +/or (no code required) Press Shift+ctrl+c
Uncomment: Ctrl + SHIFT + \ or CTRL + Z (if pressed shift+ctrl+c)

JS section, Java section:
Note: Select the code that you want to comment, press shift+ctrl+/ (by//comment) or press shift+ctrl+c (by//comment)
Uncomment: If you press shift+ctrl+// /Comment can only press CTRL + Z to revoke, if//, then press Shift+ctrl+c uncomment

HTML file:
Note: Shift+ctrl+c (do not need to check the code) or select the code to unregister Ctrl + Shift +/
Uncomment: CTRL + SHIFT + \ or Shift+ctrl+c

Ctrl+shift+o Open Type
Ctrl+shift+l finding text
Ctrl+shift+r Opening a resource
ctrl+alt+ up and down arrows to copy rows
ALT + up and down arrows are moved up and down
ctrl+shift+x/y Case Switching
Ctrl+l to which line

Eclipse Code shortcut keys

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.