MyEclipse usage tips (including use of shortcut keys, smart tips, color configuration, svn build, optimized configuration, etc.) (RPM)

Source: Internet
Author: User

Transferred from: http://blog.163.com/magicc_love/blog/static/185853662201111101210847/

1. Installation

2. Registration

3. Configuration

Window----> Preferences

(1) Configuring the JDK

Java--->installed jres-Add---> JRE name---> JRE home directory---> <ok>

(2) Configure character encoding

General--Workspace--Text file encoding--Other---> UTF-8--><apply>

General--ContentTypes all document types are set to UTF-8-<Update>

MyEclipse Enterprise ...---> Files and Editors---> All subkeys are changed to UTF-8---> <Apply>

(3) Configure font, color, size

General--Appearance---> Colors and Fonts---Textfont---><Change>-->

(4) Configuring Code hints shortcut keys

alt+/common code hint keys in eclipse

General--Keys--content Assist-<remove binding>-->binding (alt+/)---> <Apply>--&G t; restart MyEclipse

Panel shutdown and Recovery

(1) To restore all the existing panels of a layout, window--->reset perspective

(2) If you want to open a panel window-->show view

4. Connect to SVN Server

(1) Install Eclipse SVN Plugin

Plug-in name Site-1.4.8.zip

Help-Softwareupdates--->find and install-and Search for new features to Install-<new archived Site >

--Find Site-1.4.8.zip and select, open <OK>--> <Finish>

When the plugin is selected, a red error message appears---> Expand, Cancel the second item Subclipse integrations--<Next>--I accept ....---> <next> ---> <Finish> <install all>---> <Yes> restart MyEclipse

Check that the installation is successful: in the upper right corner, open all panels, you will find a more SVN Repository exploring panel, stating the success

(2) Connect the SVN server using the panel provided with the Eclipse SVN plugin

Select the SVN Repository exploring Panel, right-click on the SVN repositories panel-->new--repositories Local ...---> https://172.7.31. 102:8443/svn/projectdb/homework/day2

Enter user name and password

(3) Publish the code to SVN

Go back to the Java panel, right-click on the project, select Team--Share Project---> select SVN server---> select the SVN connection you just set--and next. ---><Finish>

will automatically ask to jump to Synchronize (sync Panel)---> select project, right-->commit--> Add release Notes--->

After the second commit, synchronize the code with the SVN server before committing

(4) Download the code from SVN

In the project panel, in the blanks, right-click, select Inport--->svn-Checkout Projects from SVN---> select an SVN resource connection---> select the project you want to import under this resource---  ; <Select> Select Version---> <Finish>

5. How to solve the memory consumption in MyEclipse

