intellisense

How to show method parameter tooltip in C#?

♀尐吖头ヾ 提交于 2019-12-02 14:02:17
VS2010: In VB I can place the cursor inside an existing method's parameter brackets and type a 'space', which will bring up the tooltip with description of the parameter I'm at. This is not the case in C#. I have to delete the whole brackets including the parameters, and retype the left bracket, for this tooltip to show. Is there some shortcut or setting to change this behavior? I tried hitting ctrl, shift, alt, but it has no effect. Lloyd Ctrl + Shift + Space will do what you want. You might want to check out a poster of key bindings . It's Ctrl-K Ctrl-I for VS2015. In case people from the

Syntax/Intellisense broken?

假装没事ソ 提交于 2019-12-02 13:06:23
问题 I'm working with Visual Studio 2010 which seems to have suddenly broken?! I have a solution open, opened a class and added: namespace Admin { public static class SessionManager { public static IEnumerable<UserGroupAccess> this is is annoying and will actually BUILD ?!?"!?!?!?!?! ... [rest of class code] After a CLEAN SOLUTION > BUILD SOLUTION, I get a report of "Build Succeeded". My Intellisense and syntax checking etc seems to have packed up! Anybody had this problem before? 回答1: Fixed it -

Show exceptions in intellisense?

人走茶凉 提交于 2019-12-02 00:30:42
问题 I'm using Visual Studio 2013 Ultimate. In the C# code editor, members that has documented exceptions can be listed through Intellisense: My question is, how to add this useful feature for VB.Net?. Is there a 3rd party extension to add it?. Why this feature seems unavailable in VB.Net?. Please note that I'm not asking how to add Xml documentation for a potential exception in a member, what I'm asking is how to enable Intellisense to show those exceptions, because the C# code editor can show

XML documentation for interface methods and record properties

点点圈 提交于 2019-12-01 21:50:21
It seems the XML documentation works fine for the most cases, but not always. I wanted to make the Intellisense fully available for the parts that are designed for interoperating with C#. So, here's a small (and maybe a bit contrived) example: ///<summary>Well, it's a summary</summary> type Summary = { ///<summary>Gets a short name</summary> Name : string; ///<summary>Gets whether the action was successful or not</summary> IsSuccessful : bool; } ///<summary>Represents path filtering action</summary> type IPathFilter = ///<summary>Runs the filtering through the list of <paramref name="paths"/><

Show exceptions in intellisense?

99封情书 提交于 2019-12-01 21:21:15
I'm using Visual Studio 2013 Ultimate. In the C# code editor, members that has documented exceptions can be listed through Intellisense: My question is, how to add this useful feature for VB.Net?. Is there a 3rd party extension to add it?. Why this feature seems unavailable in VB.Net?. Please note that I'm not asking how to add Xml documentation for a potential exception in a member, what I'm asking is how to enable Intellisense to show those exceptions, because the C# code editor can show exceptions on Intellisense (as seen in the image that I shared), but the VB.Net code editor seems CAN'T .

Missing Intellisense While Describing Custom Control Properties Declaratively

坚强是说给别人听的谎言 提交于 2019-12-01 19:33:38
So, I've been working on this project for a few days now, and have been unable to resolve the issue of getting intellisense support for my custom-defined inner properties for a user control (ascx, mind you). I have seen the solution to this (using server controls, .cs mind you) many times. Spelled out in this article very well. Everything works for me while using ascx controls except intellisense. Here's the outline of my code: [PersistChildren(true)] [ParseChildren(typeof(BreadCrumbItem))] [ControlBuilder(typeof(BreadCrumbItem))] public partial class styledcontrols_buttons_BreadCrumb : System

.Net Extension Method (this string Foo) Only Partially Visible

时光怂恿深爱的人放手 提交于 2019-12-01 18:29:13
问题 This is a question about Extension Method visibility in .Net (specifically C#), and why intellisense may work, but the compiler fail on the same piece of code. Picture this... I have .Net 3.5 class library consisting of a bunch of objects and a single Extension Methods class. Here is one of the methods: namespace MyApp.Extensions { public static class ExtensionMethods { public static string ToTitleCase(this string Origcase) { string TitleCase = Origcase; ... implementation ... return

Intellisense for custom config section problem with namespaces

↘锁芯ラ 提交于 2019-12-01 18:04:36
问题 I have just rolled a custom configuration section, created an accompanying schema document for Intellisense and added it to the Web.config's Schemas property as per Michael Stum's answer to another similar question. Unfortunately, and possibly due to me creating the XSD by hand with limited knowledge, the Intellisense relies on an xmlns attribute pointing to my XSD file's namespace being present in the custom config element. However, when running the project I get an Unrecognized attribute

.Net Extension Method (this string Foo) Only Partially Visible

走远了吗. 提交于 2019-12-01 18:03:22
This is a question about Extension Method visibility in .Net (specifically C#), and why intellisense may work, but the compiler fail on the same piece of code. Picture this... I have .Net 3.5 class library consisting of a bunch of objects and a single Extension Methods class. Here is one of the methods: namespace MyApp.Extensions { public static class ExtensionMethods { public static string ToTitleCase(this string Origcase) { string TitleCase = Origcase; ... implementation ... return TitleCase; } } To use the extension methods within the class library itself, each class that requires one of

Why might the Q_FOREACH macro break VS2010 intellisense?

南笙酒味 提交于 2019-12-01 17:20:12
I have a c++ project in VS2010 with Qt 4.7.4 and I frequently have problems with IntelliSense (as we all do...). A specific problem is that sometimes the function body (in the .cpp file) can't be found. If I click into that function body, the dropdown box (which usually shows the function you're in) is empty. Today I noticed this behavior right after I added a foreach() statement (the Qt macro Q_FOREACH). I then replaced the foreach() macro with a corresponding for(int i = 0; i < ...) and IntelliSense immediately displayed the function again. So I'd like to know: Can somebody please verify