intellisense

Why does IntelliSense keep changing function to Function?

那年仲夏 提交于 2019-12-04 16:05:22
问题 I am having a very strange IntelliSense issue, and I'm not sure if it's Visual Studio 2013 or ReSharper 8.1. When I'm working in views (cshtml) within script tags (javascript), something keeps changing "function" to "Function" with a capital "F." <script type="text/javascript"> var something = function() .... //on tab or completing the ()'s, it changes to Function </script> This isn't a huge deal, of course, but it's becoming a pain in my neck as I keep having to go back and lower-case the "F

Intellisense window has input field, and doesn't commit on space

核能气质少年 提交于 2019-12-04 15:39:42
All of a sudden, my intellisense window in VS2010 Express has a input field which has exactly what I'm typing. This wouldn't bother me, except that now space doesn't commit the selected choice that intellisense gives me. Also note that the option in Tools-Options-Text Editor-C#-IntelliSense does have the "Comitted by pressing the spacebar" checked, yet it doesn't work. Looks like you've messed with completion mode at some point. This can be changed by going to Edit -> IntelliSense -> Toggle Completion Mode or by just hitting Ctrl + Alt + Space Microsoft finally fixed it. It looks like the

How do I turn off intellisense for javascript?

青春壹個敷衍的年華 提交于 2019-12-04 15:27:49
问题 While editing javascript content VisualStudio is starting to bug me with how it keeps inserting highlighted suggestions. For example it keeps inserting valueOf( if I type val( . This is really annoying. I want to invoke intellisense manually just like I can with C#, is there any way of turning off the auto-complete suggestion or at least preventing it from selecting an entry for me? 回答1: In Visual Studio Tools > Options > Text Editor > JScript In corresponding panel as Statement completion

How to disable undesirable auto-complete with Visual Studio + ReSharper?

半世苍凉 提交于 2019-12-04 15:20:04
问题 I'm using Visual Studio 2010 and ReSharper 5. I define this at the top of a .cs file. #if X86 using size_t = System.Int32; #else using size_t = System.Int64; #endif Then I can use size_t and know that it is a native integer, 32 bits if compiled as a 32 bit assembly, and 64 bits if compiled as a 64 bit assembly. (for those that are curious, the alternatives are always use Int64, or branch at runtime on IntPtr.Size == 4 and have two versions of the code. I prefer this solution.) However, if I

How to get jQuery Visual Studio 2010 IntelliSense to work inside a noconflict wrapper

别来无恙 提交于 2019-12-04 13:25:46
问题 I added the vsdoc jquery reference in my js file: /// <reference path="../jquery-1.4.1.vsdoc.js" /> This works fine, but once I write inside a no conflict wrapper... (function ($) { ...here... })(jQuery); ...IntelliSense does not work. Why is this, and is there any way to solve this? 回答1: Try adding the <param /> tag at the beginning of your wrapper function: /// <reference path="../jquery-1.4.1.vsdoc.js" /> (function($) { /// <param name="$" type="jQuery" /> ... })(jQuery); 回答2: For Visual

Javascript intellisense in ACE editor

爱⌒轻易说出口 提交于 2019-12-04 13:05:15
问题 TL;DR I need intelligent autocompletion/intellisense for JavaScript in ACE Editor. Explanation I am creating an online IDE for JavaScript using ACE Editor. Is there any library or open-source project that allows intelligent autocompletion for JavaScript. JavaScript is a dynamic language, intellisense integration is trivial for such languages (TypeScript does support this). ACE editor only supports basic autocompletition (like Sublime Text) using enableBasicAutocompletion . I need intelligent

Plain text autocomplete in Atom (Github)

你。 提交于 2019-12-04 12:03:51
问题 I've auto-complete and auto-complete+ installed on the latest version of Atom. Unfortunately, these packages don't auto-complete or suggest words while typing plain text as open office or some sublime packages do. For instance, if I am typing repo and the word repository already appears in the current document, I would like to have some sort of auto-completion / intellisense to show up. I looked, in vain, for package in atom achieving that. So, the question is, do you know any package to do

How to enable autocomplete (IntelliSense) for python package modules?

廉价感情. 提交于 2019-12-04 10:08:01
This question is not about Pygame, I'm usin Pygame as an example. While experimenting with Pygame I've noticed that autocomplete is not working for some modules. For example, if I start typing pygame.mixer autocomplete shows MissingModule . While searching for a solution I've found a lot of similar questions for various text editors and modules that have parts written in C. I am using Visual Studio Code, python path is set correctly and my code runs fine. One strange workaround is modifying Pygame's __init__.py What's the right way to enable autocomplete? I've found a solution, but I would

No IntelliSense in Visual Studio 2015 for AngularJS TypeScript

痴心易碎 提交于 2019-12-04 09:16:27
I'm building an app using ASP.NET 5 & AngularJS in TypeScript in Visual Studio 2015. However, even after installing the AngularJS Core & DefinitelyTyped TS references for AngularJS via NuGet, I still don't get IntelliSense for the AngularJS libraries. I'm also using the ReSharper 9.1 AngularJS extension, which gives me IntelliSense in HTML files but not in my TypeScript code. I've also noticed that even though the references to AngularJS and the definition files are present, the files themselves are nowhere to be found in my solution. Does anybody know how to fix this? Edit: I have found the

Hiding GetHashCode/Equals/ToString from fluent interface classes intellisense in Visual Studio for C#?

∥☆過路亽.° 提交于 2019-12-04 09:12:17
问题 I have a fluent interface for an IoC container registration process, and this contains some classes that are used to build up the registrations. For instance, I can do this: builder.Register<IFoo>().From.ConcreteType<Foo>(); However, at each step after a dot, intellisense pops up showing the four standard methods from the Object class, GetHashCode, Equals, GetType, and ToString. I tried overriding these methods in a couple of the classes, attaching the EditorBrowsableAttribute attribute to