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.

  • Vote for an existing idea (3569)
  • or
  1. Nest JS files under TSX files

    Visual Studio 2015 nests JS files underneath TS files already. However, the same functionality does not apply to the newer TSX files, making for a messy project. Please add JS nesting support for TSX files too!

    18 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 - JavaScript  ·  Flag idea as inappropriate…  ·  Admin →
    • Main file-specific icon for nested files

      Files in Solution Explorer have icons specific to the file type/extension. However, if you nest a file below another file the icon changes to a generic nested file icon. It would be better to maintain the normal icon for the file type.

      As an example, nesting js or css files below aspx or ascx files changes their icon and makes them harder to identify.

      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  ·  IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
      • Allow nested files for item templates

        I am missing the feature to define nested files in a item template. Items created with a designer create a designer file or user controls have a code behind file, nested in the project tree. I would love to be able to define such nested files by myself.

        For example do I create a lot ViewModels and I usually add a ViewModelDesign that I only use for the designer. This would be very useful to display that nested in the project tree to prevent confusion with having double as many items with similar names. Also these file

        6 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          2 comments  ·  Project  ·  Flag idea as inappropriate…  ·  Admin →
        • Nest files using drag-n-drop - no having to go into the project file

          When building apps, project files can get long. Having the ability to nest files would be a great way to organize a project. Currently, this is accomplished by manually modifying the project file.

          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…)
            1 comment  ·  Project  ·  Flag idea as inappropriate…  ·  Admin →
          • Identify and Nest Dependent Files in Solution Explorer using Right Click Menu

            Identify and Nest Dependent Files in Solution Explorer using Right Click Menu.

            Allow us to nest files in solution explorer without having to edit the csproj file. For example, we have 4 files that are breeze.*.js, and I like to nest them as dependent on breeze.js so they show up collapsed in solution explorer.

            Currently we edit the csproj file to do this, and we also do it for css and for custom js. Another example:

            repositories.js
            -- attendee.repository.js
            -- session.repository.js
            -- speaker.repository.js
            -- lookup.repository.js
            -- abstract.repository.js

            For files like jQuery that have 4 or…

            401 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              13 comments  ·  Project  ·  Flag idea as inappropriate…  ·  Admin →
            • Option to disable file nesting in ASP.NET 5 / MVC 6 projects

              Can we please have a way to disable the auto file nesting in ASP.NET 5 / MVC 6 projects? In some folder structures it can be extremely annoying - for example, if the folder itself already represents a group of related files, in which case the additional nesting becomes highly frustrating.

              Also, the auto nesting is highly inconsistent:
              It nests .css, .js and .ts under .html, but for some reason .less and .scss are not nested, despite the fact that they are conceptually exactly the same as .ts - they just compile to .css instead of .js.

              There really…

              135 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                7 comments  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
              • Make nested file configuration a generatable project item.

                Thank you for making file nesting cofigurable.
                For sharing with the team, it would be nice if the feature behaved similar to tsconfig file and that it could be generated for the project from manual pairings like global suppressions are.
                It would enable users to configure behavior for non-standard file types and distribute across teams without waiting for MS team to implement specifics per project type.

                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  ·  User Interface  ·  Flag idea as inappropriate…  ·  Admin →
                • Unify Single Click Previewing

                  Single file preview can be slow. It officially is too slow to turn it on for XAML files.
                  It is very confusing having some files opened on single click and some not, without any obvious reason. If it is too slow for the user, he can turn it off.

                  Another solution would be to allow to specify which file types should be previewed.
                  Related bug report: http://connect.microsoft.com/VisualStudio/feedback/details/705611

                  My point is that it is too slow for other types as well, for example aspx files.
                  Also it is confusing that some files open on single click and…

                  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  ·  UWP / WPF / XAML Tools  ·  Flag idea as inappropriate…  ·  Admin →

                    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.

                    - The Visual Studio Team

                  • Bookmarks nested folders

                    It will be good if the bookmark window supports nesting folders.
                    More info here:
                    https://stackoverflow.com/questions/48462868/visual-studio-nested-bookmark-folders

                    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  ·  IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
                    • Nested methods in C#

                      In C#, allow the creation of nested methods. A nested method must have access to the main method declarations, as well as what can access the main method. A nested method can be called by the code in the main method that follows the declaration of the nested method, or by other nested methods of the main method. The principle is recursive: A nested method can itself have nested methods.

                      The principle exists in the language Pascal / Delphi. Methods C# syntax is however less well suited at this writing, as can be seen in the proposal of pseudocode that…

                      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…)
                        3 comments  ·  Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                      • Nested namespace declarations

                        I suggest to extend syntax of nested namespace declarations and provide alternative way similar to one implemented in C#:

                        namespace Outer::Inner // declares nested namespace
                        {
                        struct Foo
                        {
                        };
                        }

                        Outer::Inner::Foo foo;

                        That would be useful for codebases with high usage of nested namespaces especially with level of depth 3 or more.

                        116 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          11 comments  ·  Languages - C++  ·  Flag idea as inappropriate…  ·  Admin →
                        • Avoid nesting levels for Namespaces in VB and C#

                          In VB (and C#) if I want to create nested namespaces I have to use syntax like the following...
                          Namespace Foo
                          Namespace Bar
                          End Namespace
                          End Namespace

                          This adds two extra nesting levels to the file, which I find annoying, because I try to keep within 80-100 columns for readability.

                          I actually like the Java package syntax for this, and it would fit well with VB, because the Option and Imports keywords already work at this level.

                          Namespace Foo.Bar

                          Including the line at the top of the file (after Imports and Options) would cause the rest of the file

                          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 - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

                            Hey Justin,

                            Thanks for the suggestion. I can understand how horizontal screen estate is at a premium. In your example you used two nested namespace declarations but in both VB and C# you can combine these into a single namespace block:

                            Namespace Foo.Bar

                            Class C End Class

                            End Namespace

                            This still adds a single level of indentation but that’s a lot better than 2 or more. In C# this is the standard level of indentation by default but in VB most classes don’t require a namespace declaration by default due to the project-level Root namespace property. Given that namespace declarations are already pretty well-understood and the marginal benefit saving a few whitespace characters would grant for the tradeoff of adding another mechanism to the language we’re going to decline this suggestion and return your vote back to you to use for other suggestions.

                            Regards,

                            Anthony D. Green, Program Manager, Visual…

                          • Nested extension classes

                            It would be very handy if there was support for extension-nested-classes.

                            Lets say you need to add a couple of extension methods to a type. If someone else browses the Methods and properties of this type, he will have to struggle through lots of methods which could have been grouped to a nested extension class.

                            Syntax could be something like this:

                            public static class Calculator extends ClassToExtend
                            {
                            public static double CalculateSomething(this ClassToExtend element)
                            {
                            return element.Value1 * element.Value2 / 1.09132;
                            }
                            }

                            This method would be called like is would be in a nested class:

                            new ClassToExtend().Calculator.CalculateSomething();

                            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 →
                            • Additional special access level for nesting and nested types

                              There is no special access level that allows nesting types to exclusively access nesting types and vice versa. This limits usefulness of nested types. It seems that the whole idea of having nested class is to provide special way of "communications" between nesting and nested classes in a way not accessible from/by outside "world".

                              Let's say that we have two more access levels:

                              - ForNesting - allows access from inside the type and also from the nesting type (including from more than one level up). Should be applicable to, at least, Procedures, Properties and Member Variables, and also to…

                              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…)
                                4 comments  ·  .NET  ·  Flag idea as inappropriate…  ·  Admin →
                              • Support displaying the nesting of nested classes in Test Explorer

                                Support displaying nested classes in Test Explorer like ReSharper does.

                                It makes reading and organizing tests so much simpler.

                                Example test structure http://haacked.com/archive/2012/01/02/structuring-unit-tests.aspx/

                                10 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  ·  Test Tools  ·  Flag idea as inappropriate…  ·  Admin →
                                • Allow XAML nested comments

                                  Support nested comments in XAML.

                                  When trying things out I often comment out whole blocks of XAML.
                                  This does not work if such a XAML block already contains commented lines.

                                  8 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    2 comments  ·  UWP / WPF / XAML Tools  ·  Flag idea as inappropriate…  ·  Admin →

                                    We have added support in the editor to break apart comments that would otherwise be nested so you will always end up with valid XML. This feature is now available in VS 2013 Preview. As always we deeply appreciate your feedback and looking forward to more awesome ideas from you.

                                  • Can we show the generated JS file by typescript look like webform code behind?

                                    It would like like the JS and the MAP file is nested under the TS file, just to make the Solution Explorer clean :)

                                    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 - JavaScript  ·  Flag idea as inappropriate…  ·  Admin →
                                    • nested functions in c#

                                      Allow a function to be nested in C#. Example:

                                      private string Test()
                                      {
                                      string Test2(string x)
                                      {
                                      return x + "something";
                                      }

                                      Console.WriteLine(Test2("a"));
                                      Console.WriteLine(Test2("b"));
                                      }

                                      Could also add an inline keyword too like this:

                                      inline string Test2(string x)
                                      {
                                      }

                                      which replace the call with inline code. if the inline keyword not present, just call the code.

                                      It's much more convenient than having to write nested classes. Great for decomposing a complex method in to sub-functions.

                                      I really miss this ability in Delphi

                                      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 →
                                      • Consistently include <compile.link> files in nested .target files in solution explorer

                                        Currently, if you have a .target file (in your project's .csproj file) that has <compile><link> tags, the files pointed to those tags do not consistently appear in the Solution Explorer. If the project is a .NetStandard or PCL project, those links do appear. However, if the project an iOS, Android, or UWP platform project, then those links do not appear.

                                        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  ·  IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Option to show only hidden files in solution explorer in VS

                                          We should have a way to just view only hidden files in solution explorer. The reason I ask is sometimes with some merge issues with project files, there might be files not included into the project and those files could be nested deep down in folders. The Show All Files only partially solves this problem.

                                          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  ·  IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →

                                            I want to personally thank you for taking the time to share this suggestion. Since the suggestion you raised has not gathered many votes, the Visual Studio IDE team is prioritizing other suggestions and closing it at this time.

                                            If you would like us to reconsider this, please create a new suggestion. Again, thank you for sharing with us!

                                            Mark Wilson-Thomas
                                            Program Manager, Visual Studio IDE Team

                                          ← Previous 1 3 4 5 178 179
                                          • Don't see your idea?

                                          Feedback and Knowledge Base