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 22: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: Fri Sep 19 01:55:07 GMT 2014

Powered by FUDForum. Page generated in 0.02976 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software