dltk source coding format template [message #6606] |
Tue, 19 June 2007 11:33  |
Eclipse User |
|
|
|
do you guys have a source formatter template that you are using?
i'm not a fan of the indent, etc style, so i'd like to be able to
reformat the code in a manner that is easier for me, yet change it back
when i submit patches for things so i don't generate huge diffs making
revision history useless.
thx!
--
-jae
|
|
|
|
|
Re: dltk source coding format template [message #8045 is a reply to message #6678] |
Mon, 25 June 2007 00:01  |
Eclipse User |
|
|
|
Jae Gangemi wrote:
> On 2007-06-22 00:03:40 -0400, Andrei Sobolev <andrei.sobolev@xored.com>
> said:
>
>> Jae Gangemi wrote:
>>>
>>> do you guys have a source formatter template that you are using?
>>>
>>> i'm not a fan of the indent, etc style, so i'd like to be able to
>>> reformat the code in a manner that is easier for me, yet change it
>>> back when i submit patches for things so i don't generate huge diffs
>>> making revision history useless.
>>>
>>> thx!
>>>
>> We don't have any special infrastructure for formaters yet. But you
>> add JFace based formatting strategy. For not we have formatting only
>> in JavaScript( JavaScriptFormattingStrategy class ).
>> You could obtain JavaScript plugins from Eclipse DLTK repository.
>>
>> Andrei.
>
> i think you missed what i was asking.....
>
> i'm looking for a coding template for the dltk sources themselves, so
> that if i submit a patch for something, i can make sure it's been
> formatted according to whatever standards you use. basically something
> that hooks into eclipse's source formatting framework.
>
> there are lots of times i'm going through some piece of code and i find
> it hard to follow b/c of the formatting, so i reformat it w/ my
> standard. if i fix a bug or add fuctionality, etc - i don't want to
> submit a patch w/ my formatting changes b/c it makes the diffs useless.
>
Actually, we use default Eclipse formatting.
|
|
|
Powered by
FUDForum. Page generated in 0.04190 seconds