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.

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

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

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

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

                                          Feedback and Knowledge Base