Platform specific code in QtCreator
Does anyone know if its possible to 'hide' platform specific code when viewing source code in QtCreator ? Sometimes it would be much more easy to read code if i could temporary hide all Q_OS_SYMBIAN and etc. code.
Code folding for #ifdef statements is a long standing feature request: "QTCREATORBUG-2":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2
So far we did not get round to implement it, but we would be happy to accept patches.
Code that is wrapped in ifdefs that are validating to true for the current build configuration are grayed out at least, if that already helps a bit. (I.e. Q_OS_SYMBIAN code is grayed out if you are building for e.g. Desktop)