In emacs, when I type:
public void foo(String one,
String two) {
It tabifies like this:
public void foo(String one,
String two) {
I'd rather it didn't, and just aligned parameters like other line continuations. How can I configure it not to do this?
This comes from the Info manual for Emacs CC Mode, using GNU Emacs 23.1 on Windows:
c-show-syntactic-information
) to ask Emacs what syntax element it thinks you're looking at. In your case, it'll say something like ((arglist-cont-nonempty n m)).c-set-offset
) to tell it you want to change the indentation level for this syntactic element.(setq c-offsets-alist '((arglist-cont-nonempty . +)))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With