Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Code Style XML Documentation(Documentation of the Codestyles)
Code Style XML Documentation [message #1732824] Fri, 20 May 2016 06:26 Go to next message
Tobias Hahn is currently offline Tobias HahnFriend
Messages: 1
Registered: May 2016
Junior Member
Hello Everyone,

I want to create a code style formatter-xml file.

As I am stucked in my research on the xml-Setting-Tags I wonder if someone can provide a documentation of all Code Style Format-XML-Id's since there are different numbers of lines in each format.xml I found so far.

An Example is
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>


Besides I would like to know whether there is a possibility to organize imports that way, that every import which refers to code of the current project (com.example.projectname) is in the first import group.
Furthermore it would be nice to disallow static imports.

Regards,

Tobias
Re: Code Style XML Documentation [message #1732987 is a reply to message #1732824] Mon, 23 May 2016 14:41 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Tobias,

This sounds like a JDT question. I don't think these kinds of details
are documented, and I doubt anyone will explain them all. Oomph can just
help record what you've done so you can reestablish those settings in
another workspace...


On 23.05.2016 14:44, Tobias Hahn wrote:
> Hello Everyone,
> I want to create a code style formatter-xml file.
>
> As I am stucked in my research on the xml-Setting-Tags I wonder if
> someone can provide a documentation of all Code Style Format-XML-Id's
> since there are different numbers of lines in each format.xml I found
> so far.
> An Example is
>
> <setting
> id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags"
> value="insert"/>
>
>
> Besides I would like to know whether there is a possibility to
> organize imports that way, that every import which refers to code of
> the current project (com.example.projectname) is in the first import
> group.
> Furthermore it would be nice to disallow static imports.
> Regards,
>
> Tobias


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Lock workspace to installation
Next Topic:Add a projects catalog to an existing eclipse installation
Goto Forum:
  


Current Time: Tue Apr 23 15:39:17 GMT 2024

Powered by FUDForum. Page generated in 0.02765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top