intellisense

Visual studio intellisense does not see new methods until restart?

限于喜欢 提交于 2020-01-05 08:04:06
问题 I have a fairly large C# project with many files, classes etc. Everything works fine but if I move to say ClassA and add a new method or property and then move to another file in the solution and attempt to access it the intellisense reports it does not exist and underlines it in red. If I build the solution it will correctly build without errors and the red lines will disappear until I start editing the file again and then the red lines will come back and be reported as errors. Saving the

css intellisense not firing for class attribute in MVC 4 (VS12 Update 3, VS13 Preview)

允我心安 提交于 2020-01-05 05:43:10
问题 I have googled a lot to try to find a fix for this. But none of the discussion is helping me. Here is my situation. For him in this question. He says that css intellisense is working if he adds css like below. I am already using this method. <link href="~/Content/style.css" rel="stylesheet" /> adding type="text/css" is also not working. I usually do not use this attribute but tried adding this when I saw in this question. I also have both of these tools installed Web Essential 2012 and

VS2010 RC - Is intellisense broken? How do I turn it on?

谁说我不能喝 提交于 2020-01-04 05:24:12
问题 I installed the RC of VS2010 side-by-side with VS2008 SP1. VS2010 Intellisense appears to be broken, or at least not functioning as expected. I can only get intellisense if I hit CTRL + spacebar. Then after selecting the memebr from the intellisense list, hit the period again, and then CTRL + space again. If intellisense broken or just turned off? How do I fix it? Update #1 - I do have Resharper 4.5 installed on VS2008. UPDATE #2 - I installed the hot fix. No go. Then, I looked at the options

How can I suppress Intellisense errors for certain files?

北慕城南 提交于 2020-01-04 04:00:49
问题 Visual Studio 2015 offers the option to show Intellisense errors in the same window that also displays regular build errors. I like it because I don't even need to build in order to see if my code is sytatictically correct. However, the window also shows one false positive error which seems to be related to an Intellisense bug. Is there any way to suppress intellisense errors for specific code regions or entire files? 回答1: Did you find an answer? You can do it by writing the following in your

VS 2010 C++ IntelliSense “a storage class may not be specified here” even though it can?

本小妞迷上赌 提交于 2020-01-04 01:28:48
问题 This is a fairly minor question, but it's annoying me: IntelliSense seems to be convinced that declaring static variables at the function-scope in an if condition is an error, and complains about it. Only it builds just fine, and even the MSDN docs mention it as a legitimate usage. I'd really like to get rid of the wavy red line, because it comes up fairly often (it's used in a macro I use regularly). Here's the code, as an example, though it's not the only example in my program: MyForm:

ASP.Net VirtualPathProvider and Visual Studio Intellisense

折月煮酒 提交于 2020-01-03 20:33:14
问题 I'm hoping someone can help me out with this annoyance. At work we have two independent website projects that share a common MasterPage. The MasterPage is embedded in a class library that both projects reference. We use a custom VirtualPathProvider that lets us reference the MasterPage in each project. This works fine at runtime/compiletime, but it breaks intellisense inside the aspx page markup. When I set the MasterPageFile property to "~/EmbeddedMasterPage.Master", Visual Studio shows a

ASP.Net VirtualPathProvider and Visual Studio Intellisense

跟風遠走 提交于 2020-01-03 20:31:13
问题 I'm hoping someone can help me out with this annoyance. At work we have two independent website projects that share a common MasterPage. The MasterPage is embedded in a class library that both projects reference. We use a custom VirtualPathProvider that lets us reference the MasterPage in each project. This works fine at runtime/compiletime, but it breaks intellisense inside the aspx page markup. When I set the MasterPageFile property to "~/EmbeddedMasterPage.Master", Visual Studio shows a

Intellisense for module-alias Package

こ雲淡風輕ζ 提交于 2020-01-03 18:02:41
问题 I am using this npm module ( module-alias ) https://www.npmjs.com/package/module-alias in my Node project. To make use of this package you have to set path aliases in the package.json file. However, using this package comes with the disadvantage, that intellisense doesn't work anymore. My question is how to enable intellisense with those path aliases? 来源: https://stackoverflow.com/questions/53693686/intellisense-for-module-alias-package

Tag helper intellisense in VS 2017 ver 15.3.x not working

て烟熏妆下的殇ゞ 提交于 2020-01-03 17:03:36
问题 In past versions of Visual Studio 2017 if a developer wanted to have tag helper intellisense they needed to install Razor Language Services as indicated in this SO answer: ASP.NET Core Tag Helper Intellisense in Visual Studio 2017 In prior versions of VS 2017 I did this and it worked great. Recently I upgraded to Visual Studio 2017 version 15.3.2 from version 15.2 I believe and now my tag helper intellisense is no longer working. I read here https://developercommunity.visualstudio.com/content

How can I skip the closing quotation mark when typing in the Visual Studio xml editor?

陌路散爱 提交于 2020-01-03 08:26:36
问题 I like that quotation marks are automatically inserted in the Visual Studio xml editor, but I haven't yet found an easy way to get past the second quote without moving my hand over to the cursor keys or hitting End. Is there an easier way to skip past the second quote when the value is a string (Intellisense will skip the quote if the value is an enum)? Might just turn this feature off entirely.. 回答1: ctrl + u should do the job. Not the most magic solution but still the best one available.