Visual Studio 2015

Welcome to the Visual Studio 2015 UserVoice site. This site is for suggestions and ideas for the IDE of Visual Studio (Community, Professional or Enterprise). You can also add suggestions for Team Services or Visual Studio Code. Or go to Connect to file a bug.

We also added an Announcements section where we will be posting special opportunities for you to participate in.

Read about current UserVoice statuses and their definitions in our article “What Does the Status of My Feedback Mean?” article.

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. It would be nice to have a build-in operator for exponents.

    Exponents are very common in scientific environments. I think Pow() function is not enou, and it is not implemented for integer types.

    10 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 "None" and "One" quantifiers to LINQ

      LINQ already provides the quantifiers All and Any for universal and existential quantification. To complement these it would be useful to have the quantifiers "None" and "One". "None" would be equivalent to !Any but it is more easily expressed using "None" imo. "One" would provide uniqueness quantification - return true if exactly one element satisfies the predicate.

      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…)
        1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      • Do not indent #region with code

        In C# the #region's follow the code in indentation. I think this is wrong, as they are not a part of the code, and should stay aside - just like they do it in Visual Basic.
        I find the C# #region's too obtrusive. Please, change the behaviour, so they are left-aligned in the editor window, both when folded and unfolded.

        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…)
          1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
        • Implement WPF/Silverlight Control Template extraction

          Expression Blend has a great feature that allows users to extract the template of a control (Edit Template -> Edit Copy) and conveniently stores it into a Resource Dictionary. Having this feature in VS would be great, because blend maybe nice, but isn't as responsive as VS.

          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…)
            2 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
          • Using 'new' without the type name to call constructors

            Similarly how the 'var' keyword makes it simpler to declare an object in C#, the 'new' keyword could also imply the type/constructor to be used to initialize an object.

            For example, instead of writing:
            Dictionary<string, List<Tuple<int, int>>> data = new Dictionary<string, List<Tuple<int, int>>>();

            one could write simply:
            Dictionary<string, List<Tuple<int, int>>> data = new();

            The compiler would be able to match constructor overloads as well, so potentially you could write:
            StringBuilder data = new("test data", 1000);

            which would automatically call the StringBuilder(string value, int capacity) constructor.

            This feature might be useful in list initializers too, e.g.:
            List<StringBuilder> builders = new()
            { …

            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 →
            • Add type testing as preprocessor directive

              Currently I have to instruct people to un-comment a #define directive if they also have another set of files in their project. This should be automatic.
              As discussed here: http://stackoverflow.com/questions/7656001/detecting-if-a-class-type-is-defined-prior-to-compiling

              For example:
              #ifType SomeType
              SomeType.DoSomething();
              #else
              DefaultWay.DoSomething();

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

                  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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                  • Debug Watches work for variables across closures and auto-enumerators

                    C# yield return and await keywords cause a lot of magic in the compiler, that defeats most useful debugging in that variables that appear in source code to be local variables in the method are not available (no doubt because they're not actually in the current stack frame due to all the compiler-generated types. Nevertheless, it makes debugging difficult.

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

                      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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                      • In ModelMetada class in mvc2, if property is returning IEnumerable then there is no need to check for null.

                        public virtual IEnumerable<ModelMetadata> Properties {
                        get {
                        if (_properties == null) {
                        _properties = Provider.GetMetadataForProperties(Model, RealModelType);
                        }
                        return _properties;
                        }
                        }

                        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…)
                          1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                        • let enumeration types generated from C# code implement IEquatable<> and IComaprable<>

                          When you create an enum in C# (with code like public enum FooBar { Alpha, Beta, Gamma, }), the resulting type does not implement the generic interfaces IEquatable<FooBar> or IComparable<FooBar>. Why not?

                          If this was changed, enums could be used as parameters of the above types, or in constructing generic types where type parameters are constrained to be IEquatable<T>, and so on.

                          (Enums already implement the non-generic IComparable through the non-generic base class System.Enum.)

                          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…)
                            1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                          • Enum Type Inference

                            Allow skipping the enum type qualifier when it can be inferred.

                            Example:

                            enum SelectKind
                            {
                            All,
                            Single
                            None,
                            }

                            public void Select(SelectKind kind)
                            {
                            switch(kind) {
                            All: ....
                            Single: ....
                            }
                            }

                            Select(All);

                            And privide an 'SelectKind.All and All is ambiguous' if there's some other symbol called All.

                            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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                            • Unable to copy file "obj\x86\Debug\*.exe" to "bin\Debug\*.exe". The process cannot access the file 'bin\Debug\*.exe' because it is being use

                              i am using Microsoft Visual Studio 2010 Professional (Evaluation version), whenever i build my project, i am facing this error "Unable to copy file "obj\x86\Debug\*.exe" to "bin\Debug\*.exe". The process cannot access the file 'bin\Debug\*.exe' because it is being used by another process."

                              After seeing this error, i used to close Visual Studio & check for processes in Task Manager (by pressing ctrl+alt+delete), and close process indicating myprojectname.exe, then open Visual Studio and build my project again, it shows 'Build succeeded' and .exe file executes. But, after 2-3 time execution of .exe file, i see the same error and it shows…

                              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…)
                                5 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                              • C# Feature Request: "Key" Fields in Anonymous Types

                                In VB.NET I'm used to doing things like this when creating anonymous types:

                                Dim prod1 = New With {
                                Key .Name = "paperclips",
                                Key .Price = 1.29,
                                .OnHand = 423
                                }

                                It would be useful for this feature to exist in C#.

                                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  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                • Second syntax of the switch statement

                                  double mydouble, dblA, dblFrom, dblTo;
                                  <code>
                                  switch(mydouble)
                                  {
                                  ....case(dblA, dblFrom .. dblTo)
                                  ....{
                                  ........Console.WriteLine("variable or variable range");
                                  ....}
                                  ....case(5.7 >< 8.3)
                                  ....{
                                  ........Console.WriteLine("between");
                                  ....}
                                  ....default
                                  ....{
                                  ........Console.WriteLine("default");
                                  ....}
                                  }

                                  - there is no fall through of course but there are branches
                                  - each branch of a block{} or a single statement (like the if)
                                  - variables can be used (not only constants)
                                  - range and between operators can be used (frequent testing)
                                  - comfortable, comma-separated expression lists for the cases
                                  - the new syntax fits into the C# style (see try-catch, if)
                                  - do not need new C# keyword
                                  -…

                                  7 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 →
                                  • Add c++ const/mutable equivalent like in C++ into .NET

                                    1)
                                    When develop common libraries it is hard to protect data from 3rd side modifications.
                                    It is require deep copy what sometimes not acceptable (due to performance or memory issues),
                                    In native C++ was really cool thing: const/mutable modifiers for classes, functions and function parameters.
                                    It should be really nice if it will be added into one of next version of C#.

                                    2)
                                    Sometimes it is cool to mark some variable as final (to notice that it shall not be modified in rest of a function.
                                    In C++ was great thing const for variables in methods.
                                    It is also highly…

                                    7 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 converting lambda statements to expression trees

                                      Expression<Func<I,I, bool>> func = x,y => x == y is supported

                                      Expression<Func<I,I,bool>> func (x,y) => { return x ==y;} is not, with error "A lambda expression with a statement body cannot be converted to an expression tree".

                                      Although the example is trivial, the use cases this error prevents are not. For instance, I can use expressions to associate validation with a property. Under the current restrictions, this validation cannot be complex, or must be expressible as a LINQ query.

                                      In my system, the following syntax works:

                                      Configure.Property<User>(x => x.Username).WithValidation(x => x.UserName != "");

                                      I'd like to be able to do…

                                      7 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 const keyword to method/parameter signatures in C# (Similar to C++?)

                                        Add support for a const keyword that can be applied to method parameters,

                                        e.g. public void MyMethod(const MyClassA myInstance);

                                        It would prevent any state changes to MyClassA and any instances referenced by MyClassA for the life time of the method invocation.

                                        This would inform clients at compile time whether a method is likely to be corrupted or changed.

                                        I believe this is similar to how the const keyword behaves in C++?

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

                                          7 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 →
                                          1 2 8 10 12 27 28
                                          • Don't see your idea?

                                          Feedback and Knowledge Base