Re: Code Sense/Completion
Re: Code Sense/Completion
- Subject: Re: Code Sense/Completion
- From: Ben <email@hidden>
- Date: Fri, 22 Apr 2005 08:54:32 -0700
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
_______________________________________________
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