Visual Studio 2015

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

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

Read about current UserVoice statuses and their definitions in our article “What Does the Status of My Feedback Mean?” article.

We look forward to hearing from you!

The Visual Studio team
Terms of Service and Privacy Policy

I suggest you ...

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

There are two ways to get more votes:

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

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

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

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

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

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. 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

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

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

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

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

          • Duck typing of interfaces

            One of the features that was dropped from VB9 was dynamic interfaces:
            http://download.microsoft.com/download/5/8/4/5841bc1a-e864-4423-bb75-d4f3c18c0af5/visual%20basic%209.0%20overview.doc

            Any chance of bringing this back? I know it can be done at runtime:
            http://www.codeproject.com/Articles/16074/DuckTyping-Runtime-Dynamic-Interface-Implementatio

            But that looses the compile time type checking, which is the great advantage of dynamic interfaces -- it gives you the best of both worlds, you can define a set of behavior for an existing class without having to have control over that class, based upon it's public interface, with no chance of it failing because of a missing property or method (if the class doesn't meet the requirements for the interface,…

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

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

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

                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…)
                  0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                • Uppercase/lowercase-change on a Dim command ---> instantly show on all places

                  When I change between uppercase and lowercase on a variable name in a Dim command - I want this change to instantly show on all places where I have used this variable. (example: I change Dim strLastname as String to Dim strLastName as String --- and I want it to change instantly on all places.) This is very good in VB6 - helps visibility.

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

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

                      21 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 →
                      • Unused procedures vanish automatically on compile.

                        When I compile or debug the program I want all unused procedures to vanish automatically. (example: Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged End Sub should vanish when debug/compile if no code is inside it.)
                        This worked in VB6.

                        20 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 →
                        • Add some Tutorial Projects

                          Add some tutorial projects for those poeple who are new to vb.net/2011 get to know what it is and how it works n stuff encouraging them to get into programming and explore new ideas also making the process user friendly. The easiest way to do this by using sample projects like "HelloWorld" and implementing into vb as a tutorial project with basic fucktion like If Fucntions , Select Case and loop functions etc... basically Add more of some practical related tutorials :)

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

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

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

                                • One Line Initialization

                                  I have a suggestion for a possible syntax improvement in visual basic.net. It's towards the initialization portion of a one line multiple declaration. Here is an example:

                                  'Syntax:
                                  Dim a, b, c As Integer = 5

                                  'Output:
                                  'a = 5
                                  'b = 5
                                  'c = 5

                                  Attached is a file of an example where I would want to use a one line initialization. Take a look at the test scores(test1, test2, test3). An easier way to declare those would be:

                                  Dim test1, test2, test3 As Double = -1

                                  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…)
                                    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Add new operator (&_) to insert vbCrLf between concatenated strings

                                    A line such as the following is tedious to write, and not so easy to read:

                                    txtAll.Text = strPrompt & vbCrLf & strInfo1 & vbCrLf & strInfo2

                                    I would love to see:

                                    txtAll.Text = strPrompt &_ strInfo1 &_ strInfo2

                                    12 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 →
                                    • 12 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 →
                                      • wait until the line looses focus to show corrrections/errors

                                        It is very annoying when it tries to correct me in the middle of a line, when what I am typing doesn't make perfect sense, but will when I finish the line.

                                        11 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 →
                                        • Collection initializers for read-only collection properties in VB.NET

                                          I'm very happy that Microsoft is committed to VB.NET have the same features as C#.
                                          One feature I use extensivle in C# is collection initializers. I've just noticed that VB.NET supports these but not for read-only class properties.
                                          I found at http://msdn.microsoft.com/en-us/library/dd293617.aspx that if a collection has a an Add method, it is used to initialize the variable. This should also apply to read-only collection properties.

                                          Here is compilable C# code showing the feature working:

                                          using System;
                                          using System.Collections.Generic;

                                          namespace ConsoleApplication3
                                          {
                                          class Class1
                                          {
                                          private readonly List<Int32> list = new List<Int32>();

                                          public List<Int32> ListProp
                                          {
                                          get
                                          {
                                          return this.list; …

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

                                          Feedback and Knowledge Base