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

I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can vote and comment on it.

If it doesn't exist, you can post your idea so others can vote on it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  1. 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.aspx

    1,495 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      138 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
    • 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
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
      • 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
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          3 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
        • 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
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            6 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
          • 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,
            Vihang

            32 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              2 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
            • Allow Type inference on class variables

              Make programming with types more easy.

              31 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
              • 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
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  3 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                • Using TypeOf operator in the Select Case statement

                  Select TypeOf myobj
                  ....Case SByte, Short, Integer, Long

                  End Select

                  26 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                  • 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 If

                    Then 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 IF

                    22 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                    • 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
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        5 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                      • 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
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                        • 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 Function

                          I 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
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                          • 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 Boolean

                            Propsed:
                            Public Function DoSomething(x, y, w, h, Value As Integer, Name As String, Count As Integer) As Boolean

                            All variables x, y, w, h, Value would be of type Integer, like in Dim statement.

                            16 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              15 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                            • 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
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                              • 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
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  7 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                • 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
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                  • 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
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      3 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                    • 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 Select

                                      10 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                      • 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 Using

                                        instead 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 Using

                                        8 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                        • 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
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5
                                          • Don't see your idea?

                                          Feedback and Knowledge Base