Tech > JdeQuickReferenceGuide

JDE Quick Reference Guide

This is quick reference guide to using JDE with Emacs.

JDE Docs

jde-show-help

Compile

jde-compile C-c C-v C-c

See also: customize-variable jde-compile-enable-kill-buffer

Build All

jde-build C-c C-v C-b

Select Build Method

customize-variable jde-build-function

Ant Build

jde-ant-build

jde-ant-projecthelp

jde-ant-show-options

Run

jde-run C-c C-v C-r

One off override of class name

jde-run C-u - C-c C-v C-r

See also customize-variable jde-run-application-class jde-run-working-directory jde-run-read-vm-args jde-run-option-application-args

Code Completion

Select completion method

customize-variable jde-complete-function

Default completion method

jde-complete C-c C-v C-.

Mini-buffer

jde-complete-minibuf

In-line

jde-complete-in-line C-c C-v .

Repeat the command for subsequent possible completions

jde-complete-menu

Dynamic completion

dabbrev-expand M-/

Imports

Import class at point

jde-import-find-and-import C-c C-v C-z

Import all classes

jde-import-all C-c C-v z

or to skip dialog prompt for non-unique classes:

jde-import-all-unique

Expand existing wilcard import

jde-import-expand-imports

or collapse them:

jde-import-collapse-imports

See also customize-variable jde-import-collapse-imports-threshold

Group Imports

jde-import-organize

See also customisable variables used by jde-import-group-function

  • jde-import-group-rules
  • jde-import-insert-group-names
  • jde-import-default-group-name
  • jde-import-blank-line-between-groups
  • jde-import-sorted-groups

Remove unused imports

jde-import-kill-extra-imports

Browse JDK Documentation

jde-browse-jdk-doc C-c C-v C-n

See also customize-variable jde-jdk-doc-url jde-help-browser-function

Help Symbol at Point

jde-help-symbol C-c C-v C-w

Browsing Source Code

imenu

jde-find C-c C-v C-f

See also customize-variable jde-find-case-sensitive jde-find-granularity jde-find-file-regexp

Find by Symbol Definition

jde-open-class-at-point C-c C-v C-y

Electric Return

customize-variable jde-electric-return-p

Javadoc

Insert Javadoc comments:

jde-javadoc-autodoc-at-line C-c C-v j

Abbreviations

customize-variable jde-enable-abbrev-mode

Statement Abbreviation

if-then if else else if-then-else ife else-if eif while while for for for (int I=0;I jde-wiz-overrided-method

Implement interface

jde-wiz-implement-interface

Get/Set

jde-wiz-get-set-methods

Code Generation

Class

jde-gen-class-buffer

Interface

jde-gen-interface-buffer

JUnit Test

jde-gen-junit-test-class-buffer-template

Buffer Boilerplate

jde-gen-buffer

Get/Set Pair

jde-gen-get-set-var-template

Inner Class

jde-gen-inner-class-template

Select Template

jde-gen-code

Checkstyle

jde-checkstyle

Customize

jde-checkstyle-customize

Save Project Settings

jde-save-project C-c C-v C-p

Right click line in run buffer

Navigate up and down stack trace with C-c C-v C-[ and C-c C-v C-]


-- Frank Dean - 17-Apr-2010