Intellisense loses context...

G

Guest

Hi,

I have a custom ListView-type control that I designed a few months ago. The control is completely stable and functional. However, often, the Visual Studio .NET IDE's Intellisense will lose and not display members not contained inside of Control (which my control is inherited from). Despite this, program execution still works fine; Intellisense just stops displaying these members, is all. If I close down Visual Studio and open it again, everything is visible again.

Why would this be happening?

Thanks!

Yaron
 
C

Christopher Kimbell

My experience is that Intellisense is very fragile, it suddenly stops
working for no apparant reason. A general oppinion on the newsgroups is that
syntax errors is the most likely reason.

In my case it stops working more often in Managed C++ than C#. Others say
they haven't had problems in VB.NET. From what I gather the Intellisense
works by scanning the codebase, so syntax errors are a primary suspect. This
however doesn't explain my most consistent Intellisense failure, typed
dataset. When I use typed datasets, Intellisense usuall works at the
beginning, but after a while, nothing appears for the typed dataset,
Intellisense works for the rest of my code.

Fixing the syntax error or restarting the IDE are common suggestions.
Recompiling the whole project has sometimes fixed my typed dataset problem.

Event though I have had syntactic correct code, Intellisense fails, so the
suggestions above might not work for you.



Chris

Yaron said:
Hi,

I have a custom ListView-type control that I designed a few months ago.
The control is completely stable and functional. However, often, the Visual
Studio .NET IDE's Intellisense will lose and not display members not
contained inside of Control (which my control is inherited from). Despite
this, program execution still works fine; Intellisense just stops displaying
these members, is all. If I close down Visual Studio and open it again,
everything is visible again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top