* Help with Java indentation
@ 2010-01-08 2:36 Nathaniel Flath
2010-01-09 3:52 ` Glauber Alex Dias Prado
0 siblings, 1 reply; 2+ messages in thread
From: Nathaniel Flath @ 2010-01-08 2:36 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 363 bytes --]
How do I configure Emacs to set the indentation of a java function call to
act as such:
SomeStupidClass.SomeStupidFunction(
Arg1
Arg2
}
Instead of:
SomeStupidClass.SomeStupidFunction(
Arg1
Arg2
}
Thanks,
Nathaniel Flath
[-- Attachment #2: Type: text/html, Size: 414 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help with Java indentation
2010-01-08 2:36 Help with Java indentation Nathaniel Flath
@ 2010-01-09 3:52 ` Glauber Alex Dias Prado
0 siblings, 0 replies; 2+ messages in thread
From: Glauber Alex Dias Prado @ 2010-01-09 3:52 UTC (permalink / raw)
To: Nathaniel Flath; +Cc: help-gnu-emacs
Nathaniel Flath <flat0103@gmail.com> writes:
> How do I configure Emacs to set the indentation of a java function call to
> act as such:
depends on what mode you are using to edit java, but in general it has
the same behavior as c-mode and you can configure its style which
control among other things indentation. What you are reporting seems like broken
indentation due to wrong syntax, this can help as a visual cue of wrong
syntax, but i can be wrong.
> SomeStupidClass.SomeStupidFunction(
> Arg1
> Arg2
> }
>
> Instead of:
>
> SomeStupidClass.SomeStupidFunction(
> Arg1
> Arg2
> }
>
> Thanks,
> Nathaniel Flath
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-09 3:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-08 2:36 Help with Java indentation Nathaniel Flath
2010-01-09 3:52 ` Glauber Alex Dias Prado
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.