FAQ Database Discussion Community


IntelliSense don't work - LinQ - Visual studio 2012

c#,linq,visual-studio-2012,intellisense
I have a problem with IntelliSense, it never work on my computer. I have already search on the web and try some manipulations : I already check in tools-options-text editor and yes IntelliSense is activated. I reinstalled visual studio 2012 too but it still don't work. I add "System.Data.Linq" and...

Resharper intellisense : how to show method return type

methods,resharper,intellisense
I've formatted my pc, and now i can't seem to find the option to show the method return type in the intellisense... Using VS 2015 RC with Resharper 9.1.1 Thanks, screenshot below. ...

Include file in solution explorer without it being a build dependency

c#,visual-studio,msbuild,intellisense
How can I include a file in the list of files in solution explorer without including it as a dependency for compilation? I have a .targets file that generates .cs files, similar to the examples in this answer. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <CoreCompileDependsOn>$(CoreCompileDependsOn);GenerateCode</CoreCompileDependsOn> </PropertyGroup> <ItemGroup> <Sources Include="..\sources\*.txt" /> </ItemGroup> <Target Name="GenerateCode"...

Why can't you call outerHTML on $(this)?

javascript,jquery,visual-studio-2013,intellisense,javascript-intellisense
When you want to get the HTML of an entire DOM element (wrapper included), you can do the following (as explained here): $('#myElementId')[0].outerHTML But what you can't do is call outerHTML on $(this) inside e.g. a click listener or selector function body scope: $(this).outerHTML //Doesn't complete in IntelliSense, returns undefined...

Is there any way to refresh intellisense without rebuild project?

visual-studio-2013,f#,intellisense
F# Visual Studio 2013 For example, if you add a new function to a different file, you need to rebuild the project so this new function appears in the intellisense....

TypeScript 1.4 with VS 2013 Update 4 intellisense not working [Solved]

visual-studio-2013,intellisense,typescript1.4
I have: Visual Studio 2013 pro Update 4 Web Essentials 2.5.2 TypeScript 1.4 Resharper 8.2.3 When I open a typescript file, syntax highlighting works fine, also tooltip on the function shows its definition. However, intellisense is not working (when I press a . near an object, it does not show...

PHPSTORM intellisense for casted object

php,oop,intellisense,phpstorm
I've got an object News which has some public properties. I am casting this object to an array and passing to the file to be rendered. I wonder is there a way to create a phpdoc to the news object, that is casted to an array, so there was an...

no instance of constructor “AcademicStaff::AcademicStaff” matches the argument list

c++,intellisense
I declared AcademicStaff(int, char *, char *, int , char *, char *,int, char *,char *) constructor for initiliazing. When I called the functiion in main I got an error " 2 IntelliSense: no instance of constructor "AcademicStaff::AcademicStaff" matches the argument list argument types are: (int, char, char, int, char,...

Ensure only one class can access a reference dll?

c#,dll,visual-studio-2013,intellisense
I have a project where I want only one class to have access to a dll. I would be content with hiding the dll from intellisense, but still having access to it if that is an option. Either way, I want only one class to use the dll and for...

VS2013 does not compile ASP.NET MVC5 views

visual-studio,razor,visual-studio-2013,asp.net-mvc-5,intellisense
My Visual Studio Ultimate 2013 Update 4 does not compile ASP.NET MVC 5 views. Compilation errors are spotted on views sporadically, although compilation is always successful. Intellisense is also on and off on the views. I would say it was working significantly better in VS2012 (I did not much MVC...

How to add Error Markers in Visual Studio 2010 (C++)?

c++,visual-studio-2010,syntax-highlighting,intellisense
I seem to have lost the default error markers(highlighting), those curly wavy red lines that appear in the TextEditor of VS2010 IDE (for C++) when you type something that isn't syntactically correct (syntax errors, non existing overloads, ...etc). Is there a way to reset them to default settings?...

Angularjs - Resharper intellisense broken with TypeScript?

angularjs,typescript,resharper,intellisense,definitelytyped
I have VS 2013 Update 4, TS 1.4, latest WebEssentials and R# 8. I am trying to create some AngularJS code in my MVC solution. In installed Angularjs and angular.d.ts via nuget. I have done the same for "marked" and also jQuery installed automatically as Angular dependency. How, none of...

VSCode can't find angular.d.ts

angularjs,intellisense,vscode
I opened up angular code in VSCode. At first it didn't recognize angular, so used the light-bulb to add: /// <reference path="../../typings/angularjs/angular.d.ts"/> But it still doesn't recognize angular and now I get an error saying that it can't find angular.d.ts....

What is wrong with my Visual Studio 2013

visual-studio-2013,intellisense,error-list
So there is something wrong with my VS 2013. Everything is up-to-date, IDE and OS (WIN 7). From my research several people say to delete the *.sdf file from my solution, I do not have such a file. Also suggested "Go to: Edit -> IntelliSense -> Refresh Local Cache", that...

How to stop intelisense from auto-completing UNLESS i press space or a specific character to activate it

c#,visual-studio-2012,intellisense,options
I'm trying to write some code in C# in visual studio after a while working mostly on c++ and the settings for C# are driving me nuts. I hate hate hate auto complete activating at the touch of any number of characters I might type as part of a single...

IntelliSense: aria-valuemax and data-ng-style aaaargh?

visual-studio-2013,resharper,intellisense
While typing code in a Razor (.cshtml) file using Visual Studio 2013 (Update 4) with ReSharper 8.2.3 (updated by suggestion from this question), my IntelliSense is doing stuff that is driving me crazy. I am a heavy user of the IntelliSense+Tab key when typing to speed up my coding, but...

How to disable Visual Studio's autocomplete while in comments

visual-studio-2013,autocomplete,intellisense
Visual Studio seems to have some kind of limited auto-complete that occurs while typing comments. It seems to be listing classes, variables etc just to fill in their name. Here's an image showing it popping up while I type "form". I find this highly undesirable because comments are not usually...

Visual Studio 2013 crashes when writing opening angle bracket

visual-studio,xaml,crash,intellisense,xamarin.forms
everytime I try to write an opening angle bracket in vs13 it crashes. The Problem only happens in a xamarin.forms project and in an xaml-file. Every other key works fine, just the opening angle bracket causes the problem. If I copy/paste it in the code it works fine, as well......

Intellisense with third party JavaScript libraries in Visual Studio Code

intellisense,javascript-intellisense,vscode
I have been playing around with Visual Studio Code today, and have been having a problem getting intellisense to work with some of the code in a JavaScript project. I had read this post http://www.johnpapa.net/intellisense-witha-visual-studio-code/ which talks about this issue, demonstrating how you can use intellisense with angular. I've been...