MyEclipse Common Configuration Plots

Source: Internet
Author: User
Tags java web

MyEclipse has a lot of features, but the features that we often use are not very much, and here are some useful tips to keep track of, as memos, and hope to help others. This article is mainly about documenting some useful setup techniques, such as creating projects, creating classes, setting up workspaces, and so on.

A working group (working set)

The Task force is to display the related category of multiple projects at the same time in the project management bar on the left side, while other unrelated items are not displayed, which prevents the project management bar from listing too many items, reducing interference between projects, and also the purpose of classifying items in the workspace.

    1. Select a workgroup

If you do not want to create

  2. New Workgroup

In select Workgroup, you see the New button

  3. Editing a workgroup

Two Set workspace default encoding

In Java programming, encoding is generally used UTF-8, but the MyEclipse general default encoding is determined by the operating system locale, we need to manually specify the default encoding format for the workspace.

In the window-->preferences:

Three default open mode

Many format types of files, we generally want to open a certain way, such as HTML files, we generally want to open in the MyEclipse mode in the source code. The following describes the settings for how files are opened by default.

In the window-->preferences:

 XML Recommended configuration:

 HTML Recommended configuration:

  JSP recommended settings:

Four Set right Button "new" shortcut method

When we right-click a new project or file, there are a lot of options we almost do not need, there is no need to put in the right-click shortcut menu, and some of the options we often use, but the right-click shortcut menu has no, we always need to choose other to go to the pop-up dialog box to pick. These operations are inconvenient, and the following describes how to set the right-click shortcut menu.

In Window-->customize perspective, switch to the Shortcuts tab:

To do Java Web Development, we recommend that you keep the following settings:

1. General (File, Folder)

2. Java (Class, Enum, Interface, Java Project, package, Source Folder)

3. Myeclipse/java Enterprise Project (WEB project)

4. Myeclipse/web (HTML, JSP, Servlet)

5. Myeclipse/xml (DTD, XML Basic, XML Schema)

  recommendation : When you modify again, remove the last Web and XML options, otherwise the previous "recommended retention settings" of 4 and 5 will appear duplicated

Five related source

Right-click the project in which you want to associate the source code:

  Attention:

The associated file refers to the compressed file where the source code file resides

The associated directory refers to the directory where the source code files are located

The associated jar file is not meaningful

Six set Javadoc comments

We often need to make a rule-based comment on our Java code, but there are a lot of comments that are similar, and we can set up some templates, as described below.

In the Window--> preferences:

Seven modified JSP page text content encoding

In the Window--> preferences:

Eight Install plugins

There are three main ways to install plugins: Install online, unzip the installation, create a link file

    1. Online Installation : Depending on the myeclipse version, the way you install it is also different. My personal is the version of MyEclipse 2014, at Helpàinstall from site ... and install from Catalog ... , install from site mode in the pop-up dialog directly enter the available URLs, according to the prompt next step basically can be; Install from Catalog I didn't use it, I didn't make a comment. The online installation is generally slow and is not recommended.
    2. Unzip the installation : Download the required jar, unzip the jar file into the Myeclipse8\dropins directory, this is my personal favorite way, simple and practical
    3. Create link file : Create a link file in the Myeclipse8\dropins directory, the file name is customized. The link file content: Path= plug-in directory, after the plug-in decompression, the corresponding directory can not be deleted

Note: 2 and 3 are the plug-in will be installed to download to the local installation, it is important to note that the version of the downloaded plug-in to be compatible with the version of MyEclipse, it is recommended to download a version of the plug-in before the MyEclipse date, which is generally compatible.

Welcome reprint, Reprint please specify: http://www.cnblogs.com/noah-wung/p/3965521.html

Personal public Number:Programmlife, if you are interested in the attention, the main one yards of the farmers to see what they want to sigh, can also scan the following QR code attention:

                    

MyEclipse Common Configuration Plots

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.