Visual Studio IDE

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, you can visit our Developer Community website to get started. 

NOTE: The Applications Insights forum has moved to the Azure feedback site.

For suggestions for improvements to other developer products, see these sites:

To review the current UserVoice statuses and their definitions, please review our “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. aiiiiiiudaaaaaaaa!!!!

    llamen a la polisiA!!

    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 →
    • Add the ability to convert the use of "var" to the expanded declaration:

      Add the ability to convert the use of "var" to the expanded declaration:

      var i = 5;

      hovering over i, intellisense tells us this is an int. Please add the ability to convert the "var" to it's expanded declared type (i.e int in this example).

      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 →
      • Automatic string null coallesce with if

        Rather than

        if (str != null) { ... }

        simply:

        if (str) { ... }

        Like C++

        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 →
        • Add the "isnt" keyword

          Simple suggestion, please add a new keyword: "isnt"

          This would make code clearer and more readable. So rather than

          if (!(myObject is ClassType)) { ... }

          you would write

          if (myObject isnt ClassType) { ... }

          Looks clearer and provides a positive match rather than a negative match.

          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 →
          • LINQ to SQL: Error Reporting Via Generated SQL With 0 = 1 Clause

            LINQ to SQL error reporting is currently implemented by generating random SQL with a clause 0 = 1 (usually in a WHERE statement.)
            My understanding is this typically happens when there's an out of sync between the definition of a class in LINQ vs the actual entity in SQL.

            I believe Microsoft's intentions were to return no results in this case, but the following issues arise by this implementation:

            1) This is unintuitive to the developer, since generally no actual error occurs, just a change in the results being returned. The change in results being returned, could coincidentally be the…

            3 votes
            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 →
            • Allow trailing commas in method calls, same as in initializers

              For instance, I can say

              var foo = new Foo { Prop1="hello", Prop2="world, }

              but I can't say

              foo.DoStuff(arg1: "hello", arg2: "world",);

              I'd like to be able to do that since it makes it easier to maintain the code when I'm adding and removing arguments.

              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 →
              • Ternary for a method call and not only for a return value

                I would like to see this idea imlplemented if possilbe, as I actually typed it in twice so far thinking it would work but I found that it is wrong.

                Currently, ternary returns a value that should be captured by a variable.

                var x = y? z1 : z2;

                What I would like to do is

                y? Z1() : Z2();

                instead of

                if (y)
                {
                Z1();
                }
                else
                {
                Z2();
                }

                Or maybe even

                y? return z1 : return z2;

                3 votes
                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 →
                • Implement community language ideas more quickly - or open-source C#

                  You cannot seriously ignore top ideas for a decade - but that is what is happening.

                  Is it any wonder C# is beginning to slip down the rankings of top languages?

                  It's a wonderful language, but it's being suffocated with bureaucratic controls. Other languages are marching ahead.

                  Set it free, or lose it.

                  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 →
                  • Remove unnecessary references

                    it would be interesting to remove unnecessary references automatically

                    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 →
                    • Make it possible to return a class and not only instances

                      [This might be a Dotnet issue and not a C# one.]

                      A property or method can only return instances.
                      If it could return a Class we would be able to mock static stuff.

                      Below I am using System.Class, a class most famous for System.Class.WriteLine.

                      If we could declare

                      private Func<System.Class> C => System.Class;

                      we would be able to

                      C.WriteLine("Hello world!");

                      We cold then inject a new value for `C` and not be hindered by static in automatic tests.

                      3 votes
                      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 →
                      • C# Interactive Debug Support

                        Hope to get debugging support in C# Interactive. One of the PMs mentioned it was on the map a few releases back, but have not seen any updates lately.

                        3 votes
                        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 →
                        • C# Interactive NuGet Support

                          Would be nice to get the NuGet package support added in C# Interactive. Heard there was work going on for F#.

                          3 votes
                          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 →
                          • Add option to disable highlighting of syntax errors

                            In C# in VS 2015, there is no option to completely turn off highlighting of syntax errors. I suggest adding one.
                            (Having syntax highlighting becomes particularly annoying when writing a section of code that is heavily concerned with program logic; having the red sqiggles yelling at you is very annoying when you're trying to think carefully about how something has to be done.)

                            3 votes
                            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 →
                            • Update C# language with an 'IN' function similar to SQL

                              We have many situations where a variable needs to be checked against multiple possibilities but where a switch statement is inappropriate. Example:
                              if( (x == 0 || x == 5) && ( y == 0 || y == 1 || y == 2) )
                              {
                              }
                              If would be awesome to be able to say:
                              if(x IN (0,5) && y IN (0,1,2) )
                              {
                              }
                              especially useful if we need to come back and add more possibilities later on and still have readable code.

                              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 →
                              • In a textbox ability to move cursor to first line visible in a scrolled multi line textbox

                                When reloading data to the text box that has been search and replaced, I want the new data to be presented back in the textbox at the same position. textBox1.GetFirstCharIndexOfCurrentLine(); only gets the current line where the caret is active and then I can only scroll the text to make this at the top and so the position of the text has changed

                                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 →
                                • Allow abstract interfaces

                                  Be able to force an interface to be inherited by sub-interfaces. The base or parent interface cannot directly be implemented by a class; only a sub-interface can be implented.

                                  e.g.
                                  public abstract interface IBaseInterface { ... } // cannot be implemented
                                  public interface ISubInterfaceA { ... } // can be implemented
                                  public interface ISubInterfaceB { ... } // can be implemented

                                  And therefore
                                  public abstract class BaseClass { ... } // base class
                                  public class SubClassA : BaseClass, IBaseInterface { ... } // PREVENT THIS FROM COMPILING - mixes concrete class with abstract interface
                                  public class SubClassA : BaseClass, ISubInterfaceA…

                                  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 →
                                  • C#别名问题

                                    vs2017
                                    直接贴出代码附件

                                    看两个附件可以很清楚地看出问题
                                    我之所以用using设置别名,就是为了在代码提示时,看到的是userid,roomid
                                    但是这边代码提示时就出错了。

                                    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 →
                                    • please makeing C

                                      i want to learn a C
                                      please

                                      3 votes
                                      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 →
                                      • Allow Identifiers In Enums

                                        I have an enum for length measurement units. Naturally, one of them is "in". But the compiler sees this as a reserved word and forces me to use "@in". This is relatively unnatural and I don't see why there would be a conflict. It's my impression that an enum element is always preceded by a '.' and that should be sufficient to differentiate it from the actual keyword.

                                        0 votes
                                        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 →
                                        • Enhanced generic constraints: Interfaces, Enums, numerics

                                          This rolls up various requests and adds some more.

                                          Quite simply, generic constraints are beautiful - but incomplete.

                                          Please fill in the gaps and let a class be declared with constraints as follows:

                                          public class Subclass<TInterface, TEnum, TNumeric>
                                          where TInterface : interface
                                          where TEnum : enum
                                          where TNumeric : double, float, int, long // or some metaword for these
                                          { ... }

                                          3 votes
                                          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 →
                                          ← Previous 1 3 4 5 42 43
                                          • Don't see your idea?

                                          Feedback and Knowledge Base