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: https://connect.microsoft.com/visualstudio.

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

We would also like to invite you to check out the Announcements section we have added to this site, where we will be posting special opportunities for you to participate in.

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. Extend for each loops to be able to handle Linq clauses (eg. where, order by)

    At the moment, we have to use 2 lines to do the following...

    Dim ps = From p in People Where p.Active=True Order By p.Surname, p.FirstName

    For Each p In ps ...

    It would be neater to be able to write code such as

    For Each p In People Where p.Active=True Order By p.Surname, p.FirstName

    I don't see why this can't work with C# too.

    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 →
    • Start Making VB and C# closer to each other.

      Start Making VB and C# closer to each other in every future versions.
      And finally merge them in 5 or 6 versions from now. (when the differences will be almost nothing)

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

        Since further development does not seem feasible, would it be possible to release the sources in a .NET core style manner?

        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 →
        • Add new initialization way of memvars

          Add new initialization way of memvars:
          x,y = 0
          x,y,z = 1,2,3
          a,b,c = MyFunction()

          Function MyFunction() as byte, byte, int
          return 1,2,3

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

            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 →
              • VB Interface Implementation Stubs: Allow creation of automatic-implemented properties

                When enter is pressed after specifying an interface that a class implements, generated property stubs include getters and setters. It would be nice if it at least prompted you or used an options setting to determine if auto-implemented properties, without getters/setters and member variables, should be created

                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 →
                • Addition of a 'With Each' Statement

                  Rather than having to a With statement within a For statement, users would have the ability to consolidate the two statements.

                  Example:
                  Dim BigSpenders = (From Customer In Customers Where Customer.DollarsSpent > 1000 Select Customer)
                  With Each Customer In Customers
                  .RewardsProgram = True
                  .StoreCredit = 50
                  .Discount = 15
                  Next

                  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…)
                    2 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…)
                      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…)
                        0 comments  ·  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 →
                          • Bring the "Enable Single Instance Application" for VB.Net (WPF) on Framework 4.0

                            Add the option of single instance application (program.. IDK) in VB.Net with WCF and .Net 4.0.
                            We need to make single instance applications while using VB.net, too, not just VB!
                            Example of program which needs it:

                            C4D-Alpha: A launcher program which enables and launches some features on a specific program (external).
                            C4D-Alpha saves the settings for next launch on every change.
                            C4D-Alpha's best use is assigning it to a keyboard shortcut (ie. CTRL ALT SHIFT C) and then when its up (after a quarter of a second) press the corresponding key for the feature you want to launch.

                            Link: http://www.mediafire.com/download.php?lz58m1zqaiidnfy

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

                                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 →
                                • 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 →
                                  • 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 →
                                    • 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 →
                                      • the most wanted feature in basic.net now (and still) is *comments within multiline statements*

                                        I have to repeat the begging for comments within multiline statements in visual basic... yes, I know you refused to do that for me and numerous others over the last 6-7 years stating that it is "by design"... so what? our continuous and numerous complaints just show that this request has its roots, so do not make excuses of design... *change that design detail* and everything will be ok... mr. hejlsberg on /BUILD/ conference talks about 'paste as c#' and 'paste as vb.net' and you are not able to convince yourself of the need to change that tiny design glitch...…

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

                                          Hey gjuro,

                                          We’ve considered inline/multiline comments in VB several times. In the past it’s been a very expensive thing to implement because of the way the language parser was designed and the way the IDE integrates with it. The VB and C# code bases are, for historical reasons, very different. Anyway, in Roslyn such a thing isn’t as difficult anymore but we still question the value. In fact “is it worth it” is the real obstacle at this point.

                                          We don’t actually see much use of inline/multiline comments even in C# which makes us even more hesitant to add them to VB.

                                          Now, what we have been able to make work in Roslyn is this:

                                          Dim q = From x In y ’ This is a from clause
                                          Where x < z ’ And this is the where
                                          Select x ’ This select is redundant

                                          That is, comments after implicit…

                                        • Dyn keyword to declare dynamic object

                                          Along with Dim keyword there have to be Dyn to declare dynamic object and get rid of using option strict off for the whole file.

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

                                          Feedback and Knowledge Base