This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247473 - beautify preprocessor macros support
Summary: beautify preprocessor macros support
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-25 13:48 UTC by Vladimir Voskresensky
Modified: 2014-11-11 12:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2014-09-25 13:48:37 UTC
please, fix the 'formatting' issues for the following macro usage test case:
#define D(X) \
struct X { \
   int field;\
};

D(AAA)

1) in macro view output is:
struct AAA {
  int field;
}
;
--- expected is (see semicolon) ----
struct AAA {
  int field;
};

2) Documentation view and tooltip has text:
Macro D 
#define D(X) \ struct X { \ int field;\ };
--- expected ----
#define D(X) \
struct X { \
   int field;\
};

3) Tooltip for macro expanded text is 
DDDD(AAA) 
Expands to: 
struct AAA { int field; };
------- expected as in macro view ---------
DDDD(AAA) 
Expands to: 
struct AAA { 
  int field; 
};
Comment 2 Quality Engineering 2014-10-11 11:29:27 UTC
Integrated into 'main-silver', will be available in build *201410110714* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bde02fa21517
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #247473 beautify preprocessor macros support
Comment 3 soldatov 2014-11-07 11:49:18 UTC
verified in trunk (NetBeans IDE Dev (Build 201411070002))
Comment 4 Quality Engineering 2014-11-10 23:22:20 UTC
Integrated into 'releases/release801', will be available in build *201411102027* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/3f5307bfc6a0
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #247473 beautify preprocessor macros support
(transplanted from bde02fa21517bc0603022b5a9837404d2317dce1)