Visual Studio 2015

Welcome to the Visual Studio 2015 UserVoice site. This site is for suggestions and ideas for the IDE of Visual Studio (Community, Professional or Enterprise). You can also add suggestions for Team Services or Visual Studio Code. Or go to Connect to file a bug. Note that Application Insights has moved to its own UserVoice forum.

We also added an Announcements section where we will be posting special opportunities for you to participate in.

Read about current UserVoice statuses and their definitions in our article “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. 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 →
    • Visual Basic programs for Mac and Linux

      We need Full Version of Visual Studio for Mac Os x.
      And language of programming such as:
      Visual Basic
      ,because in my opninion it is the best programm Language

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

        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…)
          0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
        • 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 →
          • Try with timeout

            It would be great to be able to add a timeout to a try catch. Something in this spirit:

            Try WithTimeOut(30s)
            ' do some long running stuff
            return "Stuff done"
            Catch(ex as TimeoutException)
            return "Timeout after 30 seconds"
            Catch(ex as Exception)
            return "Some other exception happened"
            End Try

            And of course the Return "Stuff done" would stop the timeout.

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

                  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 →
                  • 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 →
                      • control + First Letter short cut Key for Properties (was available in vb6)

                        Can we have short cut keys for the Properties of an Object, It was even available in VB6, Since from 2003 missing this functionality a lot.

                        Would be great if we can have this functionality asap

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

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

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

                                          Feedback and Knowledge Base