• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Code sense with C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code sense with C++


  • Subject: Code sense with C++
  • From: Ivan Galic <email@hidden>
  • Date: Mon, 4 Feb 2008 23:20:52 +0100

Hello!

It's known that codesense doesn't work well with C++, and especially that it gets confused when tried on more complex language constructs...
However, I've noticed that many times it can color my code well although the codesense doesn't work.
For example, we have in our namespace NightIrion a class called CMesh. When I type NightIrion:: and try to autocomplete, it says there are no completions. It doesn't help if I write a few letters, either, i.e. NightIrion::CMes and then try to complete.
What makes no sense to me is that when I write NightIrion::CMesh, it colors the CMesh as a type (and it doesn't color something that doesn't belong to the namespace, i.e. NightIrion::InvalidClass).
So obviously, it does know that CMesh is a type belonging to the given namespace, and yet the codesense doesn't know how to autocomplete it. Am I doing something wrong, and has anyone else noticed it?


Another thing is that it seems to recognize well the parts of STL, but not any 'custom' template code. Is it some kind of hack, or do I need to do something special in order for it to parse my code as it should?

Regards,
Ivan
P.S. Xcode 3.0
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Code sense with C++
      • From: Michael Rice <email@hidden>
  • Prev by Date: Unable to attach actions in Python/Cocoa
  • Next by Date: Re: Unable to attach actions in Python/Cocoa
  • Previous by thread: Re: Unable to attach actions in Python/Cocoa
  • Next by thread: Re: Code sense with C++
  • Index(es):
    • Date
    • Thread