Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual Studio 2005 intellisense now showing all the elements

Visual Studio 2005 intellisense now showing all the elements

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studioquestioncsharp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ComplexLifeForm
    wrote on last edited by
    #1

    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:

    A D 2 Replies Last reply
    0
    • C ComplexLifeForm

      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:

      A Offline
      A Offline
      Ahmed Charfeddine
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • C ComplexLifeForm

        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:

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        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 and appStartupMsg?

        "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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups