intellisense

Can Resharper Intellisense be configured to sort alphabetically?

百般思念 提交于 2019-12-01 16:55:05
I've recently updated to using VS2013 and Resharper 8.2, (from VS2010 and Resharper 6) and have found a very annoying " feature " in that Resharper's intellisense does not sort a class's members alphabetically. By way of example, I have an object called "client" which has a property called EthnicityRequired , and another property called Ethnicities . Using only native VS2013 intellisense, this is what I get I type client.eth This is what I expect; both properties are listed together. But, Resharper's Intellisense(less) gives me this While the visible members are sorted alphabetically, the

Is it possible to add items to Visual Studio IntelliSense™ drop-down?

你说的曾经没有我的故事 提交于 2019-12-01 16:24:31
问题 I've found examples of how to implement full IntelliSense™ providers for specific file-types in VS2010, like for Ruby or Python or whatever. What I want to do is hook into the existing IntelliSense™ for C# or VB.NET and add additional items into the list that is already generated by Visual Studio. (Basically, I want to inject database-driven items into the IntelliSense™ for Simple.Data objects.) Is this actually possible, and if so, how do I go about it? 回答1: Look at: XML Editor IntelliSense

Can Resharper Intellisense be configured to sort alphabetically?

二次信任 提交于 2019-12-01 15:41:45
问题 I've recently updated to using VS2013 and Resharper 8.2, (from VS2010 and Resharper 6) and have found a very annoying " feature " in that Resharper's intellisense does not sort a class's members alphabetically. By way of example, I have an object called "client" which has a property called EthnicityRequired , and another property called Ethnicities . Using only native VS2013 intellisense, this is what I get I type client.eth This is what I expect; both properties are listed together. But,

How to make Visual Studio intellisense to show the remarks portion of XML comments?

浪子不回头ぞ 提交于 2019-12-01 14:07:05
问题 When typing code, I really like the intellisense feature of Visual Studio 2010 (Professional), especially that I am able to look up XML comments of types in use. (See Documentation from Microsoft). This works so far. However, the remarks section of XML code comments does not show up. I would consider this an extremely useful feature, since there is often useful information that can not get easily guessed from the summary. (Which is why we have a the remarks section, i guess) How to explore

VSCode TypeScript Intellisense not working

感情迁移 提交于 2019-12-01 11:40:31
I am pulling my hair out here, literally. VSCode 1.6.0 on Mac, Typescript 2.0.2, but I have also tried 2.0.0. I've tried targeting es5, es6, with or without commonjs module targeting. I can't get intellisense for other files local to my project nor anything in the node_modules folder. I even installed typescript files from node_modules into my typings folder and those don't work. The only intellisense I get is for my globally installed typings. { "compilerOptions": { "target": "es6", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "allowSyntheticDefaultImports

Missing documentation for system-assemblies in VS2012

南楼画角 提交于 2019-12-01 10:59:19
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 and ctrl+space doesn't show anything either) The most likely cause for this problem is the XML

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

一笑奈何 提交于 2019-12-01 10:47:17
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', $(document).height()); $('#splashContent').css('top', $(window).height() / 2); $('#splash').fadeIn(); $('

Visual Studio 2015 IntelliSense not displaying all methods

僤鯓⒐⒋嵵緔 提交于 2019-12-01 08:21:42
I recently upgraded to Visual Studio 2015 from 2013 because for some reason 2013 would not work on Windows 10 for me, even after multiple install attempts. The only issue is IntelliSense is not displaying methods from other forms. For example, when I start typing one of the names of one of my forms, the only thing IntelliSense displays is: However, the form has dozens of public methods, and the IntelliSense worked fine before in 2013. Interestingly, I can still call the method if I remember the name by manually typing it, i.e. Form1.TestMethod() . Does anyone know the fix for this? I am using

Are there attributes in C# for affecting how Intellisense displays class members?

感情迁移 提交于 2019-12-01 06:04:40
问题 Are there any C# attributes that I can apply to class members, to change the way they appear in the Intellisense listings? This popped into my head when I was building a class with many static constants, and I (briefly!) wanted it to look like an enumeration in Intellisense. Yes, that's silly. But it got me thinking - is there any way some crazy programmer can make a class members appear differently in the Intellisense? Make fields look like properties, etc? For instance, there's the Obsolete

How to write a method like string.Format with intellisense support

天涯浪子 提交于 2019-12-01 05:14:24
Consider a method to write with a format parameter like string.Format 's frist parameter. As you know the Intellisense is aware of first parameter's constraints and checks for its consistency with parameters. How can I write such method. As a simple example, consider a wrap of string.Format like: public string MyStringFomratter(string formatStr, params object[] arguments) { // Do some checking and apply some logic return string.Format(formatStr, arguments); } How can I say to the compiler or IDE that formatStr is something like string.Format 's first parameter? So if I have some code like this