Turning off intellisense for a project

C

Clive Dixon

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.
 
R

raylopez99

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
 
C

Clive Dixon

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 said:
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 said:
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.
 
H

Hillbilly

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 said:
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 said:
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.
 
G

G.S.

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




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.

Clive said:
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.- Hide quoted text -

- Show quoted text -

you may try to "break" it - see this (if the Whole Tomato thing is an
IntelliSense competitor/alternative, then I'll have to say that I am
not affiliated nor I get paid for finding this link for you :)

http://tewha.net/software-development/disabling-intellisense/
 
H

Hans Kesting

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top