工欲善其事 settings for its prerequisite--myeclipse

Source: Internet
Author: User

When we take over or learn a new tool or something like that, we always use instant learning, that is, just when you are learning a project based on a video, you simply knock at an example, instead of learning a tool specifically, because many people would think it would be time-consuming and laborious, I think it is better to spend more time to learn knowledge and write more code.

In fact, this is not the case, the tools used well, then our study will be more effective, the following we talk about how to learn and use MyEclipse.

1. Introduction

My Eclipse is a plugin for eclipse, so what's the difference between MyEclipse and eclipse? MyEclipse is a plug-in for Eclipse, MyEclipse is primarily web-based, and Eclipse has to install a myeclipse plug-in or a plugin that supports Java EE to develop the Java Web, or you can use ant to Build a Java Web project.

MyEclipse is a very good collection of Eclipse plugins for the development of JAVA,J2EE, MyEclipse is very powerful and supports a wide range of support, especially for various open source products. MyEclipse can support a number of features such as the Java SERVLET,AJAX,JSP,JSF,STRUTS,SPRING,HIBERNATE,EJB3,JDBC Database linking tool. It can be said that MyEclipse is the exclusive Eclipse development tool that includes almost all the mainstream open source products.

2. Common settings   ? Shortcut key Settings 

Here are a few of the most common is also the application of a number of high frequency shortcuts, others can go to their own exploration and research ah.

switching of the first directory and window switching  

In general, we know, for example, browsers and VS, and so on, they default to the ALT + TAB implementation is the window switch, and CTRL+TAB implementation is the current page directory switch.

But in the myeclipse we will find that the window switch is also available, but the directory switch uses the previous key is not implemented, so we need to re-set.

The settings are as follows: Windows--preference


This allows you to switch between the front and back directories via shortcut keys.

Rectangle Operation  

use the shortcut key Alt+shift+a to implement the selection of the corresponding column, that is, the rectangle operation .

? Smart Hints for Code 

What is a smart hint for code? When we enter S, the start of S will show up to improve the efficiency of our coding.

First, find window→Preferences→Java in the myeclipse menu bar →Editor→Content Assist,

Then change the value of autoactivation delay to a smaller value, say 20, the default is 200, and then the auto activationtriggers for Java value "." Change to ". ABCD" (just as an identifier), then apply it and close the Settings window.

Then find file→export→general→preferences in the menu bar, export the file to a pre-established text document, then open the text document and find the identifier ". ABCD" that you just made, and modify it to ". Abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz "( remember not to miss ". ) number ), and then save it.


Go back to MyEclipse, find the File→import→general→preferences and import the text document that we just modified.

  The smart hint of the code implemented by the key "alt+/" when we enter the SYS, i.e. System.out.println ();

? Set code to be formatted automatically when saving  

Open windows--> "Preference (Preferences)


? Custom code blocks 

 3. Summary

MyEclipse use here I just throw a very small factor, about the more flexible application also need everyone to explore, only the flexible use of tools can be really flexible code, familiar with a tool is not a waste of time but in improving the efficiency of our work, everyone refueling, continue to discover it.

工欲善其事 settings for its prerequisite--myeclipse

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.