Hello Phil and Don --
There are a few reasons that Intellisense/Pretty Lister/ToolTips may
appear not to be working.
1) Your object is malformed. If the object on which you are trying to get
information is not shaped correctly, an "End Sub" is missing, for example,
then the intellisense list may show incomplete or stale data for the object.
2) There is a syntax error above the line at which you are trying to get
intellisense. Type a dot "." after the b in the following example:
Module Module1
Sub Main()
Dim b As New Bar
Namespace
b '<--- Type
"." here
End Sub
Class Bar
Sub Wilma()
End Sub
End Class
End Module
To search for these, just recompile or compile via the command-line.
3) You have some code that has caused an internal crash in the compiler.
If this is the case then you shouldn't be able to build your project, let
alone get editor features. If you go to "Build->Rebuild Solution" and the
project doesn't complete compiling, as in errors aren't even reported, then
you KNOW that this is the case. However, even if it does compile in that
situation, it might still be that the order in which you inputted your
lines of code have caused the compiler to fail internally. If you believe
this is the case then we DEFINITELY want to take a look at it. If
possible, please wrap up the code and send it to MS.
Thanks,
Amanda Silver
Program Manager
VB .NET Compiler
-----------------------------------------------------------------|
This is posted "as-is" and confers no rights. |
-----------------------------------------------------------------|
Content-Class: urn:content-classes:message
From: "Phil" <pb***@firstassured.com>
Sender: "Phil" <pb***@firstassured.com>
References: <Dp***********************@news3.calgary.shaw.ca >
Subject: Intellisense not working
Date: Wed, 24 Sep 2003 08:22:01 -0700
Lines: 37
Message-ID: <08****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOCr5pvnJKkV3+vRFKnBgbFzZ6Y4w==
Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:140922
NNTP-Posting-Host: TK2MSFTNGXA05 10.40.1.49
X-Tomcat-NG: microsoft.public.dotnet.languages.vb
in my experiance this happens because you have an error in
some portion of the code that stops intellisense from
being able to anticipate what you are doing in order to
display choices.
such as trying to get a list of methods for a class that
is out of scope etc.
that's been what i've seen so far anyway.
good luck.
-----Original Message-----
I'm having problems with intellisense, autocomplete, etc.
suddenly notworking in certain classes of a project I'm working on.
All the options areset, and it all works fine for most classes, but for some
it just suddenlystopped working. After a build it'll work maybe once or
twice, then stop.I've tried repairing my installation of Visual Studio
2003 but that didn'thelp. Is Microsoft working on a fix for this, or is
there something that isstopping these features from working in those classes?
This did not happen with Visual Studio 2002 which I've
been using sinceFebruary. It only started happening when we upgraded to
VS 2003.
- Don
.