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

ASP.NET Runtime/Web Tooling suggestions have moved! All your ideas, including your votes, have been transferred and are searchable in the ASP.Net Uservoice forum. Please submit any new ASP.NET Runtime/Web Tooling suggestions, or vote on existing suggestions by going to http://aspnet.uservoice.com.

We look forward to hearing from you!

Thanks – Deon Herbert
Visual Studio Team

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

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

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

  • Hot ideas
  • Top ideas
  • New ideas
  1. Implement a Strictly .net mode for VB.net.

    implement a compiler switch that when turned on. vb.net is no longer backwards compatible with vb6.

    Option DotNetOnly On

    So now you'll get compiler errors if you use any on the vb6 keywords and legacy functions.
    A c# like approach to shared methods, only accessible via the class, not an instance.

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

      Hey Adam,

      Thanks for the suggestion. Could you be more specific on what specific things you’d want disallowed and very specifically why they “don’t make the cut”. I ask because as written this suggestion could mean different things to different people; “VB6 keywords” “VB6 compatibility” isn’t very meaningful objectively. For instance AddressOf, Alias, And, As, Boolean, ByRef, Byte, ByVal, Call, Case, Date, Declare, Dim, Do, Double, Each, Else, ElseIf, End , Exit, False, For,Function, Get, GoTo, If, In, Integer, Is, Let, Lib, Like, Long, Loop, Me, Mod, New,Next, Not, Nothing, Object, On, Option, Optional, Or, Private, Property, Public, ReDim, REM, Resume, Return, Select, Set, Single, Static, Step, Stop, String, Sub, Then, To, True, While, With, and Xor all are just some of the keywords which were in VB6 – I don’t imagine you’re suggesting disallowing all of them. Also it’s not very clear how you delineate what is .…

    • 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()…

      3 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 →
      • Handles keyword in WPF

        In Windows Forms for events is used Handles keyword, in WPF isn't. Please implements Handles keyword to the WPF.

        3 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 →
        • Implement Interface members Implicitly

          It 'll be nice if we can declare the interface members implicitly without mention the implemented member from the interface.
          In other words, we can write for example this

          Public Sub Method1()

          End Sub

          instead of

          Public Sub Method1() Implements InterfaceName.Method1

          End Sub

          3 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

            3 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 →
            • Compile time properties such as Name and Type acessible via '.#'

              I suggest a new selector, .#, so we can access compile time information, such as elements names, unamed object types, etc, in a more practical way.

              Suggested properties:

              .#Name - the element name
              .#Type - the element type
              .#ElementType - the element type of a List item
              .#Ref - "address" of a method (may be used instead of AddressOf)


              'example 1 -- preventing hardcoding an element name
              If PropertyChangedName = Target.Strength.#Name Then
              ...
              End if


              'example 2 -- mannualy creating an anonymous type element
              Dim Enemies = (
              from N in EnemyList
              Select New With {
              .Name = N.Name,
              <lots…

              3 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-Intellisense should suggest undefined variables from current context after writing "Dim..."

                Often, if i write a line of code, i start to write something and think this would be better split in more lines and use a new variable

                Basic example:

                result = (a + b) * c

                while writing the line, i think (a+b) is rather complex in one line, so just use a new temporary variable. But first I complete this line, if I already had defined this variable and write the "Dim" and the assignment afterwards.

                so, i write:

                result = x * c

                and afterwards i go some lines up and start to write

                dim x as...

                3 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 breaking of all lines in VB, at any interval

                  Just like in the semi-colon languages, however, instead of the semi-colon, we can use 'shift + enter' to indicate a soft line break, just like in Word.

                  We can use the (↵) symbol to indicate a line break.

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

                    3 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 →
                    • Self-Extending Integration

                      Hi,
                      I am a good programmer of VB.Net I found it Very Easy to use. But the thing i want is that programmer should be able to extend language by building new keywords. As In some class If we use IDisposable Then we can use Using statement for that class. So I want that user make new classes and make new keywords for them. Although It is easy to say this but i think its programming will be so hard but VB.Net will be language extending itself. There should be a class for implement or inheriting Keyword and build rules…

                      3 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 →
                      • introduce a code evaluation feature in visual studio

                        include a feature that can aid beginners in visual basic on alternatives of how to enhance project performance and conformity to coding standards

                        3 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

                          3 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 LINQ expressions to start with Let

                            Now to bind temporary variables for just one expression I can use LINQ but I have to fake a singleton tuple stream like this: From u In "_" Let var1 = expr1, var2 = expr2 Select expr. In Haskell I could just write: let var1 = expr1; var2 = expr2 in expr, omitting From u In "_". I'd like the requirement to include this noise removed from VB. And C# as well.

                            3 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 →
                            • Solve the IF snippet problem in VB.Net

                              If you are writting your code and have this:

                              If property = 1

                              And press Tab key, the snippet writes this:

                              If property = 1 Then
                              [focus here]
                              End If
                              Then

                              As you can see the snippet writes another Then O_o

                              3 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 →
                              • Line Indent doesn't work with #Region

                                I think there's an issue whenever you 're trying to increase the line indent for the #Region in Visual studio 2013. The default behavior is the region block align to the left

                                3 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

                                  3 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 →
                                  • explicitely suggest "Have you forgotten AddressOf operator" on places where a parameter should be a delegate and something is not OK with it

                                    I use delegates sometimes, but not often. And most of times, while looking at C# samples, I forget to use AddressOf operator. That usually brings me a very cryptic message, which means that something is not OK with the address (delegate) of the function I want to be used for a particular purpose and I usually try to fix type of parameters of supplied function etc. before I realize that I should have used AddressOf, This was so much more hard to me when I was a .NET beginner. So, I suggest that the error message - whenever a delegate…

                                    3 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

                                      3 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 →
                                      • 3 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 →
                                        • Have a different type of comment that "strikes out" code (puts a line through it).

                                          Have a different type of comment that "strikes out" code or comments (puts a line through it). We could use the backtick instead of the apostrophe.

                                          3 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