Visual Studio
Welcome to the Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, visit the Visual Studio Connect site: http://connect.microsoft.com/visualstudio.
ASP.NET Runtime/Web Tooling suggestions have moved! All your ideas, including your votes, have been transferred and are searchable in the ASP.Net Uservoice forum. Please submit any new ASP.NET Runtime/Web Tooling suggestions, or vote on existing suggestions by going to http://aspnet.uservoice.com.
We look forward to hearing from you!
Thanks – Deon Herbert
Visual Studio Team
-
Bring back Classic Visual Basic, an improved version of VB6
The silent majority of VB6 users did not ask for changes that came with .NET
We request Microsoft brings back classic Visual Basic as COM development is back with Windows 8.
David Platt wrote an excellent article about why classic VB still thrives:
http://msdn.microsoft.com/en-us/magazine/jj133828.aspx1,495 votesHi,
This idea was accidentally closed as declined. I am reopening for review.
Thank you!
Meredith Magnusson
Visual Studio PM -
Open Source VB 6
Since Microsoft has abandoned your most successful development language vb6 decade. But a lot of the old professional programmers are still using vb6, Can Microsoft send VB6 as a gift to these old programmer? Perhaps these old programmers can make VB6 run on the Window8 and Windows Phones. .NET is really too slow and too complicated.
Thanks!57 votes -
Allow #region blocks to be indented much like they are in C#
In C# you can indent a #region block so that the region flows with the layout of your code. Unless I am missing something, this is not the case in VB.
Example (C#):
public class MyClass
{+[VARIABLES]
+[PROPERTIES]
+[METHODS]
}Example (VB):
Public Class MyClass+[VARIABLES]
+[PROPERTIES]
+[METHODS]
EndClass
52 votes -
Double-click on a control ---> sub-procedure placed in alphabetical order (instead of at the end).
When I double-click on a control I want the sub-procedure (like "Private Sub Button2_Click...") to be placed in alphabetical order in the code module - instantly and automatic - like in VB6. (I cannot understand why this very basic function still is not available in the newest VB-version - at least as an option.) In large projects this is essential.
43 votes -
Allow to remove all Unused imports from VB.Net Project?
I wanna remove all unused Imports from all VB classes of all projects. I don't want to click "Remove and Sort Imports" for each class one by one. Please include the same. I hope this would be included in the next version of Visual Studio.
Thanks,
Vihang32 votes -
Allow Type inference on class variables
Make programming with types more easy.
31 votes -
I wish the Possibility to create a Report will be as comfortable and easy as it was in VB6.
I wish the Possibility to create a Report will be as comfortable and easy as it was in VB6.
28 votes -
Using TypeOf operator in the Select Case statement
Select TypeOf myobj
....Case SByte, Short, Integer, LongEnd Select
26 votes -
convert single line if statement to multi line if statement
This is a minor but irritating issue.
Suppose that I have the following line of code:
If someValue = True Then DoSomething()
and I need to change it to:
If someValue Then
DoSomething()
DoSomethingElse()
End IfThen I insert the cursor after the 'Then' and press 'enter' resulting in:
If someValue = True Then
<Cursor Here>
End IF
DoSomething()I think that it would generally be more useful if the editor could do this instead:
If someValue = True Then
DoSomething()
<Cursor Here>
End IF22 votes -
Uppercase/lowercase-change on a Dim command ---> instantly show on all places
When I change between uppercase and lowercase on a variable name in a Dim command - I want this change to instantly show on all places where I have used this variable. (example: I change Dim strLastname as String to Dim strLastName as String --- and I want it to change instantly on all places.) This is very good in VB6 - helps visibility.
18 votes -
Warning when open the same solution twice.
I want at least a warning when I try to open the same solution twice. In VB 2008 I several times overwrote some of my own new code because of lack of this. In VB 2010 and 11 this is better - you get warning if the code is changed and may update - but still I want a clear warning when I try to open the solution the second time. In VB6 you are not able to open it twice. (Sometimes you do want to be able to open it a second time to have a look at how…
18 votes -
Allow functions to have an implicit return type
This is primarily something that I find is a problem when using Linq. eg.
Function GetCustomersForDisplayInGrid( Customers as IQueryable(Of Customer))
Return (from c in Customers Select c.ID, c.Name, c.ContactName, c.Address1, c.Postcode, c.Tel1)
End FunctionI have a problem, because I don't have any way to define the return type of that function. I could create a class/structure and select each result into that, but if I am using Linq to SQL and I then query the results of this function further in SQL - I'd have to get them to memory first, which is not efficient.
What would be really…
17 votes -
Allow multiple variable names with single type specifier in functin call
Current:
Public Function DoSomething(x As Integer, y As Integer, w As Integer, h As Integer, Value As Integer, Name As String, Count As Integer) As BooleanPropsed:
Public Function DoSomething(x, y, w, h, Value As Integer, Name As String, Count As Integer) As BooleanAll variables x, y, w, h, Value would be of type Integer, like in Dim statement.
16 votes -
Bring back a possibility to work on one single procedure on screen
On QuickBasic and the first VB-Versions there has been the possibility to concentrate on a single procedure. You had to choose the sub, and on the screen there was nothing else but this sub. This has been a very proper way to work with procedures.
15 votes -
Unused procedures vanish automatically on compile.
When I compile or debug the program I want all unused procedures to vanish automatically. (example: Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged End Sub should vanish when debug/compile if no code is inside it.)
This worked in VB6.14 votes -
Add IntelliSense for XML Literals based on Imported xmlns
The current feature that allows you to import an xmlns gives IntelliSense only when consuming XML via XElement or XDocument objects. You can type .< or .@ or ...< after an objcect of type XElement or XDocument and get IntelliSense for the available element and attribute names based on the XML Namespace.
I've spoken at several user groups and code camps on this subject and the next thing that everyone wants to do is to get IntelliSense when composing XML Literals, but that's not currently available.
Even if you have an xmlns imported and type something like the following, you…
13 votes -
Using logical And operator in the Select Case statement
Select Case dblA
....Case Is > 1.22 And Is < 3.4....Case Is > 4.1
....Case Else
End Select
Select Case sProductName
....Case Is > sPrevProdName And Is Like "* tea *"....Case "apple juice"
End Select
13 votes -
Using Like operator in the Select Case statement
Select Case sProductName
....Case Is Like "* tea *", Is Like "* coffee *"....Case Like "* beer *", Like "* wine *" ' the Is keyword could be optional
End Select10 votes -
Combine "Using" with "With"
Combine "Using" with "With", so that you could write for example:
Using System.IO.File.CreateText("log.txt")
.WriteLine("This is line one.")
.WriteLine("This is line two.")
End Usinginstead of
Using writer As System.IO.TextWriter = System.IO.File.CreateText("log.txt")
writer.WriteLine("This is line one.")
writer.WriteLine("This is line two.")
End Using8 votes -
Line continuation in strings
Would be great to have the equivalent of @" some string " in c# in order to do line continuation in VB without the cumbersome " & _.
That would be particularly useful when writing SQL Statements.
Something like:SqlQry = @" SELECT
Col1,
Col2,
Col3
FROM TableName; "7 votes
- Don't see your idea?