Author Topic: how to only display Preprocessor Directives with C/C++  (Read 6842 times)

dzp277135246

  • New Community Member
  • Posts: 2
  • Hero Points: 0
how to only display Preprocessor Directives with C/C++
« on: February 04, 2017, 02:27:29 AM »
The version I use for 2016 v21,Thanks!!

dzp277135246

  • New Community Member
  • Posts: 2
  • Hero Points: 0
Re: how to only display Preprocessor Directives with C/C++
« Reply #1 on: February 04, 2017, 03:10:15 AM »
I set the view->selective display->preprocessor diectives, but this feature does not scan the macros defined in other documents. How to solve the problem?
e.g
in a.c
#ifdef MACROS
int a = 0;
#endif

in b.h
#define MACROS

In this case,click "Scan for Defines" button in Selective Display dialog,SlickEdit does not scan the macros defined in b.h. How to solve the problem? Thanks!!
« Last Edit: February 04, 2017, 08:52:41 AM by dzp277135246 »