Even worse, if you ifdef out some portion of the code that contains a function or function definition, you lose the ability to jump to that function or search for that function.
--James On Wed, Jul 22, 2009 at 3:22 PM, Lucian Smith <[email protected]>wrote: > (I'm using the provided 1.2.1 binaries for linux) > > I have a user-defined flag that I'm currently setting in the myproject.pro > file, with a line like: > > DEFINES += MYFLAG > > The problem is that in the code, wherever I have: > > #ifdef MYFLAG > [code] > #endif > > All the '[code]' section is grey-on-white. This is less than ideal for > editing, and I've taken to commenting out the first #ifdef while editing, > then trying to remember to uncomment it again before checking in the code. > Is there a recommended solution for this for now, and can the general > situation be fixed for the future? Thanks! > > -Lucian Smith > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
