Some eclipse experiences

Source: Internet
Author: User
1. Eclipse prompt: system. Out. println ();     Window-preferences-Java-Editor-templates. Here you can set the eclipse shortcut.
 
Description:Double-click the left brackets (parentheses, braces, and braces) to select all the content in the brackets. CTRL + Q: Go back to the last edited location

Some special annotation technologies in eclipse include:


1 .//Todo -- Indicates the to-do list that has not been completed.
2 .// Xxx -- Indicates the commentedCodeAlthough the functions are implemented, the implementation scheme remains to be discussed and hopes to be improved in the future.
3 .// Fixme-- Indicates that the commented code needs to be corrected.

4. Custom tags 
Window --> preferences --> JAVA --> compiler --> task tag

 

 

 

Use of eclipse bookmark

Why use bookmark?

Writing code is generally not written from top to bottom. It is often written between several modules. You may use the search function Ctrl + F, CTRL + C, which makes searching for locations much more painful.

Because there are several important points, such as the definition part and the core function part, you may wish to use bookmark.

1 insert bookmark

Place the cursor in the leftmost column of the important code position, right-click Add bookmark, and set the bookmark name.

2. display the bookmark View

Click window-show view-bookmarks in the eclipse menu to display the bookmark view.

3. Locate bookmark

Double-click the name in the bookmark to locate it.

 

Set the eclipse3.7 Font:
In Windows 7:
1. Control Panel-> font, find the couriernew file, right-click the file and choose "show ".
2. In the menu windows --> prefereces, find General --> appearance --> colors and fonts --> basic --> text font, click Edit, and select "couriernew.

 

Insert connection code {@ link # getheight ()}

 

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.