Visual Studio IDE

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, you can visit our Developer Community website to get started. 

NOTE: The Applications Insights forum has moved to the Azure feedback site.

For suggestions for improvements to other developer products, see these sites:

To review the current UserVoice statuses and their definitions, please review our “What Does the Status of My Feedback Mean?” article.

We look forward to hearing from you!

- The Visual Studio Team
Terms of Service and Privacy Policy

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 support and comment on it.

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

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

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Close VB6 product related suggestions

    I'm sorry I had to actually put this under the "Languages - Visual Basic" category as that is meant for VB.NET and not VB6.
    However, other participants on this platform sadly did not realize this at all and opened a lot of even repetitive suggestions unrelated to modern Visual Studio (aka "Visual Studio .NET") what this Uservoice is about.

    On top of that, those suggestions are mostly spam linking to external sites, including needless images and highly personal, uncited and sometimes even inflammatory opinions.

    Additionally, the content of all those suggestions was previously handled and closed with a lengthy reply…

    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…)
      13 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
    • Unary operators -- and ++

      i++ / i--
      ++i / --i

      29 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 →
      • C# and VB wrong Perception

        I have writing code in Visual Basic since 2005. I see most of the people just talk about C#. Everyone think VB is just very tiny language and cannot do what C# can do. Which I believe is FALSE after the .NET framework.

        Can you re-brand Visual Basic as B# and help this language to get same status and respect as C#.

        VB is really powerful language, but the perception that is built is totally disgusting. Even in universities, No one agrees to let you develop project in VB. This situation is really disappointing and damaging the image of this…

        23 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 →
        • Set Option Strict On by Default instead of Off

          Currently when you install Visual Studio, Option Strict if set to be Off by default for new projects. This causes people a lot of issues. Numerous forum posts are due to the fact that people have made a typo or type conversion error due to this setting being off. By setting it On by default, new users would get used to the setting immediately. Users opening old projects where this setting is off would not have any changes to make, so there is really no reason not to do this.

          20 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 →
          • Do Not Collapse Comments

            It would be nice if the comments simply did not collapse with CTRL+M+O. That or if there is a blank space between two blocks of comments. Do not treat them as 1. But instead it will collapse the entire section even though comments may not be a part of the one above it (obv limitation of VB because they do not have multi-line comments). I'm sure if we could just have a more robust commenting system. Things would have been peachy and I may not have switched to C#.
            This should be simple, and to me already done as the…

            19 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 →
            • Change the name Visual Basic or VB to B#

              Everybody thinks and its really common perception that C# is much more powerful than VB. Which is totally false. Under.net framework, there is no difference. I have used both VB and C# IDE. But honestly. VB IDE is a lot more better than C# IDE.

              We need to re-brand Visual Basic before everybody starts hating it. Change the name of product from VB to B#

              19 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 →
              • Allow the Dim keyword to be optional.

                For example, instead of:

                Dim a As Integer
                Dim b As Double
                Dim c As CustomType

                allow this syntax:

                a As Integer
                b As Double
                c As CustomType

                VB code would be cleaner and less verbose. (Possibly the compiler/parser could use the As keyword to recognise that a variable is being declared?).

                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…)
                  1 comment  ·  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

                  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…)
                    6 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

                    Hey everyone,

                    If you hadn’t heard already last week at BUILD we announced the PUBLIC release of a Preview of the next version of the Visual Basic language and code editing experience powered by “Roslyn”. You can download this preview and install it on top of Visual Studio 2013 today!

                    I’m excited to let you know that included in this is a preview of a new language feature we’re considering: When clauses on Case statements. This behaves like an AND. It doesn’t do exactly as suggested because you can’t implicitly refer to the Select Case expression but you can test other conditions inside:

                    Select Case dblA
                    Case Is > 1.22 When Date.Today.DayOfWeek = DayOfWeek.Monday
                    ’ Why would anyone ever write this?
                    End Select

                    You can read about it more here: http://www.codeplex.com/Download?ProjectName=roslyn&DownloadId=824695

                    Download the End User Preview @ http://msdn.microsoft.com/en-US/vstudio/roslyn

                    I encourage you all to download it, try it out, and…

                  • enable line comments in VB after the line continuation char (_)

                    Just a very simple thing:

                    I had an attribute and a field written on two lines like this:

                    <DebuggerBrowsable(DebuggerBrowsableState.Never)> _
                    Private _SomeField As String

                    and wanted to add a line comment after the '_':

                    ...State.Never)> _ 'My reason why

                    I now get the following error: "Line continuation character '_' must be preceded by at least one white space and must be the last character on the line."

                    My request now is to change the rule "...must be the last character on the line" to "...must be the last non-white-space character on that part of the line that does not belong…

                    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…)
                      2 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

                      Hey Chris,

                      Excellent suggestion! When we introduced implicit line-continuation in VB2010 it was a very painful restriction that we had to leave in due to technical and schedule constrains that comments weren’t allowed after them. Happily, thanks to the improved parser architecture we use in Roslyn (a future version of VB/C#) we will be able to support it one day. In fact, in the Roslyn compilers comments are already supported after implicit line-continuation so I can write this:

                      ’ Comment here

                      Private _SomeField As String

                      After we got that working it seemed reasonable to lift the restriction on normal, explicit line-continuation as well though we haven’t yet done so.

                      While we do not currently have plans to address this issue in the next release of Visual Studio, we are reviewing suggestions now for future versions of VB in and beyond the Roslyn time-frame. We have not determined when that will…

                    • wait until the line looses focus to show corrrections/errors

                      It is very annoying when it tries to correct me in the middle of a line, when what I am typing doesn't make perfect sense, but will when I finish the line.

                      12 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 →
                      • VB Samples - UWP

                        Almost no VB samples are available for UWP. You find a topic you're interested in at GitHub Windows-universal-samples - and darn - C# only.

                        It makes learning about UWP needlessly complicated and error prone.

                        PLEASE - make the time to create VB samples.

                        12 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 →
                        • Copy paste of type name from a variable tool tip

                          When hovering above a variable the editor displays a tooltip with the type information.

                          It would be useful to enable a right click menu that would place the info in the clipboard for future use, this is especially true for long namespaces.

                          11 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 →
                          • Collection initializers for read-only collection properties in VB.NET

                            I'm very happy that Microsoft is committed to VB.NET have the same features as C#.
                            One feature I use extensivle in C# is collection initializers. I've just noticed that VB.NET supports these but not for read-only class properties.
                            I found at http://msdn.microsoft.com/en-us/library/dd293617.aspx that if a collection has a an Add method, it is used to initialize the variable. This should also apply to read-only collection properties.

                            Here is compilable C# code showing the feature working:

                            using System;
                            using System.Collections.Generic;

                            namespace ConsoleApplication3
                            {
                            class Class1
                            {
                            private readonly List<Int32> list = new List<Int32>();

                            public List<Int32> ListProp
                            {
                            get
                            {
                            return this.list; …

                            11 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…)
                              under review  ·  2 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                            • Using object comparing in the Select Case statement

                              Select Object myobj
                              ....Case obj1, obj2, obj3, obj4

                              ....Case frm1

                              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…)
                                8 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                              • Add first class method contracts to the language

                                Add contracts to the method signature / declaration, such as in the following Midori language code:

                                void Push(T element)
                                requires element != null
                                ensures this.Count == old.Count + 1
                                {
                                ...
                                }

                                At the start, this can be syntactic sugar for adding Debug.Assert statements ("requires" = at the beginning of the method, "assures" = at the end of the method), but ultimately first class method contracts can guide the compiler to perform better code optimizations, and also allow code quality issues to show up as compiler errors / warnings at compile time and not run time.

                                (Ref: http://joeduffyblog.com/2015/12/19/safe-native-code/, section…

                                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 →
                                • Allow the subject of a With block to be referenced in the block using a new keyword WithRef

                                  Primarily, this is a convenience mechanism to avoid having to declare a variable in certain cases.

                                  Proposed:

                                  Function ReturnNewCheese(cheeseType as CheeseEnum) as Cheese
                                  With New Cheese
                                  .CheeseType = cheeseType 'property
                                  .Curdle 'method
                                  Helpers.DoSomethingWithCheese(WithRef)
                                  Return WithRef
                                  End With
                                  Exit Function

                                  Now:

                                  Function ReturnNewCheese(cheeseType as CheeseEnum) as Cheese
                                  Dim x as New Cheese
                                  With x
                                  .CheeseType = cheeseType
                                  .Curdle
                                  Helpers.DoSomethingWithCheese(x) 'requires explicit variable declaration
                                  End With
                                  Return x 'requires explicit variable declaration
                                  Exit Function

                                  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…)
                                    under review  ·  5 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Fix opcodes from vb compiler when initialize an array and function local variant

                                    Hi guys,

                                    I want to point out some flaw opcodes that vb compiler create and hope VB dev team have sometime to fix those and make VB better performance.

                                    1. Array

                                    When I create an array like this "Dim Data(input.Length - 1) As Char", compiler will rewrite to "Dim Data(input.Length - 1 + 1) As Char"; it's unnecessary 4 bytes and you loss 4 of 64 bytes if you aim to create a tiny method.

                                    2. Function local variant

                                    VB function away has self local variant like "Function foo() As string" will have "Dim foo As String" even it's unused…

                                    9 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 →
                                    • 9 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 →
                                      • Rename Visual Basic to V#

                                        I believe it is time that the acronym BASIC (Beginner's All-purpose Symbolic Instruction Code) be disassociated from VB.

                                        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…)
                                          3 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Create a project translator from VB to C#.

                                          With the decline of VB usage as a language, we need a method to translate large project into another form.

                                          Just as VS provides project upgrade importers between its versions, could this now include the option to translate between languages as well?

                                          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…)
                                            1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base