intellisense

When using Visual Studios 2012 for coding in C++, how do you autocomplete code selected in IntelliSense?

做~自己de王妃 提交于 2019-12-12 16:03:23
问题 When using IntelliSense, it would usually show up functions, members, and etc. in the dialog box. Usually at the very top of the dialog box, IntelliSense would automatically select the most relevent C++ code that fits what the user typed. I want the IntelliSense to help me autocomplete the word I was typing, but whenever I press Enter key, it would just insert a new line, and not autocomplete it for me. The only workaround for me is to press Down key, and then press Enter, in order to achieve

ASP.NET MVC Razor Errors After Fresh Installation of Visual Studio 2013 on Windows 8.1

陌路散爱 提交于 2019-12-12 14:52:58
问题 I recently got a new laptop and did a fresh installation of Visual Studio 2013 Professional. After installation, the first thing I did was to make sure that Nuget was set to automatically download missing packages. I'm now trying to work on the same large solution I was using before getting my new laptop, but I'm getting some strange errors that I haven't been able to resolve after many hours of research. The most obvious symptom of the issue is that I see many errors on Razor views. They are

SQL Server 2008 R2 intellisense doesn't work

江枫思渺然 提交于 2019-12-12 14:24:02
问题 The SQL Server 2008 R2 Management Studio intellisense stopped working a month ago though it is enabled. I read that this issue may be caused by the .NET framework 4.0 SP1 and tried some of the suggestions but nothing worked: I have installed the cumulative update package: SQLServer2008R2_RTM_CU7_2507770_10_50_1777_x64 I re-registered the TextMgrP.dll Any other suggestions what can be done? The SSMS version is: Microsoft SQL Server Management Studio 10.50.1617.0 回答1: Make sure you are

Visual studio intellisense messing up

最后都变了- 提交于 2019-12-12 12:27:21
问题 So I'm new to MVC4 and C#, I have been designing this website for about 2 weeks now and there have not been any issues with the intelisense. For 2 days now Visual studio is telling me that @Viewbag and other @ commands are not part of my project and i may be missing something or it tells me that Viewbag doesn't exist in the current context. I'm unsure how to fix this ( i have restarted the project and the machine im working on ) still showing up underlined and tells me it doesn't exists in

Intellisense not recognising type hinting for python 3

情到浓时终转凉″ 提交于 2019-12-12 10:44:14
问题 I would like to use Visual Studio and see intellisense using type hints, for example in the function argument list, to workout the type of a variable. This can be achieved through isinstance(param,type) statements, but I wonder if we can get it to work without these additional statements: Note: I have tried Visual Studio with Python Tools for Visual Studio and also the early 2017 Visual Studio Preview, that has python support built in, but neither seem to appreciate type hints. 回答1: After

Intellisense with MVC4 Style Bundling

谁都会走 提交于 2019-12-12 10:31:43
问题 So far I can't find a question or fix for this. I'm sure it's something simple I'm missing. I have a style bundle with a bunch of minified CSS, and I am decorating HTML elements with the classes inside. Everything is working great. Intellisense and ReSharper however are both bugging me about the CSS the classes being unknown. I'm guessing this is because they cannot peek inside the bundles. Question: Is there a way to fix this? <!-- Style Bundles in HEAD tag--> @Styles.Render("~/bundle/style

syntactic and semantic code completion framework written in C++

独自空忆成欢 提交于 2019-12-12 09:03:16
问题 This question is more precise than my previous one: General code completion framework written in C/C++. I did not specify it enough to get answers I really need. I want to add to my IDE the "Intellisense" code completion. I would love to have a library in C/C++/C++11, that could work as syntactic and symantic code completion tool and be general, not single language specific (I want to write completion for Java, C++ and in the future for C#, Python and Javascript). It would be good if this

Visual Studio 2010 insists on inserting spaces in JavaScript

末鹿安然 提交于 2019-12-12 08:26:14
问题 Visual Studio 2010 inserts a space between the keyword "function" and the following parenthesis. Is it possible to turn this off? i.e. Visual Studio formats my code like: var vsfn = function () { }; I would like this formatting: var myfn = function() {}; 回答1: VS2010 sp1 introduced a new option: Insert space after function keyword for anonymous functions in Tools > Options > Text Editor > JScript > Formatting > Spacing . You can turn it off to get the desired behavior. 回答2: You should find

Enabling javascript intellisense for external libraries in Visual Studio

耗尽温柔 提交于 2019-12-12 08:22:03
问题 I updated ~/Scripts/_references.js with /// <autosync enabled="true" /> /// <reference path="angular.js" /> /// <reference path="angular-route.js" /> and in my app.js I can see some intellisense working, which is great but go a little further and it doesn't work anymore. Any ideas on why this happens or ways to make it work? 回答1: Because you are using dependency injection , Visual Studio has no way to figure out what are the types of the arguments. This is a common problem with Javascript

Adding folder in Resource folder, then adding XML file - Intellisense stops working - Xamarin Android VS 15

穿精又带淫゛_ 提交于 2019-12-12 06:47:05
问题 Ok, I have a problem. I'm working on Xamarin Android VS 15. I added a folder called "menu" to my resources folder, and added an XML file in it. Initially, on my MainActivity, I was unable to find the Menu folder or the XML file in it. "Resource does not contain attribute 'menu'". I went through many stackoverflow and xamarin forum threads, and followed several tips. 1)Clean and Rebuild. 2)Delete obj and bin. 3)Check buildaction on the created file. 4)Delete Appdata/Local/Xamarin. The fourth