I would like to have certain C/C++ macros show up in the context-sensitive menu displayed while typing in the text editor. Functions and types show up, but macros don't. How can I get a macro similar to the following to show up:
#define AreAllBitsClear(value, mask)((value & mask) == 0)
I might need a C++ hint file (*.cpp.hint) listing the specific macros I use, but I am unfamilar with such and would need a sample file to get started.
Macros are shown in the InteliSense menue by default. I just tested it with VS2008 and a C++ project. If you hit Ctrl+Space in the editor you'll get the list of available namespaces, classes, parameters etc. and also of the defined macros. Of course only those macros are shown that are actually available (included) in the corresponding file.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)