Visual Studio IDE

Announcement: This forum has been migrated to provide our customers one convenient and responsive system for all feedback. You can now suggest new ideas, browse and vote on existing ideas in the Visual Studio Developer Community. To learn more about the migration to Visual Studio Developer Community please check out the release blog post.

We’d like your suggestions and ideas to help us continuously improve future releases of Visual Studio, so we’ve partnered with UserVoice, a third-party service, to collect your feedback. Please do not send any novel or patentable ideas, copyrighted materials, samples or demos for which you do not want to grant a license to Microsoft.

This site is for feature suggestions; if you need to file a bug, you can visit our Developer Community website to get started.

Note: your use of the portal and your submission is subject to the UserVoice Terms of Service & Privacy Policy and license terms.

We look forward to hearing from you!
- The 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 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 "?." operator to C#

    Add the "?." operator to C# and make it chainable like CoffeeScript so we don't have to write null reference checks for every nested property. An example would be:
    myObject?.Items?.[0]?.DoSomething()

    5,426 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      186 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
    • C# and SIMD

      It would be great if C# compiler and .Net JIT compiler could utilize SIMD instructions of current and future processors. The projects that require heavy calculations (MathDotNet.Numerics for example) would greatly benefit from this feature.

      2,114 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        49 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      • I wish catch multiple exceptions in the same catch

        For example:

        try
        {
        // smth}
        catch (RemoteException, NamingException , CreateException e)
        {
        // smth
        }

        1,628 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          54 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →

          I’m going to mark this as completed. Even though the feature we ended up implementing didn’t do exactly as requested here.

          Instead we added exception filters to C# in the CTP of Visual Studio “14”. They provide an easy solution for this scenario, and addresses the core issue raised by many, namely what is the type of e.

          For this scenario you’d use it like this:

          try { … }
          catch(Exception e) if (e is RemoteException || e is NamingException || e is CreateException)
          {

          }

          You can find links to the CTP and more info about the upcoming C# language features at this CodePlex post:
          https://roslyn.codeplex.com/discussions/552378

          Thanks for the great ideas and discussion!

          Mads Torgersen [MSFT]
          C# Language PM

        • Allow "default" values on automatic properties

          When using auto-properties, I should be able to set a default value without having to create a constructor, like I can with a field:

          Something like:
          public bool IsActive = true { get; private set; }

          1,326 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            69 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →

            We’ve now added initializers to auto-properties, which addresses this scenario. Additionally we are allowing getter-only auto-properties.

            These additions can be tried out in the CTP of Visual Studio “14”. For links to that, and details about the new C# language features, please check out this CodePlex post:
            https://roslyn.codeplex.com/discussions/552378

            Thanks for the great feedback!

            Mads Torgersen [MSFT]
            C# Language PM

          • String interpolations in C#

            Enable string interpolations in C#.

            The interpolation should happen during compile time, so there are no performance penalties paid during runtime.

            The Boo implemenation is a good place to start:
            http://boo.codehaus.org/String+Interpolation

            These should work:

            var a = "Now is $(DateTime.Now)."
            var b = "Tomorrow will be $(DateTime.Now.AddDays(1))"
            var c = "This list has $(list.Count()) items."

            817 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              47 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
            • Add nameof operator in C#

              Add a nameof operator in C# like typeof operator.
              Syntax:
              nameof(<TypeName>),
              nameof(<TypeName>.<MemberName>)

              It is really required for maintenance as refactoring enabler.

              It is wished for notify property change.
              I have heard about the CallerInfo attributes BUT here is the key example that show that only a nameof operator will solve all the needs:

              We need it in order to fill attributes:
              [GlobalizedDescription(typeof(CommonResources), nameof(CommonResources.MyProperty)]

              MEF property or method contracts are also obvious example

              266 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                14 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →

                In the latest CTP of Visual Studio “14” we have added the nameof(…) operator to the language.

                It is indeed great for INotifyPropertyChanged, but also for ArgumentNullExceptions and various reflection scenarios.

                Find links to the CTP and more details about the new C# language features on CodePlex:
                https://roslyn.codeplex.com/discussions/552378

                Thanks for the great input!

                Mads Torgersen [MSFT]
                C# Language PM

              • Compilation responsivness and enhancement

                C# and VB.NET compilers are blazingly fast! However, on RebuildAll scenarios, the user experience could be (easily) enhanced if:

                1) The progress bar would show accurately the RebuildAll progression.

                2) If before compilation, VS could warn/break if one or several target DLLs WndHandle are currently hold by some processes, and which process hold which handle (the process explorer way)

                3) RebuildAll doesn't try to recompile DLLs relying on DLLs that didn't compile successfully.

                172 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  completed  ·  2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                • Compile c# to native code directly, not to IL code.

                  C# is a very beautiful language. But ,net framework is a very very slow framework, need to many memory.
                  So please Compile c# to native code directly, not to IL code. base on winrt and win32 directly.

                  53 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    7 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                  • 15 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →

                      The Visual Studio 2017 Build Tools (version 15.7) include the Static Analysis tools and the legacy FxCop. However, we recommend that you use the .NET Compiler Platform (“Roslyn”) Analyzers, version 2.6.0 or later, which are available here: https://github.com/dotnet/roslyn-analyzers#recommended-version-of-analyzer-packages. You can find more information on using the Analyzers here: https://docs.microsoft.com/en-us/visualstudio/code-quality/roslyn-analyzers-overview.

                      — The Visual Studio Team

                    • Make Roslyn scripting able to import files (like #load)

                      Make it possible to load a script file from another scipt file, and be able to call the functions in the loaded script. Just like #load does in the interactive window. http://stackoverflow.com/questions/13556859/how-to-load-referenced-script-libraries-from-a-roslyn-script-file

                      12 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                      • discard the terrible slow .net framework, let c# compile to a native code vm, just like vb6, best let c# run on vb6 runtime.

                        .net framework is terrible slow. microsoft's product like dynamic crm is terrible slow and eat terrible memory! visual studio is terrible slow and eat terrible memory! just because .net framework is very bad..net framework can't Compatibility to each version and cant't cross-platform, so .net framework is a joke. .net framework will kill microsoft.
                        So please dicard .netframewok and goto native code framework, just like vb6.
                        the best choice is bring back vb6, and let c# run on vb6 runtime directly.
                        thanks!

                        9 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          8 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                        • Automation using coded ui test against Silverlight using VS 2013. where i get an updated plugin for VS 2013?

                          Automation using coded ui test against Silverlight using VS 2013. where i get an updated plugin for VS 2013?

                          1 vote
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →

                          Feedback and Knowledge Base