Visual Studio IDE

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. 能不能给项目一个排序的功能,按建立时间排序等等,感觉项目建的多了比较乱

    我是使用Vs2017练习编程代码的学生,一般会在一个解决方案下面建立很多个项目,能不能给项目一个排序的功能,按建立时间排序等等,感觉项目建的多了比较乱,不舒服

    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 static indexers

      Altough there was this comment on the very same proposal: "Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion."

      I do suggest the very same thing: static indexers.

      Currently, indexers need…

      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…)
        1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      • Allow Conditional attribute also to non void methods

        Currently it's possible to use
        [Conditional("CONDITION")]
        only with void function. So we have to use #if with non void function to get a default value.
        Please, extend the attribute in order to return a specified default value or null for reference type.

        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 mandotory to Handle Exceptions...

          Hello,
          I am Computer Engineer from Turkey. Graduated From Istanbul Technical University In 2015.
          I was Intern at Microsoft Turkey in 2012 and worked at Sony Turkey, Siemens, Asseco SEE..

          My suggestion is make Exception Handling or changing signature mandatory..
          For example, if I throw an Exception in my method, I must decleare that this method may throws an Exception so a user can see the type of exceptions that can be thrown from this method.

          This is the case in JAVA.
          Example:
          public void getName() throws NullPointerException, IOException{
          }
          if I use getName() method in anywhere, compiler tells me…

          4 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 →
          • You make it easier to run a program

            It would be so much easier if you just had a run button.

            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 →
            • Use of unassigned local variable

              If a Boolean is guarding both the initialization and use of a local variable, VS should attempt to recognize that. There are other similar circumstances that have been introduced to VS recently.

              This actually leads to improved code. Forcing a var to be initialized even when it ultimately won't be used ends up blocking VS's ability to alert the developer when the var really is being used when it shouldn't.

              Example:

              public int Test(bool flag)
              {
              int value;
              if (flag) value = 0;
              int result = 0;
              if (flag) result = value + 1;
              return result;
              }

              "value" should not…

              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 easier

                please I suck at this

                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 properties for out and ref parameters

                  Allow properties in ref and out parameters.

                  Example:

                  public MyNumber { get; set; }

                  public void MyTest()
                  {
                  Increase(ref MyNumber);
                  }

                  private void Increase(ref int number)
                  {
                  number++;
                  }

                  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 easier to develop "Hello World"

                    The standard install should include everything someone needs to develop a "Hello World" app with ease.

                    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 →
                    • 單元測試, 可否顯示錯誤的行數?

                      顯示:
                      Message: Assert.AreEqual 失敗。 預期: <268>。實際: <0>。

                      Assert.AreEqual(x1, 0);
                      Assert.AreEqual(x2, 0);
                      ...
                      可否顯示錯誤的行數, 讓使用者知道x2這一行錯誤

                      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 →
                      • Copyable type names in method signature tooltips

                        When a method signature is shown in a tooltip (for example when entering parameters for a method), allow the user to select and copy type names from the tooltip. This would be useful for pre-assigning values to parameters that have long type names.

                        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 →
                        • Inline If syntax

                          Say you have a variable---

                          var myVar = null;

                          C# will throw an error. You must initialize implicitly typed variables, and you cannot assign null to an implicitly typed variable.

                          But if you say---

                          var myVar = ( myCond ? "simple string result" : null );

                          and you step through the code, you can add a watch, force the cond to evaluate to false, and the conditional assigns null to the implicit variable.

                          Am I missing a nuance here? Should this be possible? Is this a bug or a feature?

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

                            Can we have a syntax where we could group commonly used Attributes, like this:
                            [Required]
                            {
                            public string One { get; set; }
                            public string Two { get; set; }
                            public string Three { get; set; }
                            }

                            instead of writing:
                            [Required]
                            public string One { get; set; }
                            [Required]
                            public string Two { get; set; }
                            [Required]
                            public string Three { get; set; }

                            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 →
                            • fullnameof() - a variation of nameof()

                              Id like to see a variation of nameof() named fullnameof() to shorten code such as this:
                              ModelState.AddModelError($"{nameof(model.WorkInstruction)}.{nameof(model.WorkInstruction.ReasonCodeID)}", "The Reason Code field is required.");

                              to:
                              ModelState.AddModelError($"{fullnameof(model.WorkInstruction.ReasonCodeID)}", "The Reason Code field is required.");

                              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 classes to access their nested classes private members

                                IGlobalDockElement : IToolDisplay, IDockablePanel

                                Imagine the following:

                                class A
                                {
                                private int foo;

                                public class B
                                {
                                private A owner;
                                private int bar;

                                public B (A ownerA) { this.owner = ownerA; }

                                public int Add () { return this.owner.foo + this.owner.bar; }
                                }
                                }

                                Currently, in c#, an instance of B could access foo, as seen in Add method:

                                A owner = new A();
                                A.B nested = new A.B(owner);
                                nested.Add(); <-- this function access private A member foo

                                However, the reverse is *not* possible, an instance of A can not access a private member from an instance of B.

                                I…

                                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 →
                                • Restrict the public access level to only specific classes

                                  This could count as well for class, properties , constructor or methods.
                                  Like in C++ we have the friend reserved word we could have something similar that would allow public members or objects to be accessible only to specific class. The objects that would have access could be a parameter of the reserved word:

                                  public( <class name>[, <class name 2>]* )

                                  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 →
                                  • Create or Update the template, ASP.Net Core + Angular

                                    Currently we can use the template, ASP.Net Core 2.1 + Angular5.

                                    When Angular is updated 6 from 5, change many files in framework.
                                    So, we can't build ASP.Net Core 2.1 + Angular 6 without executiong ng migration update command and rewriting json files. Or get old Angular-Cli and their dependences.

                                    Pls. Create new Template for ASP.NET Core + Angular6 ., or Updating the Template.

                                    2 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 →
                                    • is goo idea to use visual studio help?

                                      is good idea to use visual studio help?

                                      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…)
                                        1 comment  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                      • 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 new feature to System.String like Typescript

                                          We can write c# code like follows:
                                          string name = "Tom";
                                          string hello = $"Hello {name}!";
                                          string path = @"D:\images\a.png";

                                          Sometimes we want to keep complicated string fromat like Json string, It's very inconvenient. We must write like this:
                                          string json = "{\"name\":\"Tom\"}";
                                          json = @"{""name"":""Tom""}";

                                          But in Typescript, it's very easy:
                                          content: string = `{"name":"Tom"}`;

                                          So I want to add this feature to c#/.Net.

                                          14 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 45 46
                                          • Don't see your idea?

                                          Feedback and Knowledge Base