Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Code formatter behaviour on while with empty body
Code formatter behaviour on while with empty body [message #1208031] Sun, 24 November 2013 17:22
markus schrodt is currently offline markus schrodt
Messages: 1
Registered: November 2013
Junior Member
hey!
what do i have to change in code formatter settings to keep the semicolon of an empty-body-while-loop in the same line?

example
while (RTC_GetFlagStatus(RTC_FLAG_WUTF) != ENABLE);


wil unfortunately always be formatted as:
while (RTC_GetFlagStatus(RTC_FLAG_WUTF) != ENABLE)
   ;
Previous Topic:Linking libcurl in Eclipse
Next Topic:Kepler and Yagarto
Goto Forum:
  


Current Time: Tue Jul 22 13:35:50 EDT 2014

Powered by FUDForum. Page generated in 0.03134 seconds