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. 

NOTE: The Applications Insights forum has moved to the Azure feedback site.

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. Make the Optional keyword optional

    Please allow

    Private Sub Test(s As String = 1)

    as in C# besides the current version:

    Private Sub Test(Optional s As String = 1)

    This removes redundancies (--> improves readability, accelerates writing code) and drives forward the co-evolution of VB/C#. I don't see any reason not to allow this.

    147 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 →
    • Allow #region blocks to be indented much like they are in C#

      In C# you can indent a #region block so that the region flows with the layout of your code. Unless I am missing something, this is not the case in VB.

      Example (C#):
      public class MyClass
      {

      +[VARIABLES]

      +[PROPERTIES]

      +[METHODS]
      }

      Example (VB):
      Public Class MyClass

      +[VARIABLES]

      +[PROPERTIES]

      +[METHODS]

      EndClass

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

        Hey Greg,

        Thanks for the great suggestion. I agree that it would be nice to see these indented properly. I honestly couldn’t tell you the reason for this design choice but it applies to all preprocessing directives. Having said that, our team owns both the VB and C# code editor experiences and as we’re rebuilding them as part of Project “Roslyn” we’re trying to be on the look out for opportunities to make the experiences more consistent where it makes sense – this looks to me like one of those cases. The “Roslyn” based editing experience is not planned to be in the next release of Visual Studio but it’s certainly not to early to look at improving this. I’ll follow up with the right folks to see if I can make this happen :)

        Regards,

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

      • Make VB6 open source

        Given that Microsoft will eventually remove support for VB6 make it open source so that it can be updated and improved by the VB6 community.

        139 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 →
        • Bring back a possibility to work on one single procedure on screen

          On QuickBasic and the first VB-Versions there has been the possibility to concentrate on a single procedure. You had to choose the sub, and on the screen there was nothing else but this sub. This has been a very proper way to work with procedures.

          121 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 →
          • 106 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…)
              6 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…

              85 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…)
                6 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
              • VB.Net Support for Android/Apple/Raspberry Pi

                Could you please add support for the following Android/Apple & Raspberry pi please? as well as more examples in Vb.NET?

                Some of us don't really want to have to stop using such a great language.

                Thank you.

                85 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 →
                • Implement support for binary, octal and hex literals

                  I know VB supports hex literals but these need to be improved so instead of using the &h prefix, you could use a suffix:
                  Dim hexValue = 1F7h

                  The same way you could then implement both binary and octal literals:
                  Dim binValue = 01100011b
                  Dim octValue = 722o

                  84 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 →
                  • Add VB.Net Project Templates For .Net Core and .Net Standard to Visual Studio 2017

                    It's absurd that VS 2017 lacks VB.Net project templates for KEY new concepts such as .Net Core and .Net Standard.

                    Microsoft has promised to maintain VB.Net as a first class citizen/language, but in the last year or two, I've seen exactly the opposite.
                    I'm fearful that perhaps VB.Net isn't getting even the most basic levels of internal Microsoft use and testing with new concepts if there aren't even project templates in your flagship dev tool.

                    I suggest either dropping VB.Net completely or committing the resources necessary to properly maintain and support it. Everything about the current half-measures is quite uncomfortable…

                    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…)
                      2 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

                      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…)
                        1 comment  ·  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…)
                          12 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

                        • Visual Basic - xamarin

                          Allow writing Visual Basic in Xamarin Projects.

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

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

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

                                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…)
                                  1 comment  ·  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,

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

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

                                      • Unary operators -- and ++

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

                                        29 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 →
                                        • Close VB6 product related suggestions

                                          I'm sorry I had to actually put this under the "Languages - Visual Basic" category as that is meant for VB.NET and not VB6.
                                          However, other participants on this platform sadly did not realize this at all and opened a lot of even repetitive suggestions unrelated to modern Visual Studio (aka "Visual Studio .NET") what this Uservoice is about.

                                          On top of that, those suggestions are mostly spam linking to external sites, including needless images and highly personal, uncited and sometimes even inflammatory opinions.

                                          Additionally, the content of all those suggestions was previously handled and closed with a lengthy reply…

                                          28 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 →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base