Here's what I do now ...
c-add-style "jboss" '("java"
(c-basic-offset . 3)
(c-hanging-braces-alist
(substatement-open before after))
(c-offsets-alist
;; jboss puts brace straight under keyword
(substatement-open . 0)
)
(c-hanging-colons-alist . ((member-init-intro before)
(inher-intro)
(case-label after)
(label after)
(access-label after))) )
)
James Cooley wrote:
Hi guys,
Has anyone got a cc-mode binding for the official JBoss coding standard to Emacs? You could save me some time if you have. I'm having problems getting the curly brace indentation with try to work correctly.
Thanks,
James
PS
Perhaps this sort of thing should be linked from the Code Style Guide.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
