• 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
autocomplete stops working with typedefs in C++ (XCode 2.1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autocomplete stops working with typedefs in C++ (XCode 2.1)


  • Subject: autocomplete stops working with typedefs in C++ (XCode 2.1)
  • From: Jónas Tryggvi Jóhannsson <email@hidden>
  • Date: Sun, 9 Oct 2005 17:55:16 +0200

Hi, I'm new here but I guess this is the right place for this kind of question.

I use XCode for C++, but when I use typedefs for the datatypes that I use, the auto completion stops working. For example;

std::vector<int> v;
v.pu<ESC> // suggests push_back 
typedef std::vector<int> Veci;
Veci vi;
vi.pu<ESC> // no completions found!!

How can I get code auto completion to work with typedefs? It sees the variable vi, but doesn't know that its a vector, but it thinks Veci is an instance of a vector, and therefore;

Veci.pu<ESC> // suggests push_back 

Any ideas?

Regars,
Jónas Tryggvi Jóhannsson
 
 _______________________________________________
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: autocomplete stops working with typedefs in C++ (XCode 2.1)
      • From: Jónas Tryggvi Jóhannsson <email@hidden>
  • Prev by Date: Re: Moving from OSX 10.3 (XCode 1.5) to OSX 10.4 (XCode 2.1)
  • Next by Date: Re: GDB: Does "catch vfork" work?
  • Previous by thread: Can I create a Cocoa palette based on Carbon?
  • Next by thread: Re: autocomplete stops working with typedefs in C++ (XCode 2.1)
  • Index(es):
    • Date
    • Thread