intellisense

VS2013 IntelliSense overlapping ReSharper's one

筅森魡賤 提交于 2020-01-03 04:19:38
问题 After installing ReSharper I've noticed a problem with the IntelliSense; In the image it is clearly visible that the IntelliSense of Visual Studio is displayed over the one of ReSharper (which by the way has the focus, so using the arrow keys will move the highlight section of the completion list below). I've tried to do several things without any result (always with VS restart): Switch from ReSharper IntelliSense to VS (back and forth) Limit ReSharper IntelliSense to some selected languages

Visual studio comments from a dll project

删除回忆录丶 提交于 2020-01-03 04:17:28
问题 When I write code I frequently use comment notation like below. For functions / methods / classes and sometimes even for public variables. /// <summary> /// Constructor of the process runner class. /// </summary> /// <param name="Name">The exe name of the application ea notead.exe</param> /// <param name="Processrunner">A Process instance to start</param> Public ProcesRunner(.....bla bla bla.. This works nice when both class and program are within the same project. However when I create a

Hide (abstract) classes from Intellisense

↘锁芯ラ 提交于 2020-01-02 09:55:08
问题 I have several abstract classes is class library which would like to hide from Intelisence, how to do that? 回答1: Use the attributes, before the class declaration: [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] edit: if the class code is in your solution, it won't ever hide: http://social.msdn.microsoft.com/forums/en-US/csharpide/thread/c2d2bd5a-97a5-4886-846d-759173476631/ 来源: https://stackoverflow.com/questions/9274784/hide-abstract-classes-from-intellisense

Namespace not found within the same project according to intellisense, yet project builds

折月煮酒 提交于 2020-01-02 04:35:10
问题 I have a simple ASP.Net MVC project which for some reason has issues with intellisense. It is constantly giving me errors that namespaces local to the project can not be found, even though they do exist and the project will build fine. Here's an example: It is very frustrating as this results in me having no intellisense available whatsoever. Has any one encountered a problem like this before, and do they know of a solution? The project itself is an MVC4 website running in VS2013 in W8 under

VS 2008 Intellisense hanging on right click

爱⌒轻易说出口 提交于 2020-01-02 04:33:14
问题 I have a fairly large C++ solution in Visual Studio 2008 SP1. When I RIGHT CLICK, I see the updating intellisense in the status bar and the whole studio freezes for several minutes. Right click worked fine in 2005. Any workarounds? 回答1: Updating intellisense on larger projects just kills productivity - Visual Assist is a much better replacement. I think though that intellisense is also linked to the way VS parses the code for the designer, so a more temporary solution to test with is to

Razor in class library, missing intellisense

给你一囗甜甜゛ 提交于 2020-01-02 03:42:08
问题 I'm trying to include razor (cshtml) files in a class library, to be included in a separate MVC4 project. I've gotten everything working, except intellisense seems to be missing for certain types, specifically System.Web.Helpers.Json , although there could be others I haven't discovered yet. My problem might be related to Razor views: Intellisense not working with C# 3 for class libraries but it's not exactly the same. Here is a sample from my razor view: @model dynamic @{ // ... some code ..

Visual Studio 2010 Intellisense squiggles for C code

故事扮演 提交于 2020-01-01 04:49:07
问题 Intellisense in Visual Studio 2010 interprets C code as C++ and marks errors where they don't exist, as in: struct my_struct *s = malloc(sizeof *s); which is valid C, but not valid C++. Is there any way to fix this? 回答1: It is a known bug since at least MSVC 2005. Unfortunately it has become a bigger issue in 2010 since VC now uses Intellisense to mark errors. See this discussion at the MSDN forums for more information. The following statement is disheartening, but I highly recommend that you

Visual Studio 2010 intellisense colors

喜欢而已 提交于 2020-01-01 04:16:07
问题 Is it possible to change the color of intellisense in Visual Studio 2010. As you can see in this screen shot. Its virtualy impossible to see the types of the parameters because they're displyed with a white foreground colour on a grey background. 回答1: Success at last. If you install the Productivity Power Tools addin (http://visualstudiogallery.msdn.microsoft.com/en-us/d0d33361-18e2-46c0-8ff2-4adea1e34fef) From version 10.0.10819.19 onwards you get a new option. Namely Colorized Parameter

Visual Studio's “auto-resolve” feature doesn't work for extension methods - what now?

有些话、适合烂在心里 提交于 2020-01-01 02:40:14
问题 I love the "Resolve" feature in visual studio. Typical scenario: Type in Debug Type . Notice that no intellisense appears Right-click Select Resolve Choose using System.Diagnostics or System.Diagnostics.Debug Beautiful. Use it all the time. Extension method scenario: Type in var maxNumber = new int[] {1, 2, 3, 4} Type . Notice that intellisense brings up array methods but no LINQ extension methods Manually type Max() Right-click Max() No Resolve to be found Right click on int[] Still no

Disable IntelliSense in Visual Studio 2015

久未见 提交于 2020-01-01 02:17:22
问题 Is there a way to disable IntelliSense in Visual Studio 2015? The information I find are all for the older version of VS, but not for VS 2015. 回答1: It seems to be impossible to really disable IntelliSense officially. When switching it off via Tools->Options->Text Editor->C/C++->Advanced->Disable IntelliSense the database is still created. I.e. there is still a project.sdf next to your project.sln. I found two ways of completely disabling it: On project level: Delete project.sdf and create a