• 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
Re: Code Sense/Completion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Sense/Completion


  • Subject: Re: Code Sense/Completion
  • From: Glenn Martin <email@hidden>
  • Date: Fri, 22 Apr 2005 11:59:39 -0400

Hah im on a G4 ibook... bugs the hell out of me... Im a VS .NET programmer, or atleast thats what ive been doing for 9 months strait... i loved Xcode cause it makes C/C++ and ObjC as easy as C#... i guess not in this case :-/

Glenn
On Apr 22, 2005, at 11:54 AM, Ben wrote:

I had a similar problem with glib; turns out that code completion won't catch symbols included in your project until you compile them with XCode, and given that I use scons to handle my project....

I'm hoping this is fixed in XCode 2, as well as making code completion with many thousands of symbols actually be, you know, faster than I can type, on a G5.

On Apr 22, 2005, at 6:17 AM, Glenn Martin wrote:

Ive noticed a bug in the Code Completion in C/C++ Projects. Ive been working with libxml2 (ive noticed it in MANY other libraries too). the Code completion cannot find the header files, its got the pathing wrong.. I can add the path to the project and thus to the compiler so it compiles but the code sense never picks up the dependencies.. so it assumes the fuctions are invalid as far as the compile is concerned... heres an example...

My "main.c" file:
#include <string.h>
#include <libxml2/libxml/encoding.h>
#include <libxml2/libxml/xmlwriter.h>

libxml2's "xmlwriter.h" file:
#ifndef __XML_XMLWRITER_H__
#define __XML_XMLWRITER_H__

#include <libxml/xmlversion.h>

#ifdef LIBXML_WRITER_ENABLED

#include <stdarg.h>
#include <libxml/xmlIO.h>
#include <libxml/list.h>
#include <libxml/xmlstring.h>

notice how my pathing includes "libxml2/"?... thats because the file is located at /usr/local/include/libxml2/libxml/xmlwriter.h ... but its internal references dont contain the libxml2 path... How can i make the editor look in /usr/local/include/libxml2 like it does /usr/local/include/?

I can do it in the project for the compiler but i cant seem to for the editor... Both the Borland and MS products can do that on windows... IDK... if you cant then it seems like XCode is missing what id consider an important feature.

Thank
Glenn Martin _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


CONFIDENTIAL INFORMATION
NOT TO BE COPIED WITHOUT AUTHORIZATION
The information contained in this electronic mail transmission may
contain privileged communications and/or confidential information
intended only for the use of the named recipient(s). If the reader of
this information is not the named recipient(s) or you receive this
transmission in error, please: (1) immediately notify us by return
electronic transmission email@hidden; and (2)
permanently delete this message from your computer and all servers and
other stored devices

_______________________________________________
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


References: 
 >Code Sense/Completion (From: Glenn Martin <email@hidden>)
 >Re: Code Sense/Completion (From: Ben <email@hidden>)

  • Prev by Date: Re: Code Sense/Completion
  • Next by Date: Re: Code Sense/Completion
  • Previous by thread: Re: Code Sense/Completion
  • Next by thread: Re: Code Sense/Completion
  • Index(es):
    • Date
    • Thread