Visual Studio 2005 intellisense now showing all the elements
-
Hi, I am using Visual C++ 2005 Pro IDE with SP1 for developing a MFC application. In my application there is a header file which contains application constants inside a namespace like In file AppCommon.h namespace APP_CONSTANTS { const int MAX_BUFFER_SIZE = 100; const CString appStartupMsg = _T("Welcome to application"); .... }; Now when I use this header file and try accessing the variable as APP_CONTANTS:: then the auto complete feature of Visual Studio always shows only the first defined variable. Can someone pleasae tell me how do I get the intellisense to display the other defined variables inside the namespace when trying to use auto complete feature? I have tried deleting all the extra files (ncb, sbr etc...) and tried rebuilding the application for no success. Thanks and Regards :confused::confused:
-
Hi, I am using Visual C++ 2005 Pro IDE with SP1 for developing a MFC application. In my application there is a header file which contains application constants inside a namespace like In file AppCommon.h namespace APP_CONSTANTS { const int MAX_BUFFER_SIZE = 100; const CString appStartupMsg = _T("Welcome to application"); .... }; Now when I use this header file and try accessing the variable as APP_CONTANTS:: then the auto complete feature of Visual Studio always shows only the first defined variable. Can someone pleasae tell me how do I get the intellisense to display the other defined variables inside the namespace when trying to use auto complete feature? I have tried deleting all the extra files (ncb, sbr etc...) and tried rebuilding the application for no success. Thanks and Regards :confused::confused:
VS intellisense is bad bad bad. personlay i shifted to using Visual Assist X product. you can get an eval of it. first instal then when u open ur proj, giv it some time to parse evrything.(lokk at the status bar when it finished) if after that it failed to give you completion regarding this namespace..then open the file code, and enter the menu and choose the reparse this file command. .. perhaps somebody else could help you how to force VS intellisence to parse that namespace file...
Our Philosophy, Mohammed Baqir Al Sadr
-
Hi, I am using Visual C++ 2005 Pro IDE with SP1 for developing a MFC application. In my application there is a header file which contains application constants inside a namespace like In file AppCommon.h namespace APP_CONSTANTS { const int MAX_BUFFER_SIZE = 100; const CString appStartupMsg = _T("Welcome to application"); .... }; Now when I use this header file and try accessing the variable as APP_CONTANTS:: then the auto complete feature of Visual Studio always shows only the first defined variable. Can someone pleasae tell me how do I get the intellisense to display the other defined variables inside the namespace when trying to use auto complete feature? I have tried deleting all the extra files (ncb, sbr etc...) and tried rebuilding the application for no success. Thanks and Regards :confused::confused:
psychedelic_fur wrote:
Now when I use this header file and try accessing the variable as APP_CONTANTS:: then the auto complete feature of Visual Studio always shows only the first defined variable.
What happens if you swap the order of
MAX_BUFFER_SIZE
andappStartupMsg
?"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne