unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Indentation help
@ 2007-05-02  0:44 suzannepelz
  2007-05-02 18:48 ` Gian Uberto Lauri
  0 siblings, 1 reply; 2+ messages in thread
From: suzannepelz @ 2007-05-02  0:44 UTC (permalink / raw)
  To: help-gnu-emacs

I need to add a line to my .emacs file for java code so that I can
indent concatenated long Strings as follows:

FROM THIS:
String description = "this is a really long description " +
"that I need to put on two lines.";


TO THIS (with next line indented two spaces):
String description = "this is a really long description " +
  "that I need to put on two lines.";


Thank you!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Indentation help
  2007-05-02  0:44 Indentation help suzannepelz
@ 2007-05-02 18:48 ` Gian Uberto Lauri
  0 siblings, 0 replies; 2+ messages in thread
From: Gian Uberto Lauri @ 2007-05-02 18:48 UTC (permalink / raw)
  To: suzannepelz; +Cc: help-gnu-emacs

>>>>> "s" == suzannepelz  <suzannepelz@gmail.com> writes:

s> I need to add a line to my .emacs file for java code so that I can
s> indent concatenated long Strings as follows:

s> FROM THIS: String description = "this is a really long description
s> " + "that I need to put on two lines.";

Does your Emacs activete java mode or jde-mode (jdee, to be downloaded
from http://jdee.sunsite.dk/) when you load a java file ?

-- 
 /\           ___
/___/\_|_|\_|__|___Gian Uberto Lauri_____
  //--\| | \|  |   Integralista GNUslamico
\/                 e coltivatore diretto di Software

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-02 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02  0:44 Indentation help suzannepelz
2007-05-02 18:48 ` Gian Uberto Lauri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).