SlickEdit Community

General => General Programming => Topic started by: dzp277135246 on February 04, 2017, 02:27:29 am

Title: how to only display Preprocessor Directives with C/C++
Post by: dzp277135246 on February 04, 2017, 02:27:29 am
The version I use for 2016 v21,Thanks!!
Title: Re: how to only display Preprocessor Directives with C/C++
Post by: dzp277135246 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!!