473,503 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Intellisense not working

I'm working on a solution containing about 20 projects. Some of the projects
contain class definitions that are used in other of the projects. Most of
the time intellisense is working ok, i.e. if I work with objects declared
from my own classes intellisense will show me all alternatives (methods and
properties from my classes and from the classes they are derived from). But
sometimes I will get nothing from intellisense, completely nothing, somtimes
it will only show me a little subset of all alternatives.

I can make intellisense work again by rebuiling the solution. Sometimes this
is not enough and I have to restart the IDE.

Is there any known problems with intellisense ? Does anybody know of class
and code constructions that can make intellisense stop working ?

--Stefan Kronberg
Jul 21 '05 #1
6 8068
Hello Stefan,

Thanks for your post. As I understand, the problem you are facing is that
IntelliSense does not work properly sometimes in Visual Studio .NET. Please
correct me if there is any misunderstanding. Now I'd like to share the
following information with you:

1. What's the version of Visual Studio .NET, 2002 or 2003? Does the problem
occurs to a specific project or to all projects? What's the type of
project, Visual C++, Visual Basic .NET, C#, Windows Froms, Web application?

2. Do you have any anti-virus application installed? If so, I suggest you
to disable it real-time monitor functionality and close/stop all other
unnecessary programs and services to check if the problem still exists.

3. Concerning the problem Intellisense listing only base class methods or
wrong methods and properties, there is a known issue for a corrupt
..projdata file. Generally speaking, the classview and intellisense data is
stored in the following directory:
project directory\obj\debug\*.projdata

Please close VS.Net and delete that file. If the problem persists, make
sure deleting all *.projdata file in all obj\subdirectories depending on
what type of compile is used.

4. In addition, there are two KB articles on IntelliSense that may help:

PRB: Methods or Properties Are Not Listed in AutoListMembers (IntelliSense)
http://support.microsoft.com/?id=305404

BUG: IntelliSense May Not List Properties That Only Have One Accessor in an
Interface
http://support.microsoft.com/?id=814742

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2
Thanks for Your answer !

Some more specific details:

1. I'm using Visual Studio.Net 2003 (the same problem also occured in the
2002 version). I have only seen this behaviour in one specific solution.
It's a C# solution with a lot of Windows Form projects and class libraries.

2. McAfee VirusScan v4.5.1 SP1 is active. It's configured for scanning
inbound files.

3. The problem occurs when using classes that all have the following in
common: the class is derived from a dataset and it also implements an
interface (consisting only of two methods). All these classes are defined in
one project (class library). Sometimes the problem will go away when I
rebuild this project.

The problem shows up in two different ways: one is that when I type the "."
after the objectname there is no response from intellisense, not even if I
press Ctrl-spacebar. The other is that intellisense will respond but it only
shows a subset of all properties and methods.

I hope this will give more clues to the "solving the intellisense-problem"

regards
--Stefan Kronberg
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:Co**************@cpmsftngxa06.phx.gbl...
Hello Stefan,

Thanks for your post. As I understand, the problem you are facing is that
IntelliSense does not work properly sometimes in Visual Studio .NET. Please correct me if there is any misunderstanding. Now I'd like to share the
following information with you:

1. What's the version of Visual Studio .NET, 2002 or 2003? Does the problem occurs to a specific project or to all projects? What's the type of
project, Visual C++, Visual Basic .NET, C#, Windows Froms, Web application?
2. Do you have any anti-virus application installed? If so, I suggest you
to disable it real-time monitor functionality and close/stop all other
unnecessary programs and services to check if the problem still exists.

3. Concerning the problem Intellisense listing only base class methods or
wrong methods and properties, there is a known issue for a corrupt
projdata file. Generally speaking, the classview and intellisense data is
stored in the following directory:
project directory\obj\debug\*.projdata

Please close VS.Net and delete that file. If the problem persists, make
sure deleting all *.projdata file in all obj\subdirectories depending on
what type of compile is used.

