intellisense

How to cancel autocomplete in Visual Studio 2015 by pressing “Space”?

五迷三道 提交于 2019-11-29 09:08:35
How to cancel autocomplete in Visual Studio 2015 by pressing "Space"? Looks like there is no such option. When I see intellisense auto-complete list and press "Space" VS automatically print highlighted item. I want cancel it. VS 2013 doesn't behave itself like that. Plus when I press "{" VS 2015 automatically print right "}" I would cancel it too. Language c#. If you want fix it vote for https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/9319764-visual-studio-2015-cancel-intellisense-autocomple The Escape key will cancel intellisense and allow you to continue

Enabling jQuery Intellisense inside JavaScript file in Webmatrix

我们两清 提交于 2019-11-29 08:14:11
I have done the following in WebMatrix. I imported jQuery inside my HTML page with documentation of jQuery and successfully enabled jQuery intellisense inside the HTML script tag. <script type="text/javascript" src="JS/jquery-2.1.0.js" ></script> <script type="text/javascript" src="JS/jquery-2.1.0-vsdoc.js" ></script> Now I want to enable jQuery intellisense inside my external JavaScript file,How would it work? 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

Visual Studio How to add Python module to Intellisense

孤街浪徒 提交于 2019-11-29 05:35:30
How do I add a custom python module to the Visual Studio IntelliSense code completion tool? Situation: I am working on a python module that references another module that I have saved in /myPython/foo.py. If I start to type foo.someDef I would like IntelliSense to recognize I am accessing that module and suggest a code completion. Visual Studio's Intellisense will recognize custom Python modules after they have been properly placed in the "site-packages" folder under the "Lib" folder in Python's directory. For example: /Python27/Lib/site-packages/myPython Inside of the folder "myPython", put a

How to get current used color theme of Visual Studio

自作多情 提交于 2019-11-29 04:21:46
I'm creating my own IntelliSense Presenter, since Visual Studio2012 support change theme, so I want my background color of the presenter can be auto-changed when the theme been changed. Is there a way to track the theme changes event, or get the current color theme of the Visual Studio? Yes, this is possible. I had to solve a similiar issue with one of my extensions... The current theme is stored in the Windows Registry; so I implemented the following utility class. public enum VsTheme { Unknown = 0, Light, Dark, Blue } public class ThemeUtil { private static readonly IDictionary<string,

.Net Core tag helper intellisense and color coding not working

江枫思渺然 提交于 2019-11-29 03:33:10
I am having issues with .NET core and tag helpers. The color coding and the intellisense are not displaying or being registered when I type in asp-for. I've tried creating a new solution in a separate instance, verified that the intellisense works, and then copied the project.json into the project that doesn't have working intellisense/color coding, and it doesn't fix the issue. Here is my project.json { "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0", "type": "platform" }, "Microsoft.AspNet.Tooling.Razor": "1.0.0-rc1-final", "Microsoft.AspNetCore.Diagnostics": "1.0.0",

Is there an API in .net to read XML comment documentation file [closed]

不羁的心 提交于 2019-11-29 02:56:25
问题 In this question I see that microsoft ships the XML documentation files for the BCL. I wonder if anyone knows if there an API within .net that can be used to look this up at runtime. I know we can parse the files manually using the XML api. The use case is that we allow custom (read 3rd party) types/assemblies to be used in our system, and when selecting these in the UI, we'd like to extract the documentation as specified by the custom type/assembly creator or if not available provide other

Long load time in Visual Studio for Large Project

妖精的绣舞 提交于 2019-11-29 02:25:39
Is there a way to turn off intellisense in Visual Studio 2008? I know about deleting a DLL to turn off intellisense in C++, but that doesn't work for C#. I also know about the preferences but that just turns off the visual display. I want to turn off ALL of intellisense so it does not scan my code at all. Update 10/14/09: Eric was kind enough to take a look so I sent him some log info. I'll post the resolution here when we get one. Update: updated title to reflect the changed direction of the thread Related Question Turning off Intellisense for a single project in Visual Studio 2008 Brad Irby

Visual Studio 2013 C++ IntelliSense shows suggestion but does not commit them by pressing any of the member list commit characters

冷暖自知 提交于 2019-11-29 02:01:47
问题 When I type in a C++ project , I get suggestion. I can commit the selected suggestion by hitting Tab key; But if I press enter or space or any of the member list commit characters : {}[]().,:;+-*/%&|^!=<>?@#\ , Intellisense doesn't commit the selected option. I want this suggestion to be committed with any of these characters, exactly as the default settings in C#. 回答1: Open Options from menus: Tools -> Options Navigate to page: Text Editor -> C++ -> Advanced Scroll down to Intellisense

How do I stop Visual Studio from inserting “object” when I type “new {”

浪尽此生 提交于 2019-11-29 01:32:50
When editing a C# source file, I type new { Visual Studio auto-corrects it to new object{ Is there a way to stop this behavior? You can configure which characters being typed commit the current intellisense selection. In Tools | Options | Text Editor | C# | IntelliSense. Remove "{" and ensure committed by the space bar is not checked. NB. This option is no longer present as of Visual Studio 2015. I ran into this issue, and the answers above didn't work for me. In my case, it was caused by Resharper, and I addressed it by navigating to Resharper -> Options -> Environment -> Intellisense ->

emacs completions or IntelliSense the same as on Visual Studio

为君一笑 提交于 2019-11-28 23:22:31
问题 emacs 22.2.1 on Linux I am doing some C/C++ programming using emacs. I am wondering does emacs support completions (IntelliSense in Visual Studio). For example when filling structures I would like to see the list of members when I type the dot operator or arrow operator. The same would go for function signatures that give me the types I am passing would display. 回答1: I am using cedet with emacs. I tried using the cedet version in Debian but it has some bugs so I uninstalled that and