473,322 Members | 1,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 8047
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
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
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
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
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
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
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
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
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
by: chandan | last post by:
Hi, Intellisense is not working in VS 2005 IDE.How can I enable the intellisense ? Thanks, Chandan kumar
3
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.