8000 GitHub - phua/jde-int: Import JDEE projects from Eclipse.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

phua/jde-int

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

;; -*- mode: org -*-

Java Development in Emacs

Software

Help

KeyCommand
C-h mdescribe-mode
C-h bdescribe-bindings
C-h kdescribe-key
C-h fdescribe-function
C-h vdescribe-variable
customize-variable
jde-keys
jde-bug-keys
C-h vjde-key-bindings
jde-customize-variable

Project, Compile, Build, Run, Debug, Test

KeyCommandDescription
jde-compile-jde
jde-create-new-projectjde-project-file-name
C-c C-v C-pjde-save-project
jde-load-project-file
jde-toggle-project-context-switchingjde-project-context-switching-enabled-p
C-c C-v C-kjde-bsh-run
jde-bsh-exit
C-c C-v C-cjde-compilejde-compile{r,,-option}-*
C-c C-v C-bjde-buildjde-{make,ant}-*
C-x `next-error
C-c C-v C-rjde-runjde-run-{,option-}*
C-u - C-c C-v C-rjde-run-application-class
C-u C-c C-v C-rjde-run-option-application-args
C-c C-v C-[jde-run-etrace-prev
C-c C-v C-]jde-run-etrace-next
C-c C-v C-djde-debugjde-jdb-*, jde-debug-*
jde-junit-run

Edit

Code Completion and Browsing

KeyCommand
M-/dabbrev-expand
hippie-expand
C-c C-v C-.jdee-complete
C-c C-v .jdee-complete-in-line
jdee-complete-menu
jdee-complete-minibuf
C-c C-v C-fjdee-find
jdee-find-dlg
jdee-find-class-source
C-c C-v C-yjdee-open-class-at-point
jdee-open-class-source
C-c C-v C-xjdee-show-superclass-source
M-x shell; cd <basedir>; jtags
ctags; gtags; cscope
M-.find-tag
C-M-.find-tag-regexp
M-*pop-tag-mark
tags-search
tags-query-replace
M-,tags-loop-continue
list-tags
tags-apropos

Code Generation

KeyCommand
C-c C-v C-zjdee-import-find-and-import
C-c C-v zjdee-import-all
jdee-import-all-unique
jdee-import-expand-imports
jdee-import-collapse-imports
jdee-import-organize
jdee-import-kill-extra-imports
C-c C-v C-qjdee-wiz-update-class-list
C-c C-v ojdee-wiz-overrided-method
C-c C-v cjdee-wiz-implement-interface
jdee-wiz-delegate
jdee-wiz-get-set-methods
jdee-gen-*
jdee-gen–buffer
jdee-gen–listener
jdee-gen–method
jdee-gen–wrapper
jdee-gen-get-set
C-c C-v C-ljdee-gen-println
jdee-gen-action-listener
jdee-gen-window-listener
jdee-gen-mouse-listener
jdee-gen-mouse-motion-listener
jdee-gen-to-string-method
C-c C-v tjdee-gen-try-catch-wrapper
C-c C-v fjdee-gen-try-finally-wrapper

Abbreviations and Code Templates

C-h v jde-mode-abbreviations

Speedbar

KeyCommand
C-c C-v C-sspeedbar
Qdelete-frame
qdelete-close-frame
gspeedbar-refresh
tspeedbar-toggle-updates
pspeedbar-prev
M-pspeedbar-restricted-prev
C-M-pspeedbar-backward-list
nspeedbar-next
M-nspeedbar-restricted-next
C-nspeedbar-forward-list
bdframe-switch-buffer-attached-frame
ffile mode
rrevert to last mode
espeedbar-edit-line
+, =speedbar-expand-line
-speedbar-contract-line
Uspeedbar-up-directory
Ispeedbar-item-info
Bspeedbar-item-byte-compile
Lspeedbar-item-load
Cspeedbar-item-copy
Rspeedbar-item-rename
dspeedbar-item-delete
Ospeedbar-item-object-delete
Mspeedbar-create-directory
. Cede-speedbar-compile-project
. aede-speedbar-file-add-to-project
. cede-speedbar-compile-file-target
. dede-make-dist
. sede-speedbar
. tede-new-target

Emacs Code Browser

KeyCommand
ecb-activate
C-c . g decb-goto-window-directories
C-c . g secb-goto-window-sources
C-c . g mecb-goto-window-methods
C-c . g hecb-goto-window-history
C-c . g lecb-goto-window-edit-last
C-c . \ecb-toggle-compile-window
ecb-toggle-ecb-windows
ecb-hide-ecb-windows
ecb-show-ecb-windows

Debug

  • Attach-mode -Xdebug -Xrunjdwp:transport=dt_socket,address=6001,server=y,suspend=n
  • Listen-mode -Xdebug -Xrunjdwp:transport=dt_socket,address=6001,server=n,suspend=y
  • Optional -Xnoagent -Djava.compiler=NONE -Xbootclasspath:$JAVA_HOME/lib/rt.jar:$JAVA_HOME/lib/tools.jar
KeyCommand
C-c C-v C-[jde-run-etrace-prev
C-c C-v C-]jde-run-etrace-next
[C-u] C-x `next-error
C-c C-ccompilation-goto-error
M-n
M-p
<SPC>
<DEL>
KeyCommandjdb
C-c C-v C-djdee-debug
jdee-debug-quit
jdee-bug-attach-*
jdee-bug-listen-*
C-c C-a C-bjde-debug-toggle-breakpointbreak
jde-clear-breakpoints
C-c C-a C-sjde-bug-step-overnext
C-c C-a C-njde-debug-step-intostep
C-c C-a C-ojde-debug-step-outstep up
C-c C-a C-cjde-debug-contcont
jde-bug-display-variableprint, dump
jde-bug-toggle-local-variableslocals
set
C-c C-a C-p
C-c C-a C-d

