473,480 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Turning off intellisense for a project

I have a project as part of a solution which contains a very large number of
autogenerated class files. When compiling the solution and the autogenerated
files have changed, visual studio takes an age to recreate intellisense
information for the autogenerated classes. Is there any way whatsoever that
I can turn off intellisense generation on a per-project or per-class manner?
I had hoped that [EditorBrowsable(EditorBrowsableState.Never)] would stop
the generation of intellisense info for the specified item, but it appears
to do nothing of the sort.
Sep 22 '08 #1
4 1913
There is in Visual Basic (you use Attributes), but I don't know about
C#. Probably, if you dig deep enough into the options.

But why would you want to turn off IntelliSense? That's one of the
most useful features of a strongly typed language like C# is.

RL

Clive Dixon wrote:
I have a project as part of a solution which contains a very large number of
autogenerated class files. When compiling the solution and the autogenerated
files have changed, visual studio takes an age to recreate intellisense
information for the autogenerated classes. Is there any way whatsoever that
I can turn off intellisense generation on a per-project or per-class manner?
I had hoped that [EditorBrowsable(EditorBrowsableState.Never)] would stop
the generation of intellisense info for the specified item, but it appears
to do nothing of the sort.
Sep 22 '08 #2
Because firstly, every time I regenerate my autogenerated classes (created
using a custom tool) and then recompile my solution, it takes 10-15 minutes
for Visual Studio to recreate the intellisense info for that project. That's
how bad my problem is. Normally I would not need to regenerate the classes
on a regular basis, but while I am currently making lots of changes to my
custom tool, it is slowing down my development horrendously.

Secondly, all my autogenerated classes are interface based and will only be
accessed via the interfaces - thus I will not be losing anything by not
having intellisense info available for the classes.

"raylopez99" <ra********@yahoo.comwrote in message
news:ac**********************************@s50g2000 hsb.googlegroups.com...
There is in Visual Basic (you use Attributes), but I don't know about
C#. Probably, if you dig deep enough into the options.

But why would you want to turn off IntelliSense? That's one of the
most useful features of a strongly typed language like C# is.

RL

Clive Dixon wrote:
>I have a project as part of a solution which contains a very large number
of
autogenerated class files. When compiling the solution and the
autogenerated
files have changed, visual studio takes an age to recreate intellisense
information for the autogenerated classes. Is there any way whatsoever
that
I can turn off intellisense generation on a per-project or per-class
manner?
I had hoped that [EditorBrowsable(EditorBrowsableState.Never)] would stop
the generation of intellisense info for the specified item, but it
appears
to do nothing of the sort.

Sep 22 '08 #3
IntelliSense can also be intrusive and force itself on us wasting time and
effort. I would like a way to easily and rapidly toggle it on and off
myself. Like Ctrl-I for example
"raylopez99" <ra********@yahoo.comwrote in message
news:ac**********************************@s50g2000 hsb.googlegroups.com...
There is in Visual Basic (you use Attributes), but I don't know about
C#. Probably, if you dig deep enough into the options.

But why would you want to turn off IntelliSense? That's one of the
most useful features of a strongly typed language like C# is.

RL

Clive Dixon wrote:
>I have a project as part of a solution which contains a very large number
of
autogenerated class files. When compiling the solution and the
autogenerated
files have changed, visual studio takes an age to recreate intellisense
information for the autogenerated classes. Is there any way whatsoever
that
I can turn off intellisense generation on a per-project or per-class
manner?
I had hoped that [EditorBrowsable(EditorBrowsableState.Never)] would stop
the generation of intellisense info for the specified item, but it
appears
to do nothing of the sort.
Sep 22 '08 #4
Clive Dixon wrote on 22-9-2008 :
I have a project as part of a solution which contains a very large number of
autogenerated class files. When compiling the solution and the autogenerated
files have changed, visual studio takes an age to recreate intellisense
information for the autogenerated classes. Is there any way whatsoever that I
can turn off intellisense generation on a per-project or per-class manner? I
had hoped that [EditorBrowsable(EditorBrowsableState.Never)] would stop the
generation of intellisense info for the specified item, but it appears to do
nothing of the sort.
In C# you have to specify an XML file where the intellisense info will
be written to (project properties Build tab XML Documentation
file).

Clear the checkbox and no intellisense info should be generated.

Hans Kesting
Sep 23 '08 #5

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

Similar topics

4
4627
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
6
8062
by: Stefan Kronberg | last post by:
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...
1
2178
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...
0
1318
by: Jim | last post by:
I had a strange problem the other day when using Intellisense, and wondering if anyone has any experience with or advice on this... Just to give some quick background, I have a multi-tier...
9
2664
by: Ulf Lindback | last post by:
Hi! We have an application surveillance product with a number of API's for different languages; one of them is a C API. Now I wonder how we can supply intellisense to our Visual Studio.Net...
9
3243
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...
3
1515
by: AJ | last post by:
I am using Microsoft Visual C++ .NET in Visual Studio 2003. Why there is no intellisense in MC++? Any workarounds?
12
4812
by: Peteroid | last post by:
I was creating my application just fine for the last 3 weeks or so. Then, starting this morning, IntelliSense seems to be having problems. It goes into a locked 'Updating IntelliSense..." mode....
5
3461
by: dk60 | last post by:
I am using visual C++ .NET 2005 for programming in C++. despite the fact that my project contains a VC++ intellisense database, intellisense does not work. What could go wrong. IN the same...
0
7049
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
7092
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...
0
5348
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,...
1
4790
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
4488
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...
0
3000
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...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
565
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
188
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...

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.