How can MyEclipse be set up for optimal performance?

Time:2022-5-17

Briefly introduce MyEclipse! MyEclipse enterprise workbench (MyEclipse for short) is an extension of the eclipse ide. Using it, we can greatly improve the work efficiency in the development and release of database and Java EE and the integration of application server. It is a Java EE integrated development environment with rich functions, including complete coding, debugging, testing and publishing functions, and fully supports HTML, struts, JSP, CSS, JavaScript, spring, SQL and hibernate

With the update of the version, the function of MyEclipse is becoming more and more powerful and the volume is becoming larger and larger. You should feel that there will be a feeling of card every time you open MyEclipse. So how to set the best MyEclipse (the same for eclipse), MyEclipse 8 0 above the best settings, so that your MyEclipse no longer card.

ICancel the automatic file verification of MyEclipse (the reason for the card)

1、Windows –> Perferences –>Myeclipse –> Validation,Keep the manual sectionOnly “classpath dependency validator” is left under build.

2. Manual verification: right click file – > MyEclipse – > Run Validation 。

2、 Set the project code of the workspace to prevent random code:

1. First open window – preferences – General-Workspace ;

2. Select “text file encoding” as“Other” – “UTF-8″。

3. To change the code of an existing item: right click the item property and select“Text file encoding”。

IIISet the encoding of other files:

1. First go to window – > Preferences – > General – >Content Types;

2. Set the encoding of the file to be set,It is better to set UTF-8 uniformly;

3. After setting, if JavaScript files can display Chinese normally;

4、 Set the default code of JSP to UTF-8:

1、Window -> Preferences -> MyEclipse -> Files and Editors -> JSP

2. Select encoding as“ISO10646/Unicode(UTF-8)。

5、 Remove the blank lines in the page when formatting jsp:

1、Window -> Preferences -> MyEclipse -> HTML -> HTML Source;

2. Check“Clear all blank lines”。

6、 Enhance the automatic code prompt function of Eclipse:

1. First, go to window – > Preferences – > java – > editor – > Content Assist。

2. Set “auto activation triggers for Java” to “. ABC” (the default is “.”), Point““Apply”.

3. Export the current eclipse configuration file: File – > export – > General – >Perferences, select the save path and save*. EPF file.

4. Open the saved *. With a text editor EPF file, search “. ABC”, change the “. ABC” part to “. Abcdefghijklmnopqrstuvwxyz”, (the above is the trigger character of automatic prompt, set according to personal habits), and save this configuration file (I don’t think it is easy to use and easy to make mistakes).

5. Import this configuration file: File – > Import – > General – > Perferences, Import the modified configuration file The first option is the reaction time, which can be set to about 100 (200 by default).

[tips] by default, you can only press “.” Or “Alt + /”, which is not powerful enough. Make a small setting to make the code prompt function as convenient as vs.
 

7、 Highlight where the same reference in the class is used:

1. First, go to window – > Preferences – > General – > editors – > texteditors – > Annotations。

2. Select “occurrences” to seduce “text as” ->“Highlighted” or “squiggles”.

8、 Link with editorThis option means that after the class is opened, the location of the class will be automatically displayed in the package manager.

9、 Auto update off:

1. Eclipse: first go to windows – > preferences – > install / update – > automatic updates, and don’t check it“Automatically find new updates and notify me“。

2、Myeclipse:

1) First, windows – > preferences – > MyEclipse… – >Community Essentials&nbspDo not check “search for new features at startup”.

2)Windows –> Perferences–> MyEclipse… -> Maven4MyEclipseDo not check “download repository index updates on startup”.

Eclipse, do not check “download repository index updates on startup”.

10、 Cancel spell check:

[tip]: I love to write wrong words deliberately, so I don’t need the system to check them for me.

1. First, go to windows – > privileges – > General – > editors – > text editors – >Spelling

2、Remove the check mark of “enable spell checking”.

11、Close unneeded startup items

Under MyEclipse compiler: first enter windows – > qualifications – > General – >Startup and Shutdown 。 I only keep the following items: order down

1. Tomcat6: necessary

2. Memory monitor: you can view the memory used by MyEclipse. I like this tool(Open MyEclipse – Utilities – Show heap status in the menu)

3. JSP debug tool, in fact, I haven’t used it. I’m afraid I’ll use it one day

4. File creation wizard (often used by individuals)

5. It means backward compatibility. I’m afraid I’ll use it one day, but it’s rarely used, which can be removed

6. Perspective, should be able to remove it

[tip] in fact, only Tomcat6 is selected.

Relevant recommendations:

How does MyEclipse set up spring support?

How to add external Tomcat in MyEclipse 2016?

What should I do when the cursor turns black when I edit MyEclipse?