[xsd-users] dd xsd break IntelliSense?

Jeff Yu thinkmega at gmail.com
Wed Nov 21 17:02:01 EST 2007


Boris,

You are right.  IntelliSense is not stable.  I run into the same problem
with stl.  Any workaround you can recommend?

Thanks.
Jeff

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Wednesday, November 21, 2007 10:42 AM
To: Jeff Yu
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] dd xsd break IntelliSense?

Hi Jeff,

Jeff Yu <thinkmega at gmail.com> writes:

> Is the structure of the xsd proxy class the cause of the break?

No, it is buggy IntelliSense that is the cause of the break ;-).

Seriously, it is known that the generated code (or rather the
use of the generated code) can sometimes cause IntelliSense to
stop working. These situations are extremally bizarre and often
not reproducible on other installations. For example, I was
once tracking a problem that led to the following fragment
(parsing function declaration):

std::auto_ptr<Type>
root(::std::string, ....);

IntelliSense could recognize everything just before this declaration
and stopped recognizing anything right after it. The declaration is
perfectly valid C++. I tried to move things around I bit. As a result,
I found that the following incarnations worked fine with IntelliSense:

std::auto_ptr<Type>
root(std::string, ....);

std::auto_ptr<Type>
root( ::std::string, ....);

What can you do about something like this? This is just insane.

We've already done some work on the IntelliSense support for the
previous version and we plan to do some more work on simplifying
the runtime and the generated code for the next release. I am going
to keep your use-case in mind and will definitely take a look at it
when I work on this. Thanks for reporting it!

Also If you would like to try and track down the cause of this
problem -- let me know and I will give your some pointers on how
to isolate it.

Boris




More information about the xsd-users mailing list