Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 285900

Summary: Allow auto format function to ignore part of the codes when developer explicitly says so
Product: [Tools] CDT Reporter: PAUL <pong_ho80>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: enhancement    
Priority: P3 CC: pong_ho80, zeratul976
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description PAUL CLA 2009-08-06 11:59:01 EDT
Can we have way that allow auto format function to ignore part of the codes when developer explicitly says so.

For example, 

I have initalized an array of struct as constant,

typedef
{
  int test1;
  string testName;
  ...
} testStructT;

const testStructT testStructArray[] = {
  {1, "................", ..., ........................}
  ...
}

I have formatted the testStructArray initializer nicely, I need a way to tell format function not to change my initializer.
Comment 1 Nathan Ridge CLA 2017-01-10 20:28:56 EST
We have been using bug 327559 to track this request; I'm going to forward-dupe this bug there.

*** This bug has been marked as a duplicate of bug 327559 ***