Code Sense and C++

Discussion in 'Mac Programming' started by Analog Kid, Aug 25, 2007.

  1. macrumors 68030

    Analog Kid

    Joined:
    Mar 4, 2003
    #1
    Does Code Sense work for C++? I'm not getting any completions of symbols or methods. If I'm lucky it will attempt to complete with a symbol it sees elsewhere in the same file. It's an imported project, so it's possible that there's something munged up in structure. I've tried rebuilding the project index, but no joy.
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    According to Apple's documentation, it should. I had it working yesterday with C structs, but I can't remember testing it in C++ before.

    You could try adjusting the settings to get it working.
     
  3. thread starter macrumors 68030

    Analog Kid

    Joined:
    Mar 4, 2003
    #3
    I'm starting to think it's the dependency structure in the project. There's times I have to do a clean and compile when I shouldn't need to, and the #includes aren't where they should be. Assuming Codes Sense uses the project structure to suggest its completions, then this would explain it.
     

Share This Page