Visual Studio

Welcome to the Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, visit the Visual Studio Connect site: http://connect.microsoft.com/visualstudio.

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

We look forward to hearing from you!

Thanks – Deon Herbert
Visual Studio Team

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

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

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

  • Hot ideas
  • Top ideas
  • New ideas
  1. support yield return iterate IEnumerableVar

    Implement "yield return iterate IEnumerable" or similar to get rid of foreach'es in code.
    IEnumerable<string> GetX(bool a)
    {
    if(a)
    {
    // Use this instead: yield return iterate GetY();
    var ys =GetY();
    foreach(var y in ys)
    yield return y;
    }
    else
    yield return "b";
    }

    IEnumerable<string> GetY()
    {
    yield return "a";
    }

    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…)
      1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
    • 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 →
      • make control characters visible in VS code windows

        Control characters that exist in the source code don't show in in the code window in Visual Studio. I've verified that this is the case for at least C++ and C#, in both VS2010 and VS2012.

        Characters in the 0x00 - 0x0F range are invisible to the code editor, so cannot be identified and removed (as they will almost certainly not allow the project to be built).

        It's surprisingly easy to get these characters in the source code. Incorrect character escaping in a TEXTINCLUDE macro in a C++ .rc file does the trick.

        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…)
          1 comment  ·  IDE  ·  Flag idea as inappropriate…  ·  Admin →
        • Option to hide namespace prefixes in debugger CallStack window (VS2012)

          Please add an option to hide the namespace prefixing (of the method names and argument types) when shown in the debugger CallStack window (VS2012).

          This could be another 'checkbox' in the right-click menu of the "Call Stack" window.

          Because the following is a little hard to read:

          " agree_console.ConsoleExec.do_pipeline<agree.IUnit,agree.IActiveObj<agree.IActiveObj<agree.IActiveObj<agree.IActiveObj<agree.IActiveObj<agree.IAsyncTask<agree.IChartControl>>>>>>>(System.Func<agree.IUnit,agree.IActiveObj<agree.IActiveObj<agree.IActiveObj<agree.IActiveObj<agree.IActiveObj<agree.IAsyncTask<agree.IChartControl>>>>>>> cx)
          "

          If every instance of 'agree.' was eliminated in this example, it would be more manageable. Many thanks.

          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…)
            2 comments  ·  Debugger  ·  Flag idea as inappropriate…  ·  Admin →
          • add view front code on code-behind in rightclick

            When you are in a aspx.cs or ascx.cs files, you can do a rightclick en click the "View Designer" (Shift+F7), but better is to view its code instead of opening the designer, please add this option or alter the "View Designer".

            8 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  ·  IDE  ·  Flag idea as inappropriate…  ·  Admin →
            • Allow me to compare a project file with source control from the context menu

              Currently you have to go to the File -> Source Control menu to compare

              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  ·  Team Foundation Server  ·  Flag idea as inappropriate…  ·  Admin →
              • hyperlink

                The editor should support hyperlinks (within code comments) with relative paths (relative to the project files).
                This is required because the target of those hyperlinks might be source controled as the project is and will only have a stable relative path to that project as this is true for solutions and projects, too.

                4 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                • Stop using user voice because you don't listen to the feedback

                  Microsoft needs to stop acting like it wants developer feedback. I'd much rather see Microsoft just say they don't want it rather than acting as if they did. Unfortunately the experience here is much the same as it is on the connect site. For example the request that got nearly *12k* votes, adding color back, was completely ignored except for a couple of token modifications. Performance is also much worse than 2010, another big item.

                  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…)
                    6 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • Provide HelpViewer 2 as a standalone download

                    Allow HelpViewer 2 to be installed on its own so people can download help content onto devices they work from where the don't need Visual Studio to be present.

                    8 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  ·  Help  ·  Flag idea as inappropriate…  ·  Admin →
                    • VS should really steal features from Eclipse

                      VS should really have a deep look at Eclipse and implement some of the really small but extremely useful features of it:

                      1. Annotation bar in Eclipse is located at the right side of an editor and can show all kind of markers like errors, warnings, todo items, variable read/write accesses and so on. Once you get used to it, you can't live without it.

                      2. Highlight current variable: Eclipse shows both read and write accesses with different colors and that makes following the code extremely easy. VS shows only the variable occurances.

                      3. Use markers in the solution Explorer…

                      4 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        0 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                      • Auto-expand functions as expression tree in LINQ-expression

                        Example:
                        class Employee
                        {
                        public string FullName
                        {
                        get { return FirstName + " " + LastName; }
                        }

                        public string LastName { get; set; }

                        public string FirstName { get; set; }
                        }

                        Query like this
                        var employees = (from employee in db.Employees
                        where employee.FullName == "Test User"
                        select employee).ToList()

                        Can be compiled as
                        var employees = (from employee in db.Employees
                        where (employee.FirstName + " " + employee.LastName) == "Test User"
                        select employee).ToList();

                        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…)
                          1 comment  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                        • 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 →
                          • 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…)
                              0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                            • Exclude closed Test Cases from Requirement suites in Test Plans

                              When adding Requirement suites to a Test Plan, exclude closed test cases.

                              Right now, if I remove them from the Test Suite, they are also removed from the User Story.

                              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…)
                                0 comments  ·  Visual Studio Test and Lab Management  ·  Flag idea as inappropriate…  ·  Admin →
                              • Allow native inclusion of Test Cases on the Sprint "Board" so that you can have this with the MS Hosted TFService.

                                On the "Board" feature of the Microsoft Hosted TFS, it should allow Test cases to automatically show up on the Board, as this is used to track the progress of the sprint team, as Testers are an integral part of the sprint team their work should be as visible as the developers so that all stakeholders can see the testing progress as well as the development progress to give a truer reflection of the state of play.

                                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  ·  Team Foundation Server  ·  Flag idea as inappropriate…  ·  Admin →
                                • Error(s): The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines a

                                  Error(s):

                                  The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the <machineKey> configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster. Ensure that cookies are enabled in your browser.
                                  TFS.ServerException: The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the <machineKey> configuration specifies explicit encryption and validation…

                                  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…)
                                    0 comments  ·  Team Foundation Server  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Search excluding comment

                                    When i do a search, i want to exlcude commented code.

                                    3 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Database Project Loading Slow

                                      Database Project Loading slow. If in single solution file containg more than 10 project the loading time appox 30-45 minutes. Some time database Project crash. Whats the root cause ???

                                      8 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  ·  Database Projects  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Towards a decent DeflateStream

                                        DeflateStream since .Net4.5 uses a true Zlib implementation, but much flexibility is inaccesible to the user, with (probably) no good reason.
                                        1. The deflate compression strategy (filtered/huffman/default) is not selectable. This is relevant in many scenarios (eg: PNG)
                                        2. The compression levels are very limited: only 3 of the 9 (and not even a 'default')
                                        3. We can't set a dictionary

                                        It would also be nice to have a selectable flag so that the deflate stream is Zlib-decorated (header and Adler CRC)

                                        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…)
                                          1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Collect the whole object

                                          While recording controls in a web app, for example, a drop down selection box, collect all the possible values so that the user does not have to record a click event for each possible value. Assume this drop down contains a list of all 50 USA states. That is 50 recordings to get the full control into the UIMap. Instead, collect the values and store it in the UIMap from just a single click event. Thus making it simple for the developer to code for the other possible values, without having to go back and record the other events again.…

                                          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  ·  Visual Studio Test and Lab Management  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base