intellisense

Why is Intellisense “Unavailable for C++/CLI”? [duplicate]

99封情书 提交于 2019-11-30 18:14:33
Possible Duplicate: No IntelliSense for c++/cli in visual studio 2010? As the title already states, nothing gets popped up or syntax checked. In the status bar, the following message is displayed. Intellisense 'Unavailable for C++/CLI' Usually I am using native C++ in Visual C++ 2010 Express. In Visual C++ 2008, Intellisense was working correctly for C++/CLI, so I guess it should be working in this version too. The IntelliSense parser in the C++ IDE was due for an overhaul, it had chronic problems that didn't get better with each release. Random corruption of the .ncb file, the IS database was

How to get parameter hints/completion in Visual Studio?

房东的猫 提交于 2019-11-30 17:42:44
I usually use Eclipse for coding, which has a pretty nice parameters completion feature: when you are calling a method, just after you typed ( , it will show you the list of parameters, and highlight where you are as you type: How can I get similar help in Visual Studio 2012? I know that Ctrl + K, Ctrl + I shows some info about what your cursor currently highlights, but it doesn't work if you already have started typing something. If I type MyMethod(arg1, and then hit the shortcut (or any other, such as Ctrl + Space or Ctrl + Shift + Space ), I don't get anything useful. You can use: Ctrl +

How to write a Visual Studio extension for a template or markup language that supports embedded code snippets

橙三吉。 提交于 2019-11-30 17:33:07
Is it possible to write an extension for Visual Studio 2010 that provides syntax highlighting, intellisense, outlining, etc for a custom template or markup language supporting embedded code snippets , similar to the tooling for Razor in ASP .NET MVC 3? Can this be done without using private APIs, without access to Microsoft-internal documentation and, most importantly , without having to reimplement syntax highlighting, intellisense, etc. for the embedded programming language (i.e. C# or VB)? The SDK documentation seems to suggest that the Visual Studio editor supports embedded languages via

Limited Intelliesense in VS2013 on MVC3 project

江枫思渺然 提交于 2019-11-30 17:14:28
I recently installed vs 2013 professional and opened one of my side project applications in it . The project is an MVC3 application using the razor view engine. I noticed that when editing a view (cshtml ) I wasn't getting access to intellisense that I was used to in 2012. 2 Examples i noticed right away were @Url.Content() and @Viewbag. The code still compiles and runs, just no intellisense. After messing with it a bit i figured i should check the upgrade log and sure enough i found ... "Intellisense for Razor (CSHTML and VBHTML) files is limited to HTML markup. Please see http://go.microsoft

Adding JavaScript type hints for VSCode/Monaco Intellisence

浪尽此生 提交于 2019-11-30 17:06:12
问题 Is there a way to hint to VSCode/Monaco's intellisense the types of variables. I have some code like this var loc = window.location; var gl = context1.getContext("webgl"); var ctx = context2.getContext("2d"); I see that VSCode knows that loc is a URL But it doesn't know what gl is Nor does it know what ctx is Which makes sense, having a function return different types based on its input is a somewhat unusual case. But it does have type data for WebGLRenderingContext and it knows

Is there a way to suppress Intellisense errors when using C++11 features specific to November 2012 CTP?

孤者浪人 提交于 2019-11-30 17:05:20
My code compiles and runs just fine (so far...), however, because Visual Studio's Intellisense doesn't yet support the C++11 features new to the 2012 CTP's compiler : Having chunks of perfectly good (albeit experimental) code underlined red tends to throw me off a bit. Is there a way to tell Intellisense to ignore errors in specific places? Can someone recommend an IDE that already offers proper syntax highlighting and checking for these new features (specifically, delegating constructors, initializer lists and variadic templates, these are the ones that got me hooked)? Andy Prowl I'm quite

Show <returns> xml tag into visual studio intellisense

我们两清 提交于 2019-11-30 16:58:22
I added the <returns> xml tag to some of my methods but I can't see its content in IntelliSense. Here is my code: /// <summary> /// we all live in a yellow summary /// </summary> /// <returns>what it returns</returns> public int MyMethod() { .... } Is there any way to show this content? This currently does not work (Visual Studio 2017), and is an open issue: https://github.com/dotnet/roslyn/issues/31618 One way to make it work is to install the ReSharper Visual Studio plugin (but this is paid-for). Sometimes it takes time for the IntelliSense to comprehend your code. To verify that the tag is

How do I stop an IntelliSense PCH Warning?

风格不统一 提交于 2019-11-30 16:36:02
问题 A few of my header files have no includes, so I receive this message in Visual Studio 2010: IntelliSense: PCH warning: cannot find a suitable header stop location. An intellisense PCH file was not generated. If I add a single header, for instance: #include <iostream> It disappears. How can I stop this error from showing without adding (potentially unused) include> 回答1: When adding a .cpp file it inherits the PCH settings of the project. More detailed explanation of the problem here Solutions:

Visual Studio 2015 jQuery intellisense not working

左心房为你撑大大i 提交于 2019-11-30 16:08:47
So I created a Visual Studio 2015 empty ASP.net Core application and tried to add jQuery using bower, but it isn't picking up the intellisense for jQuery... It is showing a warning saying that "Intellisense was unable to determine an accurate completion list..." JavaScript intellisense is still working just not the usual intellisense I would get after typing $. I am using jquery 3.1.1 in bower set up and read that I need to downgrade. Is that still the case? KingOfDaNorth I'm using VS 2015 and MVC 5 and was having this issue. I tried all the above and nothing worked. I then when into Tool ->

Determining Source Line and File of function reference - How does Firebug do it?

点点圈 提交于 2019-11-30 15:17:12
Brief introduction: I'm attempting to get at line number of function definition for parsing documentation comments on only public stuff. I've gotten to the point where I can find the name of the function and if I so wanted I could execute the function, but I can't seem to figure out any way to pull out line number information. Note: this is purely for documentation purposes so cross-browser isn't necessary. I know firebug (but not firebug lite so I don't know how possible this is) shows you the line number and script location of a referenced function on mouseover. I looked through the firebug