Eclipse Basic Settings

Source: Internet
Author: User

1. Set the Java jdk:window->preferences->java->installed Jres->add

2. Set file default open mode: Window->preferences->general->editors->file assocations Select the relevant file, and in associated Select the corresponding file in the editor and set the default

3. Configure Templates Personal information: Windosw->preference->java->code type->code templates->code->new java Files Click Edit

  /**    * @author xxx    * Created on ${date} ${time}    * Copyright ${year} xxx,inc. All rights revserved.    * */   ${filecomment}   ${package_declaration   } ${typecomment}   ${type_declaration}

4. Import the Format file: Window-->preference-->java-->code style-->formatter import reportformat.xml file

5. Configure Tomcat:window-->preference-->myeclips-->application Servers-->tomcat 6 Click Enable to set Tomcat Home Directory

6. Set Tomcat memory window-->preference-->myeclips-->application Servers-->tomcat 6-->JDK

-xms256m-xmx512m-duser.timezone=gmt+08  set Tomcat secure boot-djava.security.manager-djava.security.policy= "D:/ Develope/tomcat 6.0.18 for 7.0/conf/catalina.policy "

7. Configure character encoding: Window-->preference-->general-->content Types-->text then enter utf-8-->update in the default encoding ; In turn, the Java Properties file and the character encoding are update to UTF-8;

8. Configure Ecips Memory: Add $Eclipse $/eclipse.ini file

-vmargs-xmx512m-xx:maxpermsize=192m

9. Configure the workspace tip: Window-->preference-->general-->startup and Shutdown-->prompt for workspace on Startup

10. Configure Myeclipse:help-->sofware Updates-->manage configuration-->eclipse platform above right-click-->add--> Extension location; find "D:javastudymyeclipse"; restart eclipse; a myeclipse option in the title bar;

11. Modify the shortcut key operation as follows: Ctrl+shit+l two times, first in the View selection card Select an item, switch to the Modify tab, then click the Delete button, delete and then add, the key sequence name in the contents of the change to the desired content, Then click the Add button

12. Cancel automatic validation windows-->perferences-->myeclipse-->validation except manual The check box below all selected, all other not selected

13. Manual verification Method: On the file to be validated, right-click-->myeclipse-->run validation

14. The complement keyword is defined by alt+/in Windows-parameter-workspace-key, and the category is: Edit, Name: Content assist by default is Ctrl+space.

15. Turn off auto-complete brackets window->preferences->java->editor->typeing in that enable these typing aids .... There are a lot of checkboxes in this group.

16. Change the Java Editor font windows->perferences->general->appearance->colors and Fonts Java->java Editor text Fonts Point Change

17. Change the font windows->perferences->general->appearance->colors and Fonts>basic->text of the JSP and XML editor Fonts

18. Cancel launch when update index window->preferences->myeclipse->maven4myeclipse->maven-> disabled download repository Index updates on startup

19.java Compile level Window->preferences->java->compier Select Compiler Compliance level:1.5

20. Set font size and color: window--preferences--general--appearance--colors and fonts--java--"Java Editor text font"

Eclipse Basic Settings

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.