Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Formater profile used in Tycho

Consistent formating helps in creating patches that are easy to review, so I'd like to setup formating in my Eclipse-IDE, but can't find any documentation what formaterprofile should be used.

So my question is:

- is there any preffered profile and where do I find it?
- would it be suitable to include that in the tycho-setup directory?
- should I always format the whole file or only edited lines?

I especially ask this because I try to upgrade the IconExe due to [1] but the current source and the upgrade one from the SWT repo [2] are formated different, so I'd like to first apply standard tycho formating to the file, then copy over updated code and reformat again so it is clear what lines of code changed.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=546382
[2] https://git.eclipse.org/c/equinox/rt.equinox.p2.git/tree/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/pde/internal/swt/tools/IconExe.java


Back to the top