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

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

We would also like to invite you to check out the Announcements section we have added to this site, where we will be posting special opportunities for you to participate in.

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. Add the value keyword inside switch statements

    Add the value keyword inside switch statements to reference the switch value:

    switch (MyBigMessySwitchValue)
    {
    case "SomeBigFancyMatch": setting = value.Substring(4); break;
    default: Log.Error(String.Format("{0} is unrecognized.", value));
    }

    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 - C#  ·  Flag idea as inappropriate…  ·  Admin →
    • Public or Anonymous Read Only access to Project

      As a user I want the ability to publicly share my projects status and source code with users who may or may not have a live account so that the project status, features, user stories, and other reports can be viewed and socialized.

      1 vote
      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…)
      • msdn help library

        Use chm packages or the form of vs2008 help library instead of MSDN help viewer........."connection refused",and cant fix it easily!

        1 vote
        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  ·  Flag idea as inappropriate…  ·  Admin →
        • Disable C++ Code Analysis for specific paths

          When building projects with 3rd party libraries, the code analysis warnings completely overwhelm the "local" warnings. It would be very helpfull if it was possible to disable code analysis warnings for specific include-paths, e.g. include/boost, include/qt etc..

          1 vote
          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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
          • Please provide System.Json

            Please revive System.Json for us to use simple Json lib. Your official System.Json is way more simpler than Newtonsoft

            At least please list it in nuget or open it sourcecode

            I love System.Json so much

            Thanks

            2 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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
            • Find Symbol Results May Be In ListView for columns seeing aligned

              Find Symbol Results May Be In ListView for columns seeing aligned
              code 1. column
              FileName 2. column
              File CodeLine 3. Column
              etc

              2 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  ·  Visual Studio Ultimate  ·  Flag idea as inappropriate…  ·  Admin →
              • On Visual Studio Online Allow us to change the time zone format to the local country format it is only available in the US time zone

                Allow us to change the time zone format to the local country format it is only available in the US time zone

                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…)
                • Deployment Gateway Server for Release Mangement

                  The Release Management Server communicates directly to the deployment agents.
                  In our environment (and also in many others) our servers are located in different DMZs seperated by various firewalls.
                  For SCOM there exists a Gateway Server to enable the communication between agent and management server through DMZs and Firewalls. This kind of Gateway Server is a must have to use Release Management in our Environment.

                  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  ·  Release Management  ·  Flag idea as inappropriate…  ·  Admin →
                  • Views history comment in Pending changes

                    In the "Pending Changes" tab

                    1) If the Comment field is selected
                    2) The text is empty
                    3) Pressing down arrow to view the last 10 comments.

                    9 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                    • Add object pool feature to .NET objects

                      Please add support for built-in object pools. So once GC detects that poolable object is out of scope or not in use anymore it would return object to its pool instead of reclaiming its memory. It would allow to decrease memory fragmentation for such objects.
                      C# pattern of usage may be as some attribute decorator for class with properties for minimum/maximum objects to pool or force these classes to implement some new interface.
                      For object initialization constructor's logic could be reused each time object is taken out of pool, or new interface may propose new method.

                      1 vote
                      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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                      • Enable IP Switching for Visual Studio Online Load Tests

                        When testing externally, there can be security controls in place that stop a single IP address from executing at a certain rate. In some cases after a specific amount of time the IP address can be put on a temp blacklist. As well, there can be proxies that do not handle that type of load very well.

                        There are workarounds, but to get a nice feel for end-to-end testing leaving all of the infrastructure in place without modification would be useful.

                        I'm not asking for hundreds of IPs, but maybe 10 - 15 would get people where they need to…

                        6 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Visual Studio Ultimate  ·  Flag idea as inappropriate…  ·  Admin →
                        • Add a "??=" operator to C#

                          Add an operator that assigns the value of the right operand to the left operand when the left operand is null. For example:

                          string message = null;
                          message ??= "Hello, World!"; // sets 'message' to "Hello, World!" since 'message' was null.
                          message ??= "Goodbye, World!"; // leaves 'message' set to "Hello, World!" since 'message was not null.

                          The example above uses strings but would apply to any reference/nullable type.

                          Currently, the best alternative that we have for this in C# is:
                          message = message ?? "Hello, World!";

                          Thanks,
                          Blake

                          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 - C#  ·  Flag idea as inappropriate…  ·  Admin →
                          • IDisposable should have DisposeIfNull extension method

                            In cases where it is more efficient to use a try-finally with multiple disposable types involved we frequently have code that looks like this (

                            DispoableType1 disposable1 = null;
                            DispoableType2 disposable2 = null;
                            DispoableType3 disposable3 = null;
                            try
                            {
                            // initialize and operate upon the types
                            }
                            finally
                            {
                            if (disposable1 != null)
                            disposable1.Dispose();
                            if (disposable2 != null)
                            disposable2.Dispose();
                            if (disposable3 != null)
                            disposable3.Dispose();
                            }

                            If IDispoable had an Extension method like so:

                            public static class DisposableExtensions
                            {
                            public static void DisposeIfNull(this IDisposable disposable)
                            {
                            if (disposable != null)
                            disposable.Dispose();
                            }
                            }

                            The above finally block would look like

                            finally …

                            1 vote
                            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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                            • Automatically add assembly references for types contained in assemblies in path

                              Let's say I don't have the System.Configuration assembly in my references.

                              Now in code I type ConfiguationManager and the code editor complains saying, "The name 'ConfigurationManager' does not exist in the current context".

                              I'd like to see a keyboard shortcut option (maybe one more line item when you do a CTRL + . ) to add an assembly reference. The IDE can then show me a list of assemblies it found with a matching type and I can choose to add the appropriate one.

                              1 vote
                              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  ·  IDE  ·  Flag idea as inappropriate…  ·  Admin →
                              • Support the #include_next preprocessor directive

                                Add support for the #include_next preprocessor directive to Visual C++. This is a GCC extension, and porting code that uses it to VC++ is VERY DIFFICULT. There is just no good way to simulate it using existing VC++ features.

                                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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                • add BitScanForward and BitScanReverse functions to .NET Framework, like in C++.

                                  The .NET Framework seems to be missing functions to give us safe access to the BitScanForward and BitScanReverse x86 instructions, for 32-bit and 64-bit integers.

                                  Following you can see the C/C++ functions documented but there is no C# or .NET equivalent.
                                  http://msdn.microsoft.com/en-us/library/wfd9z0bb(v=vs.100).aspx
                                  http://msdn.microsoft.com/en-us/library/fbxyd7zd(v=vs.100).aspx

                                  If you are bothered by the fact that BitScanForward returns 2 values (boolean and index), or if you wish to make the name less ambiguous than "BitScanForward", then you could make a slight modification as follows and name it "CountTrailingZeroBits".

                                  int CountTrailingZeroBits64(UInt64 inValue)
                                  {
                                  int i;
                                  return _BitScanForward64(&i, inValue) ? i : 64;
                                  }

                                  And similarly for…

                                  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  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Insert some details as comment on save file

                                    i need to solution for insert modified comment on head of every files in project like as this

                                    class1.cs => // Author: [Windows username] Modified: [Last modified date]

                                    main.css => /* Author: [Windows username] Modified: [Last modified date] */

                                    main.js=> /* Author: [Windows username] Modified: [Last modified date] */

                                    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  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Allow organizing/grouping git repositories in a team project

                                      The ability to host multiple git repositories in a single team project was essential to get uptake of git as a source control option for larger teams.

                                      But with this comes organizing those repositories.

                                      We need a way to be able group git repositories perhaps through some sort of virtual folder structure (like adding solution folders) to help navigation when a large amount of git repositories exist in a single team project.

                                      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…)
                                      • Escape special characters in TFS query list items

                                        Why are we still seeing &lt; and <p> in the Description column when workitem results are listed in a query?

                                        0 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…)
                                        • Add inheritance for xml documentation from primary constructor

                                          Primary constructors are a new language feature slated for C# 6.0.

                                          This gives a great opportunity to remove the tedious re-definition of function parameters, most commonly experienced in the multiple constructors (e.g., anything deriving from Exception or its progeny).

                                          Thus, I propose that the documentation for the primary constructor's parameters be able to be referenced by any other constructor in that class. This will greatly reduce the complexity of, and thus increase likelihood of, built-in XML documentation.

                                          A nice side effect will be that identical parameters for constructors will be more likely to have identical purpose and documentation, which is…

                                          1 vote
                                          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 - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base