Reprint: http://blog.sina.com.cn/s/blog_7e4015380100tt9j.html
The following contains all the directives that can be used in Eclim and provides a brief reference usage.
Full Region instruction Set ¶
:P Ingeclim-Connect the ECLIMD server.
: Shutdowneclim-Close the ECLIMD server.
: eclimsettings-Browse/Edit region-wide setting options.
Project Project Instruction Set ¶
:P rojectcreate < folders > [-P < project name;]-N <nature> ... [-D < dependent projects > ...] -Create a new project.
:P rojectlist-Displays the current list of projects.
:P rojectsettings [< project name;]-Browse/Edit project Settings options.
:P Rojectdelete < project name >-Deletes the specified project.
:P Rojectrefresh [< Project name > < project name > ...]-update the list or all of the projects, which will update the set value to the actual disk file.
:P Rojectrefreshall-Same as: Projectrefreshall instruction, but updates all the projects.
:P Rojectopen < project name >-open Old Project.
:P Rojectclose < project name >-Close the project.
:P ROJECTCD-Change the working directory for the entire region to the project directory where the current archive is located (that is, execute: CD).
:P ROJECTLCD-Change the current working directory to the project directory where the current file is located (that is, execute: LCD).
:P rojecttree [< Project name > < project name > ...]-Opens a tree-like table of navigation for one or more projects.
:P Rojectstree-Opens a tree-like table of navigation for all projects.
:P rojectgrep/<pattern>/File_pattern [File_pattern ...]-use the: Vim[grep] Command function in the project root directory.
:P rojectgrepadd/<pattern>/File_pattern [File_pattern ...]-use the: VIMGREPA[DD] Command function in the project root directory.
:P rojectlgrep/<pattern>/File_pattern [File_pattern ...]-use the: Lv[imgrep] Command function in the project root directory.
:P rojectlgrepadd/<pattern>/File_pattern [File_pattern ...]-use the: LVIMGREPA[DD] Command function in the project root directory.
Eclipse. Classpath Maintenance Instruction Set ¶
: Newsrcentry < catalogue > [< directory > ...]-add a new source code node.
: Newprojectentry < project name > [< project name > ...]-Add a new project node.
: Newjarentry < Archives > [< Archives > ...]-add a. jar file node.
: Newvarentry < parameters/Archives > [< parameters/Archives > ...]-Add a parameter node.
: variablelist lists the classpath parameters that can be used and the corresponding values.
: Variablecreate < name > < path >-Create or modify a variable with a name.
: Variabledelete < name >-Removes the variable with the specified name.
ANT instruction Set ¶
: Ant [< target > ...]-execute ant under current project settings.
: Antdoc [< element;]-finds and opens file files with the element or specified element at the current cursor position.
: Validate-Verify your current ant profile.
DTD instruction Set ¶
: Validate-Validates the current DTD file.
HTML instruction Set ¶
: Validate-Validates the current HTML file.
Ivy commands¶
Initial Setup < path >-Set the required Ivy_repo classpath parameters to be automatically updated. classpath file's Ivy.xml profile.
Search online Maven Repository <artifact>-Find the online database and list the results in a single window, and the user can add the results to the current project by pressing the <Enter> key.You can use this directive when editing Ivy.xml archives.
Java instruction Set ¶
: javaget-Build Java Bean getter method.
: Javaset-Build Java Bean setter method.
: Javagetset-Create Java Bean getter and setter methods.
: Javaconstructor-Creates a class of constructors, empty content, or set a preset value in the selected field.
: Javaimpl-The interface of the Super class and the implementation are listed as a method of implementation/can be overloaded.
: Javadelegate-Lists methods that manipulate the current cursor field.
Generating test method stubs. -Similar: Javaimpl action, but the method established for testing purposes.
Executing test cases and viewing the results. -[test examples] perform test examples with common build tools.
Executing test cases and viewing the results. -[Test example] to view the execution results of the test example.
: Javaimport-import the current cursor position class.
Pattern Search [-P <pattern>] [-t <type>] [-X < inner content;]-Look for categories, methods, fields, etc. (using the pattern support to find elements of the current cursor position).
: Javasearchcontext-Performs an in-context search of the current cursor position element.
: Javacorrect-code recommended to be corrected.
: Javaregex?? -Open a window for regular ecpression test.
Searching-look for Javadoc, like this: javasearch directive.
Commenting-Adds or modifies annotations for the current cursor position element.
: Jps-Opens the current Java Bun Y News window.
log4j instruction Set ¶
: Validate-Verify the current log4j configuration settings file.
Maven instruction Set ¶
: Maven [< target > ...]-implement MAVEN 1.x under current project settings.
: MVN [< target > ...]-implement MAVEN 2.x under current project settings.
Initial Setup-Set the required Maven_repo classpath parameters to Maven's (1.x) with Eclipse support.
Initial Setup-Set the required M2_repo classpath parameters to Maven's (2.x) with Eclipse support.
: Mavendependencysearch <artifact>-Find the online database and list the results in a single window, and the user can add the results to the current project by pressing the <Enter> key.This directive can be used when editing maven 1.x Project.xml archives.
: Mvndependencysearch <artifact>-Find the online database and list the results in a single window, and the user can add the results to the current project by pressing the <Enter> key.This directive can be used when editing Maven 2.x Pom.xml archives.
Python instruction Set ¶
:P Ythonregex?? -Open a window to test Python regular expressions.
Django manage.py-in the same directory or subdirectory that exists manage.py, call Django ' s manage.py from any file.
Vim instruction Set ¶
: Findcommanddef [<command>]-Find the definition of command.
: Findcommandref [<command>]-Find a reference to command.
: Findfunctiondef [<function>]-look for the definition of the function.
: Findfunctionref [<function>]-look for a reference to the function.
: findvariabledef [< variable name;]-Find the definition of a full-area variable
: findvariableref [< variable name;]-Find a reference to the region-wide variable.
: Findbycontext-takes the cursor position element to find command, function, or variable in the text.
: Vimdoc [< keyword;]-open the relevant VIM documentation with the keyword.
Webxml instruction Set ¶
: Validate-Verify the current web. xml file.
WSDL instruction Set ¶
: Validate-Verify the current file.
XML instruction Set ¶
:D tddefinition [< element;]-Opens the DTD file for the current XML file and removes the definition of the specified element.
: xsddefinition [< element;]-Opens the XSD file of the current XML file and removes the definition of the specified element.
: Validate [< file;]-validates the specified XML file or the current XML file.
The XML Format re-orchestrates the current XML archive.
XSD instruction Set ¶
: Validate-Verify the current file.
Version control instruction Set ¶
Note
Currently, this instruction set only supports CVS and subversion two systems.
: vcsannotate-Use the VIM signature to annotate the current version of the file.
Other instruction Set ¶
: Split archive [Archive ...]-similar to: Split instruction, but allows multiple files to be opened simultaneously.
: splitrelative file [Archive ...]-similar to: Split instruction, but will separate the file into the current buffer.
: tabnew file [Archive ...]-similar to: Split instruction, but will open individual files by: Tabnew.
: tabnewrelative-Archives [archive ...]-similar: splitrelative instruction, but will open individual files with: Tabnew.
: Editrelative file-similar to: splitrelative command, but the file is opened with edit and only one file can be opened at a time.
: Readrelative file-Similar to: splitrelative instruction, but will be opened with: Read command, and can only open one file at a time.
: argsrelative File_pattern [File_pattern ...]-similar to: splitrelative instruction, but performs the action as: args instruction.
: argaddrelative File_pattern [File_pattern ...]-similar to: splitrelative instruction, but will perform the action with: Argadd instruction.
:D ifflastsaved-Performs diffsplit compare the contents of the current modified archive with the previous archive.
: swapwords-Swap the current position of the cursor with the next word.This instruction can deal with the exchange between non-English words, for example: commas, periods and so on.
: Sign-Toggle to add or remove vim signatures in the current column.
: Signs-Opens a new window with a list of all the signatures in the buffered content.
: Signclearuser-Removes all vim signatures written by: sign instruction.
: Signclearall-Remove all vim signatures
: quickfixclear-Removes all connection points from the Quickfix window.
: locationlistclear-Removes all connection points in the Location window.
OpenUrl [Hyperlink]-Opens the hyperlink in a defined browser.
Eclim instruction Set