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

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 C++11 features

    Support C++11 features

    4,449 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…)
      95 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →

      Update 1/2/2014:
      Support for C++11 began in Visual Studio 2010, which included auto and lambda functions. In Visual Studio 2012, we implemented more of the standard—for example, range-based for loops, standard threads, and futures. Visual Studio 2013 provides even more—variadic templates, delegating constructors, non-static data member initializers, uniform initialization, ‘using’ aliases, and other features.

      For more information, see the C++ Conformance Roadmap on Soma’s blog (http://blogs.msdn.com/b/somasegar/archive/2013/06/28/cpp-conformance-roadmap.aspx) , and learn about the Future of C++ from Herb Sutter (http://channel9.msdn.com/Events/Build/2013/2-306).

      Finally, this table summarizes conformance by feature, http://msdn.microsoft.com/en-us/library/hh567368.aspx.

      Thanks,
      Visual C++ Team (ebattali@Microsoft.com)

    • Improve MFC

      Like many developers we maintain and develop an extremely large enterprise MFC application. All in all about 1.5 million lines. Asides from the addition of ribbons and a few extra controls we have had very little improvements in how we can work with MFC or native Win32 apps (in fact, the speed has gone down and classwizard seems to have gone from bad to worse to gone). Can you consider:

      1. Improving the Dialog editor so that we can lay out dialogs with guides and the extra alignment options that are standard with C# - automatically spacing items correctly and…

      1,997 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…)
        14 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
      • Multithreaded C/C++ linker

        We build more than 600 C++ projects. We invested a lot into breaking them into parallel build-able blocks but any HW upgrade give us almost nothing in the end as the linking process is utilizing only one CPU :(

        1,100 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…)
          7 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →

          The linker itself is not a CPU bound problem it has traditionally been an I/O bound problem. So just adding cores is not going to help. Having said that we understand that what you are looking for is a faster linker.

          We are currently parallelizing two major phases of the link process. Merging of debug information is perhaps the single most time consuming tasks when it comes to non-whole program optimized builds and we will merge this with the symbol resolution phase of the linker. This should result in better parallelism and improved linker throughput overall.

          Hope that helps.

        • Provide refactoring for C++

          Currently there is almost no refactoring support for C++. Even basic refactoring like renaming is missing.

          843 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…)
            14 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
          • Switch to Clang

            Why?

            Because it compiles code faster on large code bases.
            Because it is more C++11 compliant.
            Because it will be updated with fixes in a timely manner.
            Because it will require less of your maintenance.
            Because you can contribute back to it to make it even better.
            Because you can build tools out of it like Intellisense, static analysis, etc.
            Because MSFT can focus on Visual Studio UI and other elements that make it a nice IDE.
            Because this is what C++ developers would prefer (non-biased opinion here :P ).
            Because code portability is important in this platform diverse world.

            226 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
            • 212 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…)
                15 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
              • Stop treating workarounds as a legitimate alternative to standards compliance

                Particularly in the world of C++, where the delta between what the compiler accepts and what the standard says is quite large, it is common for people to report bugs against the compiler.

                Often, however, these are met with refusals to fix the compiler, and claims that there are workarounds.

                I would love you to change this policy.

                Yes, sometimes there is a zero cost workaround to a particular flaw. But that's not a reason to not fix the bug. I write code that I wish to compile in g++, VC++, and sometimes even clang++. Being forced to avoid standard…

                188 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                • ISO C++ wrappers for WinRT

                  Now that WinRT has been unveiled, a lot of people have criticized the C++/CLI-like quasi-C++ that is the recommended way to interface with the API. And honestly, it looks reasonably nice. If we're willing to give up all hopes of using another compiler than VC11, and don't mind non-standard code in our C++ application, it seem a nice way to interface with WinRT.

                  But how about an alternative?

                  How about offering a "best effort" library-only ISO C++ wrapper to make WinRT usage as simple as possible without relying on library extensions? It doesn't have to be as clean and pretty…

                  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…)
                    2 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
                  • assembler

                    Make inline asm in x64-bit projects.

                    133 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                    • 127 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                      • Decouple C++ compiler releases from Visual Studio releases

                        In VS2010 and subsequently in VS2010sp1, many features of C++11 was implemented. But it is still far from covering the full spec. And we can assume that the full spec will not be available even in VS2011(or v.next). Because, MS is polling developers for prioritizing certain features of C++11. May it will take some time to have a fully supported C++11 with VS. And that is true for almost all the C++ implementations. And probably, the C++ compiler supplied with VS v.next will not be usable with VS2010.

                        We can see, C++ compiler releases(full version or service packs) are coupled…

                        113 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                        • C++ compiler should warn about wrong member initialization order

                          Every few years this suggestion emerges and I think now is the time for next iteration.
                          In C++ the order of class/struct member initialization is determined by the order of member declaration and not by the order of their appearance in member initialization list. It is therefore extremely easy to to write a code that is very hard to find, e.g.:

                          struct S {
                          int a;
                          int b;

                          S( int i ) : b(i), a(b+1) {}
                          };

                          int main()
                          {
                          S s(42);
                          }

                          and we have garbage in s.a what might be not obvious for a novice programmer.
                          GCC issues…

                          112 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                          • make header include refactoring possible

                            Would be great to have a tool which will automatically remove unused headers. I a big projects (more than 1^6 LOC ) this becomes really both code and compile-time issue over the time.

                            Another idea is to move from precompiled header those header files which are used only once and move those used more than once into precompiled header. Ideally those thresholds are configurable.

                            110 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                            • Allow precompiled headers to be shared between projects

                              In Visual Studio 2008 and earlier, I believe you could (by an unsupported method) allow one project to generate a precompiled header which other projects could then use. But I understand this is not possible, or only works in limited ways in VS 2010 and later.

                              Please add official support for allowing a precompiled header to be shared between projects.

                              As a nice to have it would also be ideal if more than one precompiled header could be used by a project so that both a shared and project specific precompiled header could be used.

                              See also:

                              http://social.msdn.microsoft.com/Forums/vstudio/en-US/665d4183-f85c-481d-bada-03283b310099/shared-precompiled-header?forum=vclanguage

                              http://stackoverflow.com/questions/14048212/can-i-share-a-precompiled-header-between-projects-to-reduce-compile-time

                              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…)
                                3 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
                              • Support c++11 concurrency header files in c++/cli

                                When using the /clr switch in VC++ 2012, it is not possible to include some of the new c++11 header files (i.e. <atomic> / <thread>) as compilation will break.

                                One typical application of c++/cli is to wrap a native class inside a (managed) ref class to expose its functionality to the .net world.

                                The restriction previously described prevents a ref calss to consume a native class with members like std::thread or std::atomic<T>.

                                A workarround (pimpl-idiom) is discussed in this topic:
                                (http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/9771f61c-05b7-4e3e-96fb-ac9ea31ac3f4)

                                The former approach requires to change existing code, therefore support for the new c++11 header files in…

                                92 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                • Continue support for MBCS (Multi-Byte Character Sets) for MFC and C++

                                  After VS2013 the MBCS variants of the standard library and MFC are declared deprecated. Conversion to Unicode will cost our company litteraly thousands of productive hours (over 3 million source code lines to convert). So this deprecation is a bad idea. Please continue the support of these variants of C++ projects, and continue the support of MBCS in MFC!

                                  82 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Automatic build numbering for c/c++ projects

                                    It would be nice to have a feature for automatic build numbering of projects (C/C++) that use *.rc file for file numbering. Currently you need to do it manually by yourself or you need to use pre-build event and call some custom batch script. I think the second option is the most used by many projects. But i believe it would be very helpful to have some kind of standard way for this task in the Visual Studio.

                                    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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Add "decimal" support to the standard C++ library

                                      Among the most challenging problems in a financial system is dealing with numeric precision.

                                      Take this example for instance (using the double data type in C++):
                                      We have a number 4.3599999999999994 which we withdraw the same negative number from (4.3599999999999977), we would then end up with the number 1.7763568394002505e-015. Hence, if we were testing if the number added up to 0, we would get "False", or "True" if we were testing if the number was greater than "0".

                                      This could easily get the system into an unwanted "IF" statement,
                                      and tracking down these unwanted "IF" statements can be difficult.

                                      Since…

                                      70 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Nested namespace declarations

                                        I suggest to extend syntax of nested namespace declarations and provide alternative way similar to one implemented in C#:

                                        namespace Outer::Inner // declares nested namespace
                                        {
                                        struct Foo
                                        {
                                        };
                                        }

                                        Outer::Inner::Foo foo;

                                        That would be useful for codebases with high usage of nested namespaces especially with level of depth 3 or more.

                                        63 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Enhance visual studio native unit test framewoek

                                          I really think an out of the box unit test framwork C++ with visual studio is a great idea. The fact that the test framework integration allows other "providers" to run unit tests is another leap forward.

                                          However I have some concerns regarding the actual syntax of the native tests. In particular I thought the Assert class's AreEqual() and associated members were a little bit too simplistic.

                                          Other more mature frameworks (boost, google test, etc) supply a rich set of Assert functions/macros.

                                          I would really like to see MS add some more thought to the Assert class implementation, adding LessThan,…

                                          62 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            3 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 11 12
                                          • Don't see your idea?

                                          Feedback and Knowledge Base