Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Code formatting glitch


I've found that code inside inactive preprocessor statements are not formatted correctly.

  // normal code is formatted like this
  cout << "..."
      << "..."
      << "..."

  // inactive code is formatted like this
  #if SOME_UNDEFINED_SYMBOL
  cout << "..."
  << "..."
  << "..."
  #endif

Am I doing something wrong, or is there a setting controlling this. (Or is it a bug in the formatter?)

--
/Jesper



Back to the top