473,804 Members | 2,223 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 8102
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 misunderstandin g. 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\d ebug\*.projdata

Please close VS.Net and delete that file. If the problem persists, make
sure deleting all *.projdata file in all obj\subdirector ies 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******@onlin e.microsoft.com > wrote in message
news:Co******** ******@cpmsftng xa06.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 misunderstandin g. 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\d ebug\*.projdata

Please close VS.Net and delete that file. If the problem persists, make
sure deleting all *.projdata file in all obj\subdirector ies 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 OfeliaExtendedT ypedDataset.pro jdata and on called
OfeliaExtendedT ypedDataset.pro jdata1 (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, classdefinition s.

--Stefan

"Tian Min Huang" <ti******@onlin e.microsoft.com > wrote in message
news:F0******** *****@cpmsftngx a06.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
4679
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
2214
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 then reference from the project that needs it. Let's say I have a method, Bar, that I want to access from another project. If I add a public module Methods to Foo, and add a public method Bar to Methods, I can call it from my other project a...
4
1941
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 I lose all automatic code indentation I loose intellisense If there are errors (squiqqly lines under the code) and I fix them, the blue squiggly line still appears until I rebuid. Rebuild fixes the formatting too.
1
1898
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 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,...
9
3260
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 create an empty MyObject. /// Will use the default property values.
2
2646
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 but nothings happening. I may have a setting turned off but dont know where to look (have tried options, text editor but cant find anything). Also, I am a little confused about the concepts of projects and solutions. I am working on some...
2
14829
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 for some it just suddenly stopped 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't help. Is Microsoft working on a fix for this, or is there something...
0
1100
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, 255)},
5
2597
by: chandan | last post by:
Hi, Intellisense is not working in VS 2005 IDE.How can I enable the intellisense ? Thanks, Chandan kumar
3
4018
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 to restore the IntelliSense feature in this case? Thanks for your thoughts... Jim Rodgers
0
9712
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10089
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9171
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7634
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5530
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.