Global settings after installing myeclipse

Eclipse, myeclipse modify character set settings

        

UTF-8 settings in eclipse

1.windows->Preferences to open the "Preferences" dialog;

2. Then, go to general->Workspace, select Text file encoding on the right, select Other, and change it to UTF-8.

3. Web->Open, set CSS, HTML, JSP, JavaScript, XML, etc. to UTF-8.

Or change it here, general->Content Types, the Context Types tree on the right, click on Text, select Java Source File, enter UTF-8 in the Default encoding input box below, click Update, then set the Java file encoding to UTF- 8. If other changes are required, the method is the same. 

4.java->Installed JREs.

Remove the original Jdk6.0 that comes with Eclipse, and reconfigure Jdk1.6.0_06 (Add: in the C drive, under the Java file in Programe. C:\Program Files\Java)

in addition,

UTF-8 settings in myeclipse

same,

1. Under the Window option---preferences option;
2. Open preferences->General->workspace, and set UTF-8;
3. Also set UTF-8 in preferences->MyEclipse->Files and Editors->CSS, HTML, JSP, JavaScript, XML, etc. -8.
4 is also preferences->java->Installed JREs: remove the original Jdk6.0 that comes with MyEclipse, and reconfigure Jdk1.6.0_06 (Add: in the C drive, under the Java file in Programe).

Reason for modification:
If you want to make the plug-in development application have better internationalization support and support Chinese output to the greatest extent, it is better to use UTF-8 encoding for Java files. However, the default character encoding of the Eclipse workspace (workspace) is the default encoding of the operating system. The default encoding of the Simplified Chinese operating system (Windows XP, Windows
2000 Simplified Chinese) is GB18030. The project encoding created in this workspace is It is GB18030, and the java file created in the project is also GB18030. If you want to make the newly created project and java file directly use UTF-8, you need to do the above work, which cannot be ignored.

       

 

        一、Window-->Preferences-->General --> Workspace --> UTF-8

What it does: From now on, any project encoding you create is UTF-8, solving all project encoding problems at once.

        二、Window-->Preferences-->General --> Editors -->FileAssociations --> *.jsp --> MyEclipse JSP Editor

Function: For JSP files, the default opening method of MyEclipse will eat a lot of memory, and may cause the cursor to shift and change the opening method.

        三、Window-->Preferences-->MyEclipse-->Files and Editors-->JSP-->Encoding改成ISO10646/Unicode(UTF-8)

Function: After the JSP page is created, the default encoding is UTF-8, which is convenient for development, and there is no need to modify the encoding in the future.

 

        Fourth, Window-->Preferences--> Java  --> Installed JREs --> Add (Add)-->StandardVM-->Directory (default in C:\Program Files\Java\jdkx.x.x_xx)-- >Select the jdk folder and click OK-->Finish (Finish)-->Check the JRE just added-->OK

Function: Equip MyEclipse with a Java environment. The current JRE is provided by MyEclipse. We change it to our own. The default is C:\Program Files\Java\jdkx.x.x_xx.

 

        五、Window-->Preferences-->MyEclipse-->Servers-->Tomcat-->Tomcat7.x

First select Enable to make it available, then Browse to the location where your Apache-Tomcat is located, and select it.

1. JDK selects the just-configured jdk1.7.0_75

2. Launch select Run mode, and start with Run instead of Debug debugging mode every time you run.

        六、Window-->Preferences-->MyEclipse-->Servers-->IntegratedSandbox-->MyEclipse Tomcat 6-->点击Disable-->OK

Function: Remove the Tomcat that comes with MyEclipse.

        7. Generally, the initial font of MyEclipse is relatively small, and the code font and size need to be set.

1. C:\Windows\Fonts, find Courier New, right mouse button --> Display;

2. Ceneral --> Appearance --> Colors and Fonts --> Basic--> Text Font --> Edit, select Courier New font.

        八、Window-->Preferences-->General-->Editors-->Text Editors-->Appearance color options-->Background color-->Color

Function: Set the eye protection color of the workspace: Hue: 85 (original 160), Saturation 123 (original 0), Brightness 205 (original 240).

 

        9. Window-->Preferences-->Java-->Editor-->Content Assist-->(right panel) Auto Activation-->Auto Activation triggers for Java--> Fill in the 26 letters of az

Function: Code automatic prompt function to speed up Coding.

 

        Here is a list of the most basic configurations needed to facilitate development and programming or to write Web Projects after MyEclipse is installed, which is also basically applicable to Eclipse configurations.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326701640&siteId=291194637