① always pops up quick update error
The solution to this problem is to turn off automatic Updates
Windows > Preferences > MyEclipse Enterprise Workbench > Community Essentials,
Remove the front tick of the option "Search for new features on startup".
② Close Updating indexes
Window > Preferences > MyEclipse Enterprise Workbench > Maven4myeclipse > maven> disable Download repository index Updates on startup
③ turn off automatic validation of MyEclipse
Windows-->perferences-->myeclipse-->validation
Remove all of the build under the check box
If you need to verify a file, we can verify it individually. To do this, on the file that needs to be validated (right-click MyEclipse, Run Validation
④ start optimization, close modules that you do not need to use
Window > Preferences > General > Startup and Shutdown are listed here are the modules loaded at myeclipse startup I'll just let it load here tomcat5 tick MyEclipse Easie Tomcat 5

6. Setting the background color

① Open window->preference, eject Preference panel
② Expand the General tab, select the Editors option, expand.
③ Select text Editors and the text Editors panel appears to the right.
There is an option in the Panel: Appearance color options, which is a variety of plate color settings, one of which is background color, choose the color according to your preference.
④ Select background color, tick off system Default, click ' Color ', pop up the color selection panel, select the color you prefer, and click OK.
⑤ return to Editors, click Apply.
Expand Test Editors, there are other options, such as the color style of the error prompt, and if you are interested, try changing it.

Protective color

Point color-Other colors (others) and set hue to 85,sat (saturation) to 90,lum (brightness) to 205. Then click Add to Custom color (add to Custom colors)

7.MyEclipse Updating indexes function, but if the resources of the machine is more tense (especially when using MAVEN), it will bring a lot of trouble, because in updating indexes, the machine will become very card ( I have been stuck every time, I do not know why myeclipse in this operation, why the use of so many resources, the hard drive light has been lit.

Here's how to turn off this feature:

Window = Preferences = myeclipse Enterprise Workbench = maven4myeclipse = maven=> Disable Download repository Index updates on startup

Yes, take care of it. If you need to download it, direct cmd maven install is OK.

As for optimizing myeclipse, removing modules that do not need to be loaded a system 20% function is often able to meet 80% of the requirements, MyEclipse is no exception, we only need 20% of the system function most of the time, so you can disable some modules do not use the boot load. Open the Configuration window via Windows-preferences, then select the General-startup and Shutdown on the left, this time on the right shows the module that was loaded at eclipse startup, and can remove some modules according to your actual situation.

Windows–>perferences–>general–>startup and shutdown turn off useless startup items: How do you know which startup items are useful? I now know the use of the start-up to say, there are many do not understand, I hope you understand the reply in the following AH: WTP: A similar thing with MyEclipse, the main difference is that WTP is free, if you use MyEclipse, this can be canceled Mylyn: Team task management tools, Similar to CVS, managing project progress in a task-based way, useless to cancel Derby: a database saved as a jar, I'm useless, cancel a large row of MyEclipse Easie start items: MyEclipse supported servers, only choose their own, other cancellation, Like I chose Tomcat. Cancel MyEclipse automatically validate project profile at startup by default MyEclipse automatically validates each project's profile at startup, which is a time-consuming process that can be selected in the Preferences window Myeclipse-validation, and then just keep the manual item in the validator list on the right. If you need to verify the time only need to select the file, and then right-click on the Myeclipse-run validation.

Windows–>perferences–>myeclipse–>validation except manual below all points off, build under only left Classpath dependency Validator Manual verification Method: On the file to be verified, right-click the –>myeclipse–>run validation spell check will bring us a lot of trouble, our method naming will be the abbreviation of the word, he will also hint wrong, so it is best to remove, not much use:

Windows–>perferences–>general–>validation->editors->text editors->spelling MyEclipse Open JSP The default editor is not good, will also open the preview windows–>perferences–>general–>editors->file associations, change the default to MyEclipse JSP editor

8. Error message

Failure activating drop-ins

Pulse have automatically detected dropt-ins added or removed from your configuration The following are a report of report O f the software detected by Pulse

The following sofware could not be provisioned:

The solution is as follows: Remove the com.genuitec.pulse2.common.http_2.6.1.200905042000 under Myeclipse->plugins in MyEclipse7.5 and remove Myeclipse->plugins->com.genuitec.pulse2.common.http_2.7.0.v200909260100.jar in MyEclipse8.0.

9. Modify the author of the MyEclipse comment

    • Writes @author attribute to death.

Open the parameter Settings panel from the menu window->preferences and select:

Java, code Style, code Templates, on the right, select comments, put the types item in it, and then select "Edit" on the right to enter edit mode, which will @author ${user} in ${user} Change to your own name.

    • Modify User Name

Control Panel-Computer Management-Local Users and groups-user

Use the Administrator account login can modify the user name, and then restart the computer, OK.

PS:XP HOME EDITION does not guarantee its availability.

10.MyEclipse Auto-prompt shortcut key modification

 First, MyEclipse select Windows->preperences->general->keys to find the shortcut keys for Word completion. Second, delete the original alt+/!        This must be deleted, alt+/is not in this position. Third,  find content Assist and change the content Assist shortcut to alt+/so that when you write the code, press ALT + /It will be automatically prompted. 

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.