intellisense

What should I do to obtain javascript intellisense for my own js library in Visual Studio

僤鯓⒐⒋嵵緔 提交于 2020-01-29 21:03:32
问题 I have multiple javascript files and they have their own functions. If I make reference one of them to inside any of them, it doesnt see its functions if the function is not prototype. What is logic inside the Intellisense ? I want to use Splash function with Intellisense feature below, how can I do that ? //My.js /// <reference path="Test.js" /> . //Test.js NameSpace.prototype.UI = new function () { this.Splash = function (value) { try { if (value == 1) { $('#splash').css('height', $

Detecting the Asterisk Key on KeyDown Event

醉酒当歌 提交于 2020-01-25 04:29:06
问题 Firstly I have seen the following answer https://stackoverflow.com/a/7731051/626442 and it is not quite sufficient for my needs. I have written an editor which has basic intellisense capabilities (see A New and Full Implementation of Generic Intellisense for an insight). I have implemented some basic SQL Server completion using this editor, but I keep getting intellisense popping up when I type the * key. I want to prevent this. Currently I do the following: private void TextArea_KeyDown

“No overload takes 2 arguments” but IntelliSense shows overload with 2 arguments

家住魔仙堡 提交于 2020-01-24 08:59:49
问题 I'm sorry if this has been asked before, I have searched for it but can't find anything that answers my confusion. If I write the following code, I get a compiler error saying No overload for method 'Contains' takes 2 arguments , but IntelliSense suggests that there IS an overload that takes 2 arguments (screenshot here): string s = "Hello"; if (s.Contains('h', StringComparer.OrdinalIgnoreCase)) { Console.WriteLine("True!"); } I'm passing a char as first argument and StringComparer implements

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

不羁的心 提交于 2020-01-23 03:11:05
问题 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. 回答1: Looks like you've messed with completion mode at some point. This can be changed by going to Edit -> IntelliSense ->

Is VIM omni-completion really so limited? Or am I missing something?

走远了吗. 提交于 2020-01-22 19:49:05
问题 Ruby: file = File.new("some.txt", "r") lines = file.readlines Omni-completion tests file.readl --------- readline <- PASSED readlines --------- "hola".capital --------- capitalize <- PASSED capitalize! --------- lines. <-- FAILED (no suggestions) lines[0].capital <-- FAILED (no suggestions) I tried Python as well, and it worked in similar way. So it looks like omni-completion can't be used for real development, as it fails on pretty simple cases? Am I missing some thing? May be the

Missing documentation for system-assemblies in VS2012

别说谁变了你拦得住时间么 提交于 2020-01-21 09:29:20
问题 for some time now, on my 2nd development machine VS2012 is not showing any (XML-)documentation for system/GAC/built-in assemblies. E.g., when I jump to a built-in Type that resides in mscorlib.dll, there is no documentation (see screenshot). If I include my own assemblies (that are accompanied by their respective XMLs) I can see the full doc. I tried resetting Intellisense but that didn't help. This is how it looks: (The pluses over each member that would expand the comment are totally

Missing documentation for system-assemblies in VS2012

ε祈祈猫儿з 提交于 2020-01-21 09:28:29
问题 for some time now, on my 2nd development machine VS2012 is not showing any (XML-)documentation for system/GAC/built-in assemblies. E.g., when I jump to a built-in Type that resides in mscorlib.dll, there is no documentation (see screenshot). If I include my own assemblies (that are accompanied by their respective XMLs) I can see the full doc. I tried resetting Intellisense but that didn't help. This is how it looks: (The pluses over each member that would expand the comment are totally

IntelliSense in custom COM classes in VBA

旧巷老猫 提交于 2020-01-21 06:37:07
问题 Is there a way to get IntelliSense in own built COM classes in VBA? E.g. in the example below I would like to get "Number" showing up, whenever I press on the dot (or ctrl+space for shortcut): I suppose, if this is somehow resolved, I would also get some info concerning the public functions of the objects here: Thus, what are the suggestions? Suggestion 1 : 回答1: Simple example could look like this. c# class library named IntellisenseDemo code using System; using System.Runtime.InteropServices

Extending XML Schema xs:choice

本秂侑毒 提交于 2020-01-17 12:46:54
问题 I'm developing build tools that are configurable via XML and extendable with PowerShell modules. I have an XSD (http://download.crawler-lib.net/BuildTools/BuildConfig.xsd) which describes the out of the box functionality. One extension point are the tools of the build sequences: <xs:element name="BuildSequence"> <xs:annotation> <xs:documentation>Performs a sequence of build tools to build the solution</xs:documentation> </xs:annotation> <xs:complexType> <xs:choice maxOccurs="unbounded"

Extending XML Schema xs:choice

天涯浪子 提交于 2020-01-17 12:45:48
问题 I'm developing build tools that are configurable via XML and extendable with PowerShell modules. I have an XSD (http://download.crawler-lib.net/BuildTools/BuildConfig.xsd) which describes the out of the box functionality. One extension point are the tools of the build sequences: <xs:element name="BuildSequence"> <xs:annotation> <xs:documentation>Performs a sequence of build tools to build the solution</xs:documentation> </xs:annotation> <xs:complexType> <xs:choice maxOccurs="unbounded"