|
Hi Kev
>How do I (can I) change the behaviour JDE
supplies for laying out Java
>files. I believe a combination of setting jde-gen-K&r to nil,
and
(defun my-jde-mode-hook ()
(setq c-basic-offset 2) (c-set-offset 'substatement-open 0) ; this is the one you care about (c-set-offset 'statement-case-open 0) (c-set-offset 'case-label '+) (setq tab-width 2 ;; make sure spaces are used instead of tabs indent-tabs-mode nil) (message "my-jde-mode-hook function executed")) (add-hook 'jde-mode-hook 'my-jde-mode-hook) in my .emacs did it for me.
--Mark Szolkowski
|
- Java Layout Kevin Jones
- Mark Szolkowski
