Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Configuring Eclipse Note Templates     - Ubuntu iptables prevent IP attacks (Linux)

- Linux compression and decompression command (Linux)

- MyCAT log analysis (Database)

- Install Apache streaming media services on CentOS 6.4 (Server)

- Use Elasticsearch + Logstash + Kibana set up centralized log Practice Analysis Platform (Server)

- MySQL binlog automatic cleanup script (Database)

- Spring inject a type of object to enumerate (Programming)

- Linux server is how to do after the invasion (Linux)

- When Linux virtual machine to another copy of the operating system, a static IP NAT mode Invalid (Linux)

- MongoDB3.0.6 wiredtiger MMAPv1 (Database)

- C ++ inheritance and derived (induction principle) (Programming)

- Hibernate in profile (Database)

- build Android environment on Ubuntu 12.04 (Server)

- How to configure FirewallD in RHEL / CentOS 7 and Fedora in (Linux)

- Linux Beginner Guide: Installing packages on Ubuntu and Fedora (Linux)

- C language programming entry - macro definitions and enum (Programming)

- Boost notes --Asio - (1) a simple small example of synchronous communication (Programming)

- How to manage and use Logical Volume Management LVM in Ubuntu (Linux)

- Struts2 configure a static resource files without Struts processing (regular match) (Programming)

- Installation Mate Desktop in FreeBSD 10.1 (Linux)

 
         
  Configuring Eclipse Note Templates
     
  Add Date : 2016-08-07      
         
       
         
  Note template set entry:

Window-
Files (Files) comment tags:

/ **

 * Copyright © $ {year} Company name. All rights reserved.

 *

 * @Title: $ {File_name}

 * @Prject: $ {Project_name}

 * @Package: $ {Package_name}

 * @Description: $ {Todo}

 * @author: $ {User}

 * @date: Date {time}

 * @version: V1.0

 * /

Type (Types) comment tags (class notes):

/ **

 * @ClassName: $ {Type_name}

 * @Description: $ {Todo}

 * @author: $ {User}

 * @date: Date {time}

 * $ {Tags}

 * /

Fields (Fields) comment tags:

/ **

 * @fieldName: $ {Field}

 * @fieldType: $ {Field_type}

 * @Description: $ {Todo}

 * /

Constructor Tags:

/ **

 * @Title: $ {Enclosing_type}

 * @Description: $ {Todo}

 * $ {Tags}

 * /

Method (Constructor & Methods) Tags:

/ **

 * @Title: $ {Enclosing_method}

 * @Description: $ {Todo}

 * $ {Tags}

 * @return: $ {Return_type}

 * /

Cover method (Overriding Methods) Tags:

/ * (Non Javadoc)

 * @Title: $ {Enclosing_method}

 * @Description: $ {Todo}

 * $ {Tags}

 * $ {See_to_overridden}

 * /

Representative Method (Delegate Methods) Tags:

/ **

 * $ {Tags}

 * $ {See_to_target}

 * /

getter methods tab:

/ **

 * @return The $ {bare_field_name}

 * /

setter methods tab:

/ **

 * @param Paramthe {bare_field_name} to set

 * /

Or can be downloaded from the Internet configured .xml file to be imported.

 PS: After setting according to the above method, be sure to windows-> Preferences-> general-> Content Types, the right of Context Types tree, opening the Text, select Java Source File, in the following input box Default encoding UTF -8 points Update, is set Java file encoding is UTF-8, otherwise there will be character encoding issues.

 

After the above settings, you can use the keyboard shortcut Alt + Shift + J to quickly generate documents annotated. Use as follows:

Header comments:

Use New-> Class method to generate files in the dialog box to create a class of options are prompted to generate comments, default is selected. There is thus generated .java file in the file header with copyright information provided above. If using New-> File established method java files are not automatically generated header files copyright information must be entered manually.
Methods, classes, fields, etc. Note:

This type of comment only need to select the method name, class name, or the field names and then use Alt + Shift + J to automatically generate comments and information to complement.
     
         
       
         
  More:      
 
- Ubuntu installed Gimp 2.6.11 (stable version) with PPA (Linux)
- Oracle GoldenGate tutorial Second, configure and use (Database)
- ELKstack log analysis platform (Server)
- Ubuntu rights management common commands (Linux)
- MongoDB 3.0 New Features (Database)
- The basic principles of AIX system security (Linux)
- Depth understanding of JavaScript new mechanism (Programming)
- How to force Linux users to change the initial password the first time you log in (Linux)
- Debian (Wheezy) Install Java environment / replace OpenJDK as the SUN JDK (Linux)
- STL source code analysis - iterator each container classification (Programming)
- Linux System Getting Started Learning: The Linux log (Linux)
- 12 novice Linux command must learn (Linux)
- IntelliJ IDEA run in Mac10.9 and JDK7 environment (Linux)
- Tmux Getting Start (Linux)
- Linux environment SSH login password instead of using the RSA Certificate (Linux)
- Linux firewall settings instance (Linux)
- Oracle table space create large files (Database)
- Detailed installation OpenCV2.3.1 under CentOS 6.5 (Linux)
- Android HTTP request with Get Information (Programming)
- After restarting network services, DNS address failure (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.