Visual Studio IDE

Welcome to the Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, you can visit our Developer Community website to get started. 

For suggestions for improvements to other developer products, see these sites:

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

We look forward to hearing from you!

- The Visual Studio Team
Terms of Service and Privacy Policy

I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

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

If a similar idea already exists, you can support and comment on it.

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

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

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Allow Unsafe Code and Pointers in VB.

    Make it so pointers can be cast in unsafe contexts for complex interop coding ...

    Public Unsafe Function x(y as SomeStruct) As ResultStruct
    Dim p As Object? ' use Object? as an alternative to (void *)
    p = InteropCall(y?) ' use ? to get the address of something.
    Return CType(@p, ResultStruct) ' use @ to dereference.
    End Function

    83 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 →
    • Using TypeOf operator in the Select Case statement

      Select TypeOf myobj
      ....Case SByte, Short, Integer, Long

      End Select

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

        Hey everyone,

        If you hadn’t heard already last week at BUILD we announced the PUBLIC release of a Preview of the next version of the Visual Basic language and code editing experience powered by “Roslyn”. You can download this preview and install it on top of Visual Studio 2013 today!

        I’m excited to let you know that included in this is a preview of a new language feature we’re considering that let’s you Select Case on the type of an object like this:

        Select Case obj
        Case b As Button

        Case t As TextBox

        End Case

        You can read about it more here: http://www.codeplex.com/Download?ProjectName=roslyn&DownloadId=824695

        Download the End User Preview @ http://msdn.microsoft.com/en-US/vstudio/roslyn

        I encourage you all to download it, try it out, and send us your feedback.

        Regards,

        Anthony D. Green, Program Manager, Visual Basic & C# Languages Team

      • WebBrowser Control Using Edge Rendering Engine

        Hi Development Team,

        Thousands of developers including myself would like the WebBrowser control in Windows Forms Application to use the Microsoft Edge Rendering Engine.

        We know there is WebView control for Universal Windows Platform, but, we want all the power we get under Windows Form Application but prefer the WebBrowser control rendering engine to be Edge not Internet Explorer.

        Could Microsoft please release this feature as an add-on to Visual Studio 2015? Or is there a way we can change the WebBrowser control use the Edge rendering engine? A lot of programmers are asking for this feature.

        67 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 →
        • Allow multiple languages (C#,VB,F#) in the same project

          Now with Roslyn this could be possible.

          It's very annoying that you have to convert C# to VB just to include a class/function/snippet in your VB project, and viceversa.
          If all code compiles to MSIL, then why we cannot use different NET languages in the same project.

          Another example is a function in F#, you may want to use some functions that will simplify/improve your project (C#/VB) and it's better to do it in a functional language, but you don't want to code all your project in F#, nor want to create a separate project in F# with its DLL…

          62 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 →
          • Using Like operator in the Select Case statement

            Select Case sProductName
            ....Case Is Like "* tea *", Is Like "* coffee *"

            ....Case Like "* beer *", Like "* wine *" ' the Is keyword could be optional


            End Select

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

              Hey Robert,

              Great suggestion. As you’ve noted in all of your suggestions there’s a lot more potential with the Select Case statement that we don’t yet support. Reference equality comparisons (Is/IsNot) and the Like operator are great examples as is type-checking. We’re actively thinking about improving the Select Case statement for these scenarios.

              Your suggestion is actually the most likely syntax we would use if we were to implement this feature and it seems more like a bug that it doesn’t just work. That said is the Like operator still useful to you compared to say RegEx – which is more powerful?

              -Anthony D. Green, Program Manager, Visual Basic & C# Languages Team

            • Lowercase keywords

              Please provide a full option to use lowercase keywords in VB, instead of using a hack with a custom font.

              http://blogs.msdn.com/b/vbteam/archive/2015/04/02/lowercase-keywords-revisited.aspx

              42 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 →
              • Enable Unsafe Operations in Visual Basic

                Hello,

                The fact that Visual Basic does not have support for unsafe operations is very complicated, it makes many applications can only be written in C#.

                Visual Basic will die this way, and C# is growing quickly.

                If Visual Basic also could work with unsafe operations would be great, wonderful, the developer could use the language he loves the most, and not language that supports what he wants to do.

                I love Visual Basic so much but for the projects that I'm doing is necessary to use unsafe operations and only C# allows me it.

                I feel sad for not…

                37 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 →
                • continue edit on on error resume next

                  re eanble editing around On Error Resume next please, it is really annoing now to restart anytime I made some even small correction,

                  36 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…)
                    3 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                  • Increment (++) and Decrement (--) Operators in VB.net

                    The whole purpose of the .net framework is the methods should be common to all languages. In the case of System.Int32 you are not allowed to use the follow in VB:-

                    TestValue++ or ++TestValue

                    So if I had an array the following is impossible in VB but possible in C#:-
                    TestValue = TestArray(Index++)

                    So instead I have to write the following:-
                    Index += 1
                    TestValue = TestArray(Index)

                    Please enhance VB to include Increment (++) and Decrement (--) Operators in VB.net as per the MSDN info on c# below:-
                    https://msdn.microsoft.com/en-us/library/xzcawzfw(v=vs.100).aspx

                    34 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 →
                    • Provide code in vb and c#

                      Microsoft keeps saying they will continue to support Visual Basic, yet everywhere I look I see code examples and sample programs only provided in C#.

                      The Microsoft Developer Network provides the option to view different languages, so there must be people at Microsoft who can translate the code.

                      Whilst I don't expect every Microsoft blogger to provide samples in multiple languages, sites like www.asp.net with it's learn section should provide at least VB and C#.

                      32 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 →
                      • Combine "Using" with "With"

                        Combine "Using" with "With", so that you could write for example:

                        Using System.IO.File.CreateText("log.txt")
                        .WriteLine("This is line one.")
                        .WriteLine("This is line two.")
                        End Using

                        instead of

                        Using writer As System.IO.TextWriter = System.IO.File.CreateText("log.txt")
                        writer.WriteLine("This is line one.")
                        writer.WriteLine("This is line two.")
                        End Using

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

                          Hi,

                          I’ve seen this request a few times before and while I’m not unsympathetic there are a few problems. The first is we haven’t been able to come up with a good syntax for it – one that is sufficiently descriptive while being concise and aesthetically pleasing but that still reads well.

                          “Using With x” doesn’t make sense as a natural sentence which goes against the grain of the language.

                          Another is how such a feature fits stylistically/philosophically in the language. Like why are Using and With specially, what about Sync Lock? What if I want to Lock on a disposable resource and have it be the implicit receiver of member access? Using With SyncLock, SyncLock With Using? Can I mix any two? Like, is there a notion or pattern in the language of combining blocks this way? We’d want to think through that one too for a bit.

                          One…

                        • Add NotifyPropertyChanged attribute (or keyword) to properties declared as auto-implemented properties

                          I absolutely love using auto-implemented properties and the removal of the need to declare a backing variable.

                          Public Property MyProperty As String

                          However, for classes that implement INotifyPropertyChanged, I can't use auto-implemented properties, and instead have to write the more verbose:

                          Private _myProperty As String
                          Public Property MyProperty As String
                          Get
                          Return _myProperty
                          End Get
                          Set(value As String)
                          _myProperty = value
                          RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs("MyProperty"))
                          End Set
                          End Property

                          Multiply this by a few dozen properties, and this gets a little tedious (even with code snippets), much too verbose to read, and increases the surface area for typo bugs.

                          I…

                          25 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 →
                          • Unary operators -- and ++

                            i++ / i--
                            ++i / --i

                            24 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 →
                            • C# and VB wrong Perception

                              I have writing code in Visual Basic since 2005. I see most of the people just talk about C#. Everyone think VB is just very tiny language and cannot do what C# can do. Which I believe is FALSE after the .NET framework.

                              Can you re-brand Visual Basic as B# and help this language to get same status and respect as C#.

                              VB is really powerful language, but the perception that is built is totally disgusting. Even in universities, No one agrees to let you develop project in VB. This situation is really disappointing and damaging the image of this…

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

                                  17 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 →
                                  • Using logical And operator in the Select Case statement

                                    Select Case dblA
                                    ....Case Is > 1.22 And Is < 3.4

                                    ....Case Is > 4.1

                                    ....Case Else

                                    End Select

                                    Select Case sProductName
                                    ....Case Is > sPrevProdName And Is Like "* tea *"

                                    ....Case "apple juice"

                                    End Select

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

                                      Hey everyone,

                                      If you hadn’t heard already last week at BUILD we announced the PUBLIC release of a Preview of the next version of the Visual Basic language and code editing experience powered by “Roslyn”. You can download this preview and install it on top of Visual Studio 2013 today!

                                      I’m excited to let you know that included in this is a preview of a new language feature we’re considering: When clauses on Case statements. This behaves like an AND. It doesn’t do exactly as suggested because you can’t implicitly refer to the Select Case expression but you can test other conditions inside:

                                      Select Case dblA
                                      Case Is > 1.22 When Date.Today.DayOfWeek = DayOfWeek.Monday
                                      ’ Why would anyone ever write this?
                                      End Select

                                      You can read about it more here: http://www.codeplex.com/Download?ProjectName=roslyn&DownloadId=824695

                                      Download the End User Preview @ http://msdn.microsoft.com/en-US/vstudio/roslyn

                                      I encourage you all to download it, try it out, and…

                                    • Change the name Visual Basic or VB to B#

                                      Everybody thinks and its really common perception that C# is much more powerful than VB. Which is totally false. Under.net framework, there is no difference. I have used both VB and C# IDE. But honestly. VB IDE is a lot more better than C# IDE.

                                      We need to re-brand Visual Basic before everybody starts hating it. Change the name of product from VB to B#

                                      15 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 →
                                      • enable line comments in VB after the line continuation char (_)

                                        Just a very simple thing:

                                        I had an attribute and a field written on two lines like this:

                                        <DebuggerBrowsable(DebuggerBrowsableState.Never)> _
                                        Private _SomeField As String

                                        and wanted to add a line comment after the '_':

                                        ...State.Never)> _ 'My reason why

                                        I now get the following error: "Line continuation character '_' must be preceded by at least one white space and must be the last character on the line."

                                        My request now is to change the rule "...must be the last character on the line" to "...must be the last non-white-space character on that part of the line that does not belong…

                                        14 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 Chris,

                                          Excellent suggestion! When we introduced implicit line-continuation in VB2010 it was a very painful restriction that we had to leave in due to technical and schedule constrains that comments weren’t allowed after them. Happily, thanks to the improved parser architecture we use in Roslyn (a future version of VB/C#) we will be able to support it one day. In fact, in the Roslyn compilers comments are already supported after implicit line-continuation so I can write this:

                                          ’ Comment here

                                          Private _SomeField As String

                                          After we got that working it seemed reasonable to lift the restriction on normal, explicit line-continuation as well though we haven’t yet done so.

                                          While we do not currently have plans to address this issue in the next release of Visual Studio, we are reviewing suggestions now for future versions of VB in and beyond the Roslyn time-frame. We have not determined when that will…

                                        • Do Not Collapse Comments

                                          It would be nice if the comments simply did not collapse with CTRL+M+O. That or if there is a blank space between two blocks of comments. Do not treat them as 1. But instead it will collapse the entire section even though comments may not be a part of the one above it (obv limitation of VB because they do not have multi-line comments). I'm sure if we could just have a more robust commenting system. Things would have been peachy and I may not have switched to C#.
                                          This should be simple, and to me already done as the…

                                          13 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