Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [etrice-dev] code style

Hi Jürgen,

I've tried it and it works for me (did you "import all"?).

But for convenience I've added a file code_formatter.xml with just the formatter profile which can be imported on the Preferences
> Java > Code Style > Formatter page

-Henrik

Am 14.08.2013 14:55, schrieb Jürgen Haug:
> Hi Henrik,
>
> i tried Import->General->Preference->From File: code_style.epf. The file header template contains the eTrice copyright note, but
> there is no eTrice formatter profile (only the 3 builtin profiles).  Have i done the import wrong or is it just missing ?
>
> Juergen
>
> Am 13.08.2013 15:14, schrieb Henrik:
>> Hi developers,
>>
>> in the team folder of the eTrice repository there is a file code_style.epf with preference settings for code style (formatter and
>> templates).
>> It deviates only in minor points from the standard JDT settings.
>>
>>    * maximum line width increased to 120
>>    * if/else and try/catch with more line breaks
>>    * the file header code template contains the standard Eclipse copyright note for eTrice
>>
>> Please import the preferences and switch the Java > Code Style > Formatter settings to the 'eTrice' profile.
>>
>> Thanks,
>> Henrik
>>
>> _______________________________________________
>> etrice-dev mailing list
>> etrice-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/etrice-dev
>
> _______________________________________________
> etrice-dev mailing list
> etrice-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/etrice-dev



Back to the top