jdibug

(add-to-list ‘load-path “/path/to/jdibug”) (require ‘jdibug)

In prj.el, (setq jdibug-connect-host … jdibug-connect-port …)

(define jde-mode-map [f8] ‘jdibug-step-over) (define jde-mode-map [M-f8] ‘jdibug-step-into) (define jde-mode-map [f7] ‘jdibug-step-out) (define jde-mode-map [M-f7] ‘jdibug-resume)

KeyCommand
C-c C-c C-cjdibug-connect
C-c C-c C-djdibug-disconnect
C-c C-c C-njdibug-step-over
C-c C-c C-ijdibug-step-into
C-c C-c C-ojdibug-step-out
C-c C-c C-rjdibug-resume
C-c C-c C-bjdi-toggle-breakpoint

Document

(require ‘jdee-javadoc)

KeyCommand
C-c C-v jjdee-javadoc-autodoc-at-line
jdee-javadoc-make
C-c C-v C-njdee-help-browse-jdk-doc
C-c C-v C-wjdee-help-symbol
jde-browse-class
jde-browse-class-at-point

Lint

Flymake

KeyCommand
flymake-goto-next-error
flymake-goto-previous-error
flymake-display-err-menu-for-completion

Checkstyle

jde-checkstyle

PMD

FindBugs

Cross-Reference

Source: jde-xref.el

KeyCommandDescription
jde-xref-make-xref-dbjde-xref-db-base-directory
jde-xref-store-prefixes
jde-xref-cache-size
jde-xref-update(run-at-time “11:00pm” 86400 ‘jde-xref-make-xref-db)
C-u …strict-mode
C-c C-v ajde-xref-first-caller
C-c C-v njde-xref-next-caller
jde-xref-display-call-tree
jde-xref-list-uncalled-functions

Xrefactory

M-x describe-variable xref-key-binding

  • Create TAGS file
    • xref [-update] -p <project> [-debug] [-errors]
  • Create JavaDoc
    • xref -html -nostdop -nocxfile -htmlroot=${HOME}/HMTL -htmlgxlist *.java
    • xref [-update] -html -p <project>
KeyCommand
F3xref-previous-reference
F4xref-next-reference
F5xref-pop-and-return
F6xref-push-and-goto-definition
F7xref-delete-window
F8xref-completion
F11xref-refactor
C-F3xref-alternative-previous-reference
C-F4xref-alternative-next-reference
C-F5xref-re-push
C-F6xref-browse-symbol
C-F7xref-
C-F8xref-ide-compile-run

About

Import JDEE projects from Eclipse.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0