[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[jdt-dev] Java formatter question
From
: Rigmor Ukuhe <
inyourdreams@xxxxxxxxx
>
Date
: Fri, 23 Sep 2005 15:46:09 +0300
Delivered-to
: jdt-dev@eclipse.org
Domainkey-signature
: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=jZBD0BcBehfQBI6X5/GEgs0A3neQ8rsJ3+e9P/2TrBLk/PvVFHWHDvaPvYySchljlp0U9tOq/Kpoxzh0gVgaGF9S3Fvc2zjeTPL7acHZrwH/tsW0Y2JTodU4ZXumR/kATObdpivSBHd/eKEH8rXrb6ain1lCf1LIHcfAvXk/2f4=
Hi
Can someone help me out with two problems i have with formatter.
1. How to configure formatter so that it dous not mess up multiline comments:
/*
* Something:
* 1) Something
* 2) Something2
*/
Currently format out put is something like:
/*
* Something:1) Something 2) Something2
*/
How to avoid this?
2. How to keep newlines in string concat operations
String sql = "Insert Into Blah (" +
" aa, " +
" bb, " +
" cc ) " +
" Values (" +
"?," +
"?," +
"?)";
Currently i get output like String sql = "Insert Into Blah (" + " aa, " + " bb, " + " cc ) " + " Values (" + "?," + "?," + "?)";
What i want is it that it keeps newlines but uses indentation and other rules i have set.
Hope someone can help.
Rigmor
Prev by Date:
[jdt-dev] looking for Quality Attributes/Requirements posed on Elipse Platform
Next by Date:
[jdt-dev] problem with ASTParser parser = ASTParser.newParser(AST.JLS3);
Previous by thread:
[jdt-dev] looking for Quality Attributes/Requirements posed on Elipse Platform
Next by thread:
[jdt-dev] problem with ASTParser parser = ASTParser.newParser(AST.JLS3);
Index(es):
Date
Thread