c#,visual-studio,msbuild,intellisense
Move the code generation to BeforeCompile instead of CoreCompileDependsOn. this will keep the generation of the files from tirggering the subsequent builds. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Target Name="BeforeCompile" DependsOnTargets="GenerateCode"> </Target> <Target Name="GenerateCode" Inputs="@(Sources)" Outputs="@(Sources->'generated\%(Filename).cs')"> <!-- run executable that generates files --> </Target> </Project> If you include all of the generated...
c#,exception,resharper,intellisense
There's two issues here. First, you can give ReSharper hints to code analysis, and I'll show you how below. The problem here, however, is not ReSharper, but the compiler. The compiler will not be persuaded by these hints. The method you showed: public int AnotherMethod() { // some stuff MyMethod();...
visual-studio-2013,editor,intellisense,code-completion
Ok, i fixed my problem by running the setup, and choosing the repair option. Everything is back to normal now.
visual-studio,ide,visual-studio-2013,intellisense
Make sure your namespace is same for both classes.. If yes then restart (quit/start) the visual studio...
c++,qt,intellisense,qtgui,qlabel
The problem is here: foo(QWidget* parent = 0) : QWidget(parent) You are inheriting from QLabel, but you specify QWidget for the base. You should write this intead: explicit foo(QWidget* parent = Q_NULLPTR) : QLabel(parent) // ^^^^^^ Also, please use explicit for that constructor as well as Q_NULL_PTR or at least...
java,android,android-studio,intellisense
File -> Preferences -> Editor and check "Show quick doc on mouse move". Also make sure the option "Autopopup documentation in (ms):" is checked under: "Code Completion"...
intellisense,javascript-intellisense,vscode
Yes, for now you can create a tsd.d.ts file for all of your d.ts file references. Put that in your project once, then each file can refer to that. Or use a tsconfig.json with no files (leave it undefined). This story will get better...
visual-studio,xaml,crash,intellisense,xamarin.forms
Problem solved by deleting the hidden file .suo in the projectdir. After a restart everything works fine! :)
It looks like the problem was that VSCode failed to download the file and create the directories. I googled angular.d.ts and found it on GitHub - DefinitelyTyped I created "typings/angularj/" folders and added the file and now intellisense is working for angular :)...
asp.net,vb.net,visual-studio-2013,intellisense
One workaround you could try is to drop a web.config in the same directory and set the target framework. <?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> </configuration> When VS opens an ASPX file outside any projects (called a miscellaneous file), I believe it looks for a web.config file...
You can check for the userAgent and decide what to do based on it. You can even set a custom userAgent in some browsers in case you need that too. window.navigator.userAgent So, for example, your condition could be: if(window.navigator.userAgent.indexOf('Mozilla') !== -1) { // browser here } else { // VS...
.net,c++-cli,intellisense,.net-assembly
I have found the problem: It's the namespace! After removing the namespace, all of the comments were shown. Seems like VS2008 has problems with interpreting intellisense XML comments of different namespaces. Can anyone confirm that? And is there a solution for this problem? (BTW: Which id*** downvoted my question? Is...
css,visual-studio-2012,twitter-bootstrap-3,intellisense,cdn
You can add CDN references to intelliSence for javascript, however, css is not supported. You can add the file to your project and it will work, you dont need to add a ref to html, just to project and it should resolve your issue....
objective-c,xcode,intellisense
You can do it in Xcode. In the line before your class name/method declaration/property declaration, and always in your header (.h) file, you should include a documentation comment (with /// comment or /** comment **/). This text will be visible in the Xcode drop down menu whenever you type the...
c++,visual-studio-2010,syntax-highlighting,intellisense
Try this Go to tools -> options and under Environment, select the Fonts and Colors node. Choose Text Editor from Show the settings for and in the Display items listbox look up the item Syntax Error and fix the setting you want or use the Use Defaults button on top...
javascript,jquery,intellisense,webmatrix
Usually, in Visual Studio you can use reference directive in the beginning of the file. It will include a script file in the scripting context of the current script file. And IntelliSense will be enabled. Since WebMatrix is microsoft as well, I believe this should work too: /// <reference path="JS/jquery-2.1.0.js"...
c++,c,visual-studio-2010,intellisense
I don't think it is possible since in MyIterateBreakpointsCallBack you're trying to access members of the type and this requires a complete type at this point. I am not familiar with the project you're trying to work with but a quick google search hinted me its the tcf.agent project. If...
visual-studio-2013,intellisense,error-list
I'm sure there has to be some better way to fix this problem or an explanation of how to prevent this from happening in the first place but here is how I managed to fix this issue. I removed the contents of all the directories listed below. I just manually...
javascript,visual-studio,visual-studio-2012,intellisense,references.js
According to Mads Kristensen There are several ways of implementing Intellisense for JavaScript. The three I remember being discussed were: 1. All .js files in the project are automatically included in Intellisense 2. Only .js files included on the same HTML pages are included 3. The user can manually reference...
c++,arrays,visual-studio-2013,intellisense,const-char
According to the C++ Standard If a non-volatile const static data member is of integral or enumeration type, its declaration in the class definition can specify a brace-or-equal-initializer in which every initializer-clause that is an assignmentexpression is a constant expression So your code does not satisfy the C++ Standard. On...
methods,resharper,intellisense
Here you can find the corresponding setting:
visual-studio-2013,resharper,intellisense
This is the AngularJS plugin for ReSharper. The latest version is a bit more sane with respect to item ordering and will choose style over data-hg-style. However, most of this goodness comes from ReSharper itself, and the latest version of the plugin requires ReSharper 9.1.
sql-server,tsql,intellisense,sql-server-2008
The version of SSMS installed is just as important as the configuration options (statement completion, enable intellisense, no sqlcmd mode) that you've already covered. Ensure the workstation where SSMS is running has at least SQL Server 2008 R2 SP2, then apply the most recent cumulative update. A list of the...
I don't think there is a setting for such things. But, there is a tool called Resharper that do something like what you need. Instead of replacing T you get an empty <|> with the cursor ready to write the type. new List<|> Note: There may be other tools that...
xamarin,intellisense,xamarin-studio
You must close file and open with RigthClick file(in Solution pad)->Open With->Source Code Editor. More info on this forum thread.
angularjs,typescript,resharper,intellisense,definitelytyped
I turned off the TS support in R# and intellisense seems to work properly. So, I would assume this is the Resharper issue Yes. They need to update for v1.4 of typescript. You can use an older angular.d.ts till then : https://github.com/borisyankov/DefinitelyTyped/blob/1.3.0/angularjs/angular.d.ts...
sql,sql-server-2008,intellisense,ssms
On msdn it says: "IntelliSense is available for the SELECT statement when it is coded by itself, but not when the SELECT is contained in a CREATE FUNCTION statement." Although, when testing it in my SSMS 2012, it does seem to work... Source: http://msdn.microsoft.com/en-us/library/bb934481.aspx (sorry, I don't have enough rep...
visual-studio-2013,resharper,intellisense,windows-8.1,resharper-8.0
This is a conflict with the "plain text completion" feature of the Viasfora extension. It's been fixed in source by detecting when ReSharper is installed: https://github.com/tomasr/viasfora/issues/51 Should be fixed in a new release soon, I guess.
javascript,syntax,visual-studio-2013,intellisense
In order to get intellisense to work with js files referenced on your web pag you need to add a _reference.js file. It really doesn't matter where you put the file, but generally it should be placed along with the rest of your js files. Perhaps in a SCRIPTS folder....
You need to call the function with AcademicStaff headOdDepartment(staffID, firstName, lastName, telNo, address, email, annualSalary, title, status); You're sending the first element if you send *charArray.
visual-studio-2013,f#,intellisense
If both files are in the same project, all you need to do is save the file. If it's in another project, then you have to rebuild.
visual-studio,razor,visual-studio-2013,asp.net-mvc-5,intellisense
Does your project include the target and hook into after build event? Try msbuild WebApplication1.csproj /t:MvcBuildViews from command line, it'll check that you have both default property set and target defined. <PropertyGroup> <MvcBuildViews>true</MvcBuildViews> </PropertyGroup> <Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'"> <AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" /> </Target> Try creating a blank MVC project from...
Short answer hit a combination of CTRL+SPACE and start typing the sub name like shown here Long answer Everything you do in programming matters. When you decide to make your sub/function/variable private you do that for a reason and you need to understand how this will affect the access level...
javascript,node.js,visual-studio,visual-studio-2013,intellisense
After some research I found a solution, Pio's answer is valid, but I couldn't find a "JavaScript Html & CSS" project that wasn't tied to asp, so I found a better, but slightly annoying solution. It simply requires editing the project file (Name.njsproj), and then editing the tags under <ItemGroup>:...
visual-studio-2013,autocomplete,intellisense
Turns out this is being done by the Viasfora extension. It can be disabled from Options > Viasfora > General > Text Editor and set "enable plain-text completion" to be false.
visual-studio,intellij-idea,intellisense,code-completion
You can easily enable this feature in IntelliJ. Go to Settings/Editor/Autocompletion and check insert selected variant by typing dot, space, etc. Btw: settings section was restructured a bit so this setting might be in a different location in IntelliJ 14 (I currently have 13 installed). But you should be able...
c#,visual-studio-2012,intellisense,web-site-project,app-code
IMO, you should move your code out of App_Code. In .net 4.5 (and 4.0) your behind code is compiled to a dll, so I don't see any benefits to putting your code in App_Code. If someone advises different, I am interesting in hearing. With that said, create a folder or...
c#,linq,visual-studio-2012,intellisense
A colleague solve my problem. He has just installed ".NET Web Development and Tools Blog" from here : http://blogs.msdn.com/b/webdev/archive/2013/11/18/announcing-release-of-asp-net-and-web-tools-2013-1-for-visual-studio-2012.aspx. Now the text is formating and colored, everything is working !...
javascript,jquery,visual-studio-2013,intellisense,javascript-intellisense
outerHTML is a DOM property; jQuery doesn't expose all DOM properties. If you have a jQuery object, you can only directly access those properties and methods that jQuery exposes, and vice versa for DOM objects. In object-oriented terms, jQuery objects don't inherit from DOM objects, they contain them. Saying $x[0]...
visual-studio-2013,typescript,intellisense
TypeScript does not infer types from assignments. To think about why, consider the following code: var player = {}; player.intelligence = 10; player.wisdom = 30; if(desiredClass === "Barbarian") { player.strenght = 100; } else { player.strength = 20; } There would be no way to issue an error here, despite...
c#,asp.net-mvc,razor,intellisense,visual-studio-2015
I solved this problem by resetting the user data devenv.exe /resetuserdata and remove the ".vs" folder in my project....
html,css,visual-studio,intellisense
Try this: Menu: Tools -> Options -> Text Editor -> HTML -> Advanced Change value for "Insert attribute value quotes: to False. ...
IMO is an attribute devoted to libraries building, inside your VS solution (when dependencies are not external) Intellisense will simply ignore it. There are few useful use-cases. Let's first see EditorBrowsableState.Advanced: with some languages (notably VB.NET) you can instruct IDE (actually Intellisense) to hide advanced members so you'll see only...
sql,sql-server,intellisense,ssms
This will happen any time you create a new table, procedure, function, etc or modify a database object (add/remove columns on a table for example). You just need to refresh the Intellisense cache to have it look for new objects. ctrl+shift+r should do the trick, or use the menu option...
The functionality you mean is probably "intellisense". By default you should be able to hit Ctrl + Space after typing the first letters of a command or variable name to open a dropdownmenu with possible matches. Select the correct entry and continue by pressing "Tab".
asp.net-mvc,visual-studio-2012,razor,lambda,intellisense
Hah, I found the problem. This must be some kind of a bug. There wassome code I had commented out below the code I showed you. If I take out that commented area the problem just evaporates. And here's the one with commented out code: ...
visual-studio-2013,intellisense,typescript1.4
After many trial and error I could fix it by: Removing 10.0 folder in %APPDATA%/microsoft/microsoft visual studio Disabling intellisense for typescript in Resharper Uninstalling Web Essentials from visual studio 2013 Uninstalling TypeScript 1.4 Reinstalling TypeScript Reinstalling Web Essentials Setting back Resharper settings Only thing I can think is that it...
You cannot hint custom array keys via PHPDoc (be it key name itself or value type) -- currently it's not supported. https://youtrack.jetbrains.com/issue/WI-3423 https://youtrack.jetbrains.com/issue/WI-5304 Watch these tickets (star/vote/comment) and possibly some of the related tickets to get notified on progress....
css,visual-studio,visual-studio-2012,intellisense
Go to Sollution explorer > exclude the folder which contain all those css file and click on Show all file. When solution explorer stop showing you that file it will doesn't show you the css class(es) and ID from that CSS File that you have just excluded right now....
javascript,visual-studio,visual-studio-2013,intellisense
Visual Studio uses commented XML-like markup to build javascript intellisense. Basically, you add markup of this form (say this code is in myScript.js): function myFeature (enable) { /// <summary>Summary of the function</summary> /// <param name='enable' type='Boolean'>True: RW, False: RO</param> [function code here] } In this example, you can see the...
c#,reflection,intellisense,factory-pattern,dynamicobject
It's hard to determine the complexity of your problem, without more details, but I think you are looking for the strategy pattern Runnable example abstract class Strategy { public abstract void AlgorithmInterface(); } class ConcreteStrategyA : Strategy { public override void AlgorithmInterface() { Console.WriteLine( "Called ConcreteStrategyA.AlgorithmInterface()"); } } class ConcreteStrategyB...
visual-studio-2012,cuda,intellisense
I've found a solution #ifdef __CUDACC__ #define L(x,y) __launch_bounds__(x,y) #else #define L(x,y) #endif __global__ void L(256, 8) kernel(int* result, int* input){} this compiles fine without intellisense problems...
c#,visual-studio-2012,intellisense,options
For Visual Studio 2013, I can go to Tools -> Options -> Text Editor -> C# -> Uncheck "Auto-list members", in order to disable proactive intellisense. I would imagine it is similar for Visual Studio 2012. You can still manually activate intellisense using Ctrl+Space....
typescript,intellisense,webstorm
I've reported the problem, an issue is created at JetBrains: https://youtrack.jetbrains.com/issue/WEB-14844 Update. They say it's fixed in version 10. ...
c#,dll,visual-studio-2013,intellisense
Simply said: You can't do that (but keep reading). Basically, a DLL (From the .NET perspective) is a bunch of code and config files. No more than that. So, given that you'll need to make public those classes in order to be used from another ones outside that assembly then...
javascript,visual-studio,intellisense,list-comprehension,ecmascript-harmony
This is in fact part of the upcoming ES2016 specification, not ECMAScript 5 (your question was originally tagged with ecmascript-5). According to this and the MDN documentation, you actually need to place the for section at the beginning, not the end: var destArray = [ for (val of sourceArray) {...
c#,intellisense,visual-studio-2015
The Escape key will cancel intellisense and allow you to continue typing anything you want without interferences. Just tried it on VS2013 to confirm. As to the "{" being closed with a "}", this is usually caused by an extension such as Resharper, MS PowerTools, or similar....