Questions tagged [intellisense]

IntelliSense is Microsoft's implementation of automatic [code-completion], best known for its use in the Microsoft Visual Studio integrated development environment.

IntelliSense is Microsoft's implementation of autocompletion, best known for its use in the Microsoft Visual Studio integrated development environment. In addition to completing the symbol names the programmer is typing, IntelliSense serves as documentation and disambiguation for variable names, functions and methods using reflection.

3749 questions
289
votes
35 answers

Visual Studio displaying errors even if projects build

I have a problem with Visual Studio on a C# solution. It displays totally random errors, but the projects build. Right now, I have 33 files with errors, and I can see red squiggly lines in all of them. I tried cleaning / rebuilding the solution,…
GammaOmega
  • 8,641
  • 6
  • 35
  • 58
229
votes
21 answers

Intellisense and code suggestion not working in Visual Studio 2012 Ultimate RC

I have just downloaded and installed Visual Studio 2012 Ultimate RC, but I'm having an issue with the intellisense: it does not work until I press Ctrl+Space. Code suggestions are disabled also (method parameters for example). I think the problem…
h_djebli
  • 2,569
  • 2
  • 14
  • 14
226
votes
28 answers

Unity Scripts edited in Visual studio don't provide autocomplete

When I want to edit C# Unity scripts, they open in Visual Studio. It is supposed to provide auto complete for all Unity related code, but it doesn't work. Here you can see the missing functionality: As seen, the transform object does not open the…
CorbenDalas
  • 2,423
  • 2
  • 7
  • 7
224
votes
5 answers

Visual Studio 2010 - C++ project - remove *.sdf file

I would like to know if I can safely delete the sdf file that stores information for Visual Studios Intellisense - is it going to be rebuilt the next time that I open the solution? Do I lose anything by doing so? Is it possible to break the solution…
kubal5003
  • 7,038
  • 7
  • 47
  • 85
178
votes
17 answers

Why is SQL Server 2008 Management Studio Intellisense not working?

I'm being driven to insanity trying to figure out why Intellisense just fails to work at all. The server I'm using is local and is 2008, the database is set to 2008 compatibility, Intellisense is on in every menu I can find, and yet no member list…
159
votes
5 answers

How to show method parameter tooltip in C#?

VS2010: In VB I can place the cursor inside an existing method's parameter brackets and type a 'space', which will bring up the tooltip with description of the parameter I'm at. This is not the case in C#. I have to delete the whole brackets…
bretddog
  • 5,103
  • 8
  • 55
  • 108
153
votes
30 answers

Why does intellisense and code suggestion stop working when Visual Studio is open?

I have been having issues with Intellisense in Microsoft Visual Studio 2012. I will be working in a project, editing code and whatnot (after a period of time, anywhere from 5 minutes to over an hour) and all of a sudden, no more code suggestions or…
143
votes
8 answers

How to document thrown exceptions in c#/.net

I am currently writing a small framework that will be used internally by other developers within the company. I want to provide good Intellisense information, but I am not sure how to document thrown exceptions. In the following example: public void…
Arnold Zokas
  • 7,741
  • 6
  • 45
  • 75
142
votes
7 answers

Visual Studio 2010 IntelliSense doesn't select a default value - it just marks it

I have a pretty annoying problem with the IntelliSense in Visual Studio 2010: Every now and then (but not always - just out of my control) the Intellisense engine chooses to "mark" an option, instead of actually selecting it. This means that instead…
Tomas Aschan
  • 53,075
  • 51
  • 214
  • 362
139
votes
17 answers

Visual Studio 2015 Broken Razor Intellisense

After installing and then repairing my VS2015 instance I still cannot get intellisense (server side) to work in my MVC views. I get alerted by message prompt as soon as I open for the first time in a session an .cshtml file and get addressed to the…
Cristian Merighi
  • 1,581
  • 2
  • 11
  • 9
136
votes
2 answers

VB.NET IntelliSense : Disable newline on ENTER autocomplete

When editing C# code in Visual Studio 2010, the ENTER key makes IntelliSense complete the current suggestion, without adding a new line. In VB.NET, the default IntelliSense behavior for the ENTER key is to add a new line after completing the current…
user356178
133
votes
21 answers

Visual Studio 2012 - Intellisense sometimes disappearing / broken

My colleagues and I are using VS2012 for some weeks now. Sometimes after working several hours the intellisense is broken. After closing all open tabs it works again. Are there more people out there having the same problem? It can't be an extension…
KroaX
  • 5,535
  • 4
  • 26
  • 41
132
votes
26 answers

Visual Studio 2013 IntelliSense stops working for ASP.NET MVC5 Controllers

I am facing a weird problem in my Visual Studio 2013 ASP.NET MVC 5 project. All of a sudden, the IntelliSense in the Controller classes of the MVC 5 project are not working at all. I have other class library projects in my solution and IntelliSense…
Emran Hussain
  • 9,974
  • 5
  • 36
  • 44
127
votes
11 answers

Visual Studio 2015 or 2017 shows IntelliSense errors but solution compiles

We are currently evaluating the new Visual Studio 2015 and encountered a strange problem with IntelliSense. When I compiled our main solution with the new studio the build succeeds, but nevertheless 6 errors are shown. I discovered that it's not a…
Ash
  • 2,333
  • 4
  • 11
  • 18
118
votes
1 answer

How do you tell Resharper that a method parameter is a string containing a CSS class?

[Enable intellisense on HTMLHelper attribute for css classes] I have this HTMLhelper: public IHtmlString MyTextBoxFor( this HtmlHelper html, Expression> propertyExpression, string…
Raif Atef
  • 2,858
  • 1
  • 22
  • 31
1
2 3
99 100