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

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

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

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

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

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

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

                Make inline asm in x64-bit projects.

                176 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 →
                • 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!

                  162 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…)
                    18 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.

                    161 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 me to link Visual C++ filters to specific directories

                      Please give me a way to associate a directory for a given filter (ie folder) in VC++. The directory would be used as the default when I click on a filter and run the Add New wizard. This would help greatly on larger projects with elaborate directory structures.

                      Here is an example of how the current setup is maddening. Imagine I am working on something that has a directory structure like this

                      \Foo
                      \build
                      \msvc << VC++ files here
                      \brandX << build/make files for your competition
                      \include
                      \Algorithms
                      sort.h
                      \Collections
                      vector.h
                      \src
                      \Algorithms
                      sort.cpp
                      \Collections
                      vector.cpp

                      I can create Filters…

                      147 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        5 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
                      • Support XAML+Native Code for desktop applications

                        Metro app developers got the gift of the ability to combine XAML with native code. Desktop developers (well, at least me) have wanted this for years and probably didn't ask because we figured there was no chance. Now developers of these little toy apps get this ability! This is a travesty. Desktop application developers need a modern framework (MFC is older than the internet, WPF is dead), and it should be native code (.NET is too slow). So please port the ability to use XAML and native code together over to the Win32 development platform.

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

                          98 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 a compiler warning for C-style casts in C++

                            Would it be possible to add a new compiler warning that informs the user when a C-style cast has been used in either native or managed C++?

                            Although I'm not too concerned with the casting of basic data types (such as float fValue = (float)nValue;) C-style casting of class pointers that may fall through to a reinterpret_cast<T> are particularly dangerous and also difficult to find in existing source code. A compiler warning would help developers identify such instances without resorting to regex searches across files. Generally speaking if something falls through to a reinterpret cast then it has probably gone…

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

                              87 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 - C++  ·  Flag idea as inappropriate…  ·  Admin →
                              • Make C/C++ compiler (cl.exe) independent of IDE

                                Consider a node.js developer, who builds native addon module using node-gyp in C++.

                                Node-gyp require MSVCR to compiler the project on Windows. If I am using sublime for my JS and C++ development, I would like to only take C++ compiler and libraries instead of installing plethora of stuff that I don't require.

                                Original concern was posed here: http://stackoverflow.com/q/26959640/.

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

                                  84 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    7 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Support 'Committed by pressing the space bar' in C++ intelliSense

                                    I think it's great that the new beta includes a Completion list for intellisense, and makes it infinitely more usable. However for some bizarre reason it is missing the 'Committed by pressing the space bar' option, which is sorely missed by those of us who have been spoilt by the excellent C# intelliSense.

                                    It seems such a tiny feature to add, but would be warmly welcomed!

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

                                      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…)
                                        4 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                      • One-button switch between header and implementation file. There is already a

                                        One-button switch between header and implementation file. There is already a "go to header", but strangely the opposite operation is missing. Both operations should be possible and they should be accessible via a single button click as a toggle.

                                        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…)
                                          6 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Support __int128 on 64-bit platform

                                          When multiplying two __int64 numbers, the 64-bit cpu provides a 128-bit result but the compiler provides no mean to access the higher part.

                                          67 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 →
                                          ← Previous 1 3 4 5 16 17
                                          • Don't see your idea?

                                          Feedback and Knowledge Base