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. 

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. 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.

    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…)
      1 comment  ·  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 →
      • 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?).

        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…)
          0 comments  ·  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 →
            • 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.

              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 →
              • Using object comparing in the Select Case statement

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

                ....Case frm1

                End Select

                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…)
                  8 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.

                  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…)
                    2 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?

                    6 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.net: make generated code-artefacts like class, sub, fields, methods: public, protected or private

                      The default-behaviour if you type something new or unknown in your code and you work with:
                      - "generate class"
                      - "generate property"
                      - "generate field",
                      - "generate method"
                      do some random things.

                      Often you get a "Class MyClass..." without specification of "public", "private", or "protected".

                      A Class-Field becomes a "Dim myField"... instead of a "Private myField"

                      More and more frameworks using reflection to work and it's not really clear whats the default of an empty directive or a dim instead of private
                      does.

                      It is not really easy to see those things if you search issues in your code...
                      So…

                      6 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 additional spaces in VB code.

                        Sometimes multiple spaces make code more readable: numbers can be aligned right and in table like initializations of Dictioary objects etc., but VS just deletes most unnecessary spaces like http://stackoverflow.com/questions/25731512/multiple-spaces-in-vb-net-code demonstrates.
                        However, the option to avoid this behavior (see link) also disables useful features.
                        I wished there was an option to allow these (just not delete) spaces.

                        6 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 →
                        • 6 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 →
                          • Better variant support in vb.net?

                            I have been fooling around with devices in VB.NET and I have found out that variant support for c++ dll modules is poor at best in VariantHelper. Would it be possible to have an advanced version of variants in vb.net much like vb6? It is annoying when some modules such as native c++ dlls require full-fledged variant and will not work with the object data type. Can you please tell me if this will be implemented in a future version as a possible datatype?
                            I would equate this similar to var functionality in C# but a little more complex. If…

                            6 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 →
                            • In vb.net, textbox in multi-line mode

                              Can you add a design-time property that allows for either automatic clearing of the textbox when full, or over-write at the beginning (~circular queue).

                              I use a multi-line, textbox for a serial protocol analyzer real-time display. After about 3 days running, the textbox freezes, but the analyzer is still running. I setup a timer to clear the box every 4 hours. I don't want to test the remaining buffer size each time I write, since I am writing from multiple subs.

                              It's easy to use the textbox for this, as when an error occurs a dump of the textbox can…

                              6 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 →
                              • Extension Methods should be allowed to be defined in Classes

                                Why are we only allowed to add Extension Methods to modules and not classes?
                                1. Modules are a vb6 hangover and have no real place in vb.net
                                2. The compiler converts Modules to Classes anyway so why the restriction in the IDE? This is a pseudo restriction.
                                3. You cannot have a Partial Module.

                                The *Only* time I am forced to use a Module is for Extension methods. I *Never* ever use Modules (same as I never use the VisualBasic Namespace) in my code anywhere.

                                Example:
                                This is allowed.

                                <System.Runtime.CompilerServices.Extension()>
                                Module mFooExtensions

                                <System.Runtime.CompilerServices.Extension()>
                                Public Sub Append(this As System.Text.StringBuilder, ParamArray strings()…

                                5 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 →
                                • Make the declaring matching operators (such as =/<>) optional

                                  When defining an operator such as:
                                  Public Shared Operator =(value1 As Binary, value2 As Integer)
                                  Return value1.ToInt32() = value2
                                  End Operator

                                  The compiler should automatically default the matching "<>" to "Not =" thus avoiding the now mandatory declaration:
                                  Public Shared Operator <>(value1 As Binary, value2 As Integer)
                                  Return Not value1 = value2
                                  End Operator

                                  5 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 →
                                  • VB.Net Support for Android/Apple/Raspberry Pi

                                    Could you please add support for the following Android/Apple & Raspberry pi please? as well as more examples in Vb.NET?

                                    Some of us don't really want to have to stop using such a great language.

                                    Thank you.

                                    5 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 →
                                    • Ability for inline multiple variables assignment

                                      It 'll be nice to write something like

                                      a = b = c = 6

                                      instead of

                                      a = 6
                                      b = 6
                                      c = 6

                                      5 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 →
                                      • Add native IN (or AMONG) and BETWEEN operators to VB

                                        Instead of
                                        If x = 3 OR x = 8 or x = 12
                                        I should be able to type:
                                        If x in {3, 8, 12}

                                        And instead of
                                        If x>=2 and x<=10
                                        I should be able to type
                                        If x between 2 and 10
                                        (similar to SQL).

                                        4 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 →
                                        • Exception-type list after the Catch keyword

                                          Try
                                          ....PossibleException()
                                          Catch aException, bException, cException
                                          ....MessageBox.Show("a or b or c ERROR")
                                          End Try

                                          In addition, I'd like to propose a reserved keyword wich can represent the Exception object of the current Try-Catch block for example with the following built-in and hidden declaration:
                                          CurrentException As Exception

                                          Try
                                          ....PossibleException()
                                          Catch aException, bException, cException
                                          ....MessageBox.Show(CurrentException.Message)
                                          End Try

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

                                          Feedback and Knowledge Base