More intelligent intellisense for overloaded methods based on parameter type
Many a times there are a large number of constructors for a type in the .net framework. For example the System.IO.FileStream class has 15 constructors as shown to me by Visual Studio Intellisense. Now by default always the first overload of the constructor is shown. Now if I enter a parameter which is a string and then press , to enter the next parameter I should be shown only those overloads which have string as the first parameter. in case of the FileStream if I first entered string(which is the file path) then show only those constructors which have the first parameter as filePath
2 comments
-
This is a general C# bug and should be reported at http://visualstudio.uservoice.com. Here in the web team we can't change that behavior. I do totally agree that this would be a major improvement though
-
Malte Hansen commented
Completely agree!