Hello,
First sorry for hazy title, but I don't exactly know how this is properly named.
What I want to ask is:
does QtCreator supporting "aliases" definition?
Explanation:
Lets say I want to print debug message, so normally I write
qDebug() << "some message";
qDebug() << "some message";
To copy to clipboard, switch view to plain text mode
but I would like to print that message only in debug mode, so i type:
#ifdef QT_DEBUG
qDebug() << "some message";
#endif
#ifdef QT_DEBUG
qDebug() << "some message";
#endif
To copy to clipboard, switch view to plain text mode
but typing those 3 lines is time consuming, so I would like to i.e. type "mydebug <enter>", then QtCreator would look in "aliases" definition and create for me structure #ifdef...
Is there something similar in functionality available in QtCretor? (I looked but didn't found anything)
BTW. I saw something like this in Eclipse, so that's why I ask.
PS. I don't ask about macros and key bindings.
Thanks for reply
Bookmarks