Does RTC support formatting source before check-in or deliver?
We'd like to force the code format in one place. I'm not sure if RTC has this feature.
Thanks. |
Accepted answer
I'm not sure about RTC itself without writing some custom code, but if you're using the Eclipse client for Java development you can set up a variety of "save actions", including formatting source. Preferences > Java > Editor > Save Actions. Every developer would have to enable this setting though, and it doesn't apply to other types of source files.
-Justin
Qunfeng Wang selected this answer as the correct answer
|
One other answer
I can't find a precondition like that.
The Deliver (client) action has a precondition "Require Static Analysis Run", which could probably be used to check formatting, but that only works for the Visual Studio client. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.