Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

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.

0 votes


Accepted answer

Permanent link
 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

1 vote


One other answer

Permanent link
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.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,059

Question asked: Feb 14 '14, 3:04 a.m.

Question was seen: 4,850 times

Last updated: Feb 14 '14, 7:09 a.m.

Confirmation Cancel Confirm