SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Features and/or Improvements => Topic started by: davehohl on July 15, 2009, 12:15:09 AM

Title: Auto file name expansion for #include
Post by: davehohl on July 15, 2009, 12:15:09 AM
Auto file name expansion for #include (see http://community.slickedit.com/index.php?topic=4908.msg20323#msg20323)

UPDATE:  I checked c.e and found that the patch to do this was included, but the variable that enables it -- def_c_expand_include -- was defaulted to 0.  Is there a configuration option to enable this feature?  I looked but could not find it.
Title: Auto file name expansion for #include
Post by: chrisant on July 15, 2009, 01:54:24 AM
Go to the SE command line (in most emulations it is Escape), and type:
set-var def_c_expand_include
And press Enter.
Then type 1, and press Enter.
Title: Re: Auto file name expansion for #include
Post by: davehohl on July 15, 2009, 04:14:09 PM
Go to the SE command line (in most emulations it is Escape), and type:
set-var def_c_expand_include
And press Enter.
Then type 1, and press Enter.

Thanks, that did the trick!  It seems like there ought to be a config option in the UI to enable this, though.  Why would the SE team go the trouble of adding this capability but not make it readily apparent to people?