4. In addition, there are two KB articles on IntelliSense that may help:

PRB: Methods or Properties Are Not Listed in AutoListMembers (IntelliSense) http://support.microsoft.com/?id=305404

BUG: IntelliSense May Not List Properties That Only Have One Accessor in an Interface
http://support.microsoft.com/?id=814742

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #3
I noticed I have two different projdata-files belonging to the class library
I mentioned:
one called OfeliaExtendedTypedDataset.projdata and on called
OfeliaExtendedTypedDataset.projdata1 (the latter is of an older date)

--Stefan

3. The problem occurs when using classes that all have the following in
common: the class is derived from a dataset and it also implements an
interface (consisting only of two methods). All these classes are defined in one project (class library). Sometimes the problem will go away when I
rebuild this project.

Jul 21 '05 #4
Hi Stefan,

Thanks for your quick reply and information. Please rename the .projdata
files to check this issue. I also recommend you temporarily disable McAfee
VirusScan.

I am standing by for your result.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #5
Hello again !

Today's status:

1. I've disabled the VirusScan but it didn't help.

2. Another thing that does not workpoint in my solution:
Intellisense does not show any XML-information written in my classes, i.e.
information written with the syntax /// <summary> /// texttexttext ///
</summary> before properties, methods, classdefinitions.

--Stefan

"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:F0*************@cpmsftngxa06.phx.gbl...
Hi Stefan,

Thanks for your quick reply and information. Please rename the .projdata
files to check this issue. I also recommend you temporarily disable McAfee
VirusScan.

I am standing by for your result.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #6
Hi Stefan,

Thanks for your update. Since the problem only occurs to a specific
solution, I sugest you to create new solution and its corresponding
projects, and add classes, forms to the newly created projects one by one
to check which one causes the problem.

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4630
by: Frank Jona | last post by:
Intellisense with C# and a multi-file assembly is not working. With VB.NET it is working. Is there a fix availible? We're using VisualStudio 2003 Regards Frank
1
2181
by: Christopher W. Douglas | last post by:
I'm working in VB.Net, using Visual Studio 2003. I have a project, let's call it Foo, that contains common methods, forms, and objects I use in other projects. It compiles as Foo.dll, which I...
4
1925
by: D Witherspoon | last post by:
Sometimes if I build the app I will get intellisense, undo, and code completion (automatic completion of if stataments etc), but after a few lines of code this stops. I lose any code completion...
1
1885
by: Yaron | last post by:
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...
9
3247
by: Jim Starcher | last post by:
I cannot get the intellisense hints to work on my class constructors. Would you please tell me what I am doing wrong? public class MyObject { //Constructors /// <summary> /// Used to...
2
2616
by: louise raisbeck | last post by:
Hi, I am using c#. i have my server code within script tags on my aspx page i am not using code behind. Do you not get intellisense when working like this? it would speed up my work considerably...
2
14811
by: Don | last post by:
I'm having problems with intellisense, autocomplete, etc. suddenly not working in certain classes of a project I'm working on. All the options are set, and it all works fine for most classes, but...
0
1080
by: Zychrias | last post by:
Using the following code: typedef struct { FLOAT x, y, z; // Coordinates D3DCOLOR dif; // Diffuse color } sVertex; sVertex Verts = { {-100.0f, 100.0f, 100.0f, D3DCOLOR_RGBA(255, 255, 255,...
5
2575
by: chandan | last post by:
Hi, Intellisense is not working in VS 2005 IDE.How can I enable the intellisense ? Thanks, Chandan kumar
3
3994
by: =?Utf-8?B?SmltIFJvZGdlcnM=?= | last post by:
It's perhaps not the end of the World, but I find it annoying that I lose IntelliSense when I reference Subs and Functions I have moved to an #Included file. Does anyone know of a reasonable way...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7076
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7274
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7453
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5005
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3151
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
732
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.