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. Add Visualizers which allow us to visualize list & dictionary data while debugging

    Like Datatable in .Net Framework allows us to view data in the datatable, it should allow to view list data like datatable.

    http://rapiddevbookcode.codeplex.com/releases/view/51056

    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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
    • Support protocols in addition to interfaces

      Currently we have interfaces, which are the only way to port code around and reuse it. However, I'd like to see something more like what Go has, where any object which, at compile time, can be verified to support all methods/properties required by the target protocol, the assignment will be allowed. This would be enable much more composable and expressive usage of anonymous types, in particular. Consider:

      public protocol Prot
      {
      int Func1(int x, int y);
      string Func2();
      string Prop;
      }

      and then these methods (could be in different classes):

      void DoSomething(Prot p) { ... }
      string SomeString() { ...…

      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…)
        3 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      • 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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
        • Property tempate feature [More reusability, readability, DRY principle. Reduce redundant code. Solve default value issue]

          I suggest a feature that help us to create similar propeties.
          We frequently create properies something similar like this.

          public String NVarCharColumn
          {
          get
          {
          return _NVarCharColumn;
          }
          set
          {
          if (Object.Equals(value, _NVarCharColumn)) return;
          _NVarCharColumn = value;
          this.OnPropertyChanged();
          }
          }

          I suggest property template feature in C#6.0.
          We can declare property template like this.

          public property T MyObservableProperty
          {
          get
          {
          return field;
          }
          set
          {
          if (Object.Equals(value, field)) return;
          field = value;
          this.OnPropertyChanged();
          }
          void OnPropertyChanged();
          }

          field is a keyword that means private field that will be generated automatically by compiler.
          T means a type that is used…

          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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
          • let C# type inference downcast to a 'common supertype'

            interface A
            class B : A
            class C : A

            A a = condition ? new B() : new C();

            Compiler fails because it tries to cast B to C (or was it vice versa?).
            Daft workarounds: either cast one (or both) of the instances to A, or use an 'if' statement instead of the ternary operator.

            The two types B and C have a clear 'smallest common supertype' A. So come on MS, how hard can it be to determine the intersection of the class hierarchy of the 'then' and the 'else' branch? Look at the source code of…

            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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
            • Add new C# statement for case-insensitive "switch()"

              I've previously posted this on Connect - https://connect.microsoft.com/VisualStudio/feedback/details/566079/add-new-c-statement-for-case-insensitive-switch

              The C# 'switch' statement does not allow for performing any kind of case-insensitive comparison for 'case' values.

              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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
              • Add class methods/properties/fields to C#

                The way static methods/properties are implemented in C# has a number of severe limitations. As they are not associated with the type itself, they cannot be virtual or abstract, and thus cannot be overridden, or inherited in the normal sense. This makes it much ****** to abstract some piece of type-specific functionality into a base type that the children can then provide their implementations of.

                Eric Lippert gives a brief description of the feature here:
                http://blogs.msdn.com/b/ericlippert/archive/2007/06/14/calling-static-methods-on-type-parameters-is-illegal-part-one.aspx

                Example of feature (based on a real-world scenario):
                public abstract class Definition<T> where T : Definition
                {
                public abstract static T GetDefinition();
                }

                public…

                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…)
                  2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                • Variant of switch that throws exception if nothing matches

                  I get sick of writing

                  default:
                  throw new ApplicationException(value.ToString());

                  at the bottom of every switch statement where I know a match should occur, but want to stop the compiler complaining about unitialised variables. I suggest something like:

                  switch checked (value) {
                  ...
                  }

                  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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                  • async call syntax for Begin... / End....

                    IAsyncResult ar = async (int n = Receive(buffer))
                    {
                    Console.WriteLine("Inside the callback after EndReceive");
                    }
                    Console.WriteLine("BeginReceive= {0}, but callback not called yet", ar);

                    Like get_Property, put_Property, or Item property.
                    Like try {} finally {x.Dispose();} was converted to using {}

                    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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                    • 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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                      • Add tail call elimination to the C# compiler

                        Sometimes algorithms can be expressed far more elegantly in a tail-recursive form. The problem with that is the memory footprint, and possibly overflowing the stack. Though the 64bit JIT'er may sometimes decide to optimise the tail call, there are no guarantees, leaving you with no choice than to re-write the algorithm, avoiding tail calls. Having the compiler eliminate tail calls would let developers express algorithms in different ways, which may be more suited for the problem, while also helping developers who are not aware that their tail recursive algorithms may be problematic.

                        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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                        • Cancel Build Proccess

                          Cancel Build - I accidently select build, then immediately realize I forgot something

                          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…)
                            2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                          • Support chat rooms that allow for immediate discussion and are newb friendly

                            While learning ASP.Net MVC 4 and C# I sometimes either get stuck on a topic or have further questions. Often times I have to quit studying for a day just to wait for an answer on something that I'm stuck on which is completely unrealistic and unproductive.

                            My first impulse is to go to the freenode IRC channels for ##csharp or ##asp.net but usually the channel is dead (especially in the evening) or no one cares about my newb questions (it even states "no spoonfeeding" upon entering). Sometimes there isn't even anyone there that knows MVC. IRC used to be…

                            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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                            • Make inline if(?) without else

                              As you know many of developers use inline if, and there are many cases when really we need only one case. For example we write
                              textBlock1.Text = textBlock1.Text.Lenght > 20 ? textBlock1.Text.Substring(0,20) : textBlock1.Text;
                              But, we can simply write
                              textBlock1.Text = textBlock1.Text.Lenght > 20 ? textBlock1.Text.Substring(0,20);

                              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…)
                                1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                              • Support field-targeted attributes on auto-properties

                                I would like to see C# support using field-targeted attributes on auto-properties where the compiler applies said attribute to the generated backing field. This functionality has precedent in that the compiler already behaves like this for such attributes applied towards events:

                                // This works in all versions of C#
                                [field: NonSerialized]
                                public event EventHandler SomeEvent;

                                // This will not compile
                                [field: NonSerialized]
                                public string SomeProperty { get; set; }

                                // This seems unnecessary
                                [NonSerialized]
                                private string _someOtherProperty;
                                public string SomeOtherProperty {
                                get { return _someOtherProperty; }
                                set { _someOtherProperty = value; }
                                }

                                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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                • Make LINQ query syntax as expressive as extension method syntax

                                  LINQ query syntax lacks a lot of features that exist in extension method syntax, such as .Single(), .First(), .Distinct(), .Average(), ...

                                  I.e.:

                                  var col =
                                  from cust in customers
                                  where cust.ID == 5
                                  select first cust;

                                  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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Easier Immutable Classes (case classes)

                                    I often find myself writing immutable business objects (objects with no logic, only data). For example, EventArgs and Exception classes. Here is one I wrote today:

                                    public class SelectedMazeChangedArgs : EventArgs
                                    {
                                    public Maze PreviousMaze { get; private set; }
                                    public Maze SelectedMaze { get; private set; }
                                    public SelectedMazeChangedArgs(Maze previousMaze, Maze selectedMaze)
                                    {
                                    PreviousMaze = previousMaze;
                                    SelectedMaze = selectedMaze;
                                    }
                                    }

                                    This is what that same class would look like in Scala:

                                    case class SelectedMazeChangedArgs(Maze PreviousMaze, Maze SelectedMaze) extends EventArgs

                                    As a bonus, Scala also automatically overrides .equals() and .hashCode() for you.

                                    When you write a lot of EventArgs…

                                    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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Create a 'DisableDefaultMouseOverEffect' Property for WPF Buttons

                                      Search Google or Bing for: "WPF Disable Default Button Mouseover Effect" and there hundreds of posts about how to disable the default mouse over effect.

                                      Everyone of the answers involve creating custom templates, overriding styles and lots of work, to do what should be optional.

                                      Collectively I would bet the WPF developers have wasted over 100,000 hours on this problem alone.

                                      I do not prefer WPF, but if I have to use it, please make it a productive experience.

                                      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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Integrate PHP language with PDO extension for MySQL.

                                        There should be ability to use the online powerful PHP functions inside any C# application, as PHP is nowadays is very advanced and reliable language for online processes (server side)... and let other functions (C# functions) to care about the offline properties (local side)...
                                        PHP Check for files online, get values, also in logging in/out for online applications, and sure the most important point in integrating PHP language inside C# applications is to have PDO extension to connect to the online MySQL databases and function with them.

                                        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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Screenshot function support for Windows Phone in ACTUAL device

                                          Why Windows Phone only support screenshot funtion in emulator only?? That's really odd. When user wants to report a bugs to developer and wanna show actual screen shot, do they have to being a camera and take actual photo?? It would be really good when they have a screen shot function, so when user has noticed there is bugs, make them report to developers directly via outlook app in windows phone

                                          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…)
                                            1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                          1 2 9 11 13 33 34
                                          • Don't see your idea?

                                          Feedback and Knowledge Base