Visual Studio

Welcome to the Visual Studio UserVoice site! Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, visit the Visual Studio Connect site: https://connect.microsoft.com/visualstudio.

We would also like to invite you to check out the Announcements section we have added to this site, where we will be posting special opportunities for you to participate in.

We look forward to hearing from you!

The Visual Studio Team
Terms of Service and Privacy Policy

NEW! Announcing Limited Preview for Visual Studio Online Code Search

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. Allow relative paths for external hyperlinks in comments

    Since documentation files are often checked into TFS along with code, allowing relative links to be followed from comments would allow linking to images, pdfs, and other documentation relevant to understanding code directly from code comments.

    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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
    • Reflect renaming ASP files in code behind (refactoring)

      When renaming a file in an ASP project, it would be great to have the class name in the code behind automatically reflect this change.
      For example, after renaming "MyPage.aspx" into "MySecondPage.aspx" in the editor, the class name in the code-behind would be renamed as well. Currently it will still be called "MyPage".

      In extent to this, when renaming a ASCX file, it would be nice to have not only its class name renamed, but also the tag names on the pages that use this ASCX file.

      IMO, this would allow more effective refactoring.

      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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
      • Maximize button in code editor

        Add maximize button (with keyboard shortcut) to code editor tab like in Eclipse. So when I click it all other windows (eg. toolbox, solution explorer, error list, maybe some toolbars etc.) are hidding and Visual Studio isn't in full screen mode.

        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…)
          3 comments  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
        • Transparency in the Code Editor window

          The editor should have an option to cause the background behind the text to be translucent. This does NOT mean that the code/text should be opaque, like all the other transparency in Windows. Only the background should be made translucent.

          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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
          • Scroll horizontally using Shift + Mouse Wheel

            Many applications (e.g. Visio) and editors (e.g. EditPlus) have Shift+MouseWheelScroll wired up to a horizontal scroll action.

            This seems like a useful convention to adopt in Visual Studio for the text editor (and others)

            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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
            • Don't indent after a return between an if and an else block (and try and catch)

              When I write code like this:

              if (SomeBool)
              {
              // Some Action
              }
              else
              {
              // Some Else Action
              }

              if I go back and put the cursor after the closing bracket of the if and press enter it focus is indented one level.

              I can think of no useful purpose to do this and it is very annoying if you wan to comment on the state of the else.

              This also happens with Try Catch statements.

              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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
              • Allow suppression of Static Code Analysis (SCA) warnings through a region

                There are various scenarios with generated code that produce SCA violations. It would be usefull to have an easy and robust way of suppressing those warnings. The current solutions are not suffcient:
                - The 'GeneratedCode' attribute supresses at the class level. That means all violations in the non-generated part of the class are also supressed. It also means you have to re-enter it every time the generation is re-done.
                - The SuppressMessage attribute forces you to manually suppress all SCA warnings on the generated code.

                The solution provided by StyleCop (if #region contains tekst 'generated code' then suppress all warnings…

                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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                • Enable Visual Studio Comments to Link to TFS IDs

                  I just want to be able write the following comment in the code editor

                  //TFS:<ID> My custom comment

                  Then visual studio would format the <ID> as a link to the Visual Studio Online and on hover, show me a preview of the item.

                  So, when I find bad code which I just cannot fix right now, I could add an item to TFS and in code, I could make a linked comment like so:

                  //TFS: 1838 We should really find a better way of doing this
                  public void ConsumeAllCpu(){
                  ConsumeAllCpu();
                  }

                  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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                  • "find references"

                    It would be nice if "Find references" when the cursor is on the getter or setter of a property only found examples where the getter or setter is used. For example, I want to find everwhere where property X is set, but I do not wish to find the hundreds of places where the property is just read.

                    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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                    • Paste escaped string / paste escaped verbatim string

                      When you need to copy and paste some XML, string, or other data into the editor as a string it is extremely annoying as you then have to go and manually escape it.

                      There should be a "Paste Special" with options to paste as a "normal" C# string or as a "verbatim" C# string. This would make this common task much easier.

                      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  ·  Editor  ·  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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                        • Opion to trim trailing whitespace on file save

                          There are no more macros left, so we need another option to trim trailing whitespace on file save. Motivation given here:

                          http://codeimpossible.com/2012/04/02/Trailing-whitespace-is-evil-Don-t-commit-evil-into-your-repo-/

                          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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                          • Find in files results should truncate long lines.

                            When using the 'Find in Files' option under 'Find and Replace', you search for a word and the 'Find Results' window lists in raw text the results. It also displays the line the result was found on. However, if the line is very long (for example in a minified CSS file that has no line breaks) the ENTIRE line is given rather than just a short snippet around the searched result.

                            As the results are not columated, this makes the tool impossible to use as the results will be mixed in amongst thousands of lines of source code where such…

                            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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                            • Refresh button inside "Find Results 1" and "Find Results 2" windows

                              We need a Refresh button inside "Find Results 1" and "Find Results 2" windows, so we can restart the same search with the same parameters (file types, match case and so son)

                              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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                              • Add Compare option when multi-selecting document tabs.

                                It is currently possible to select multiple documents in the document tab channel. This idea would add a context menu option to compare two selected tabs using the comparison tools (including, if set, the user option in Tools > Options > Source Control > Visual Studio Team Foundation Server > User Tools.)

                                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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                                • Show -where- we are un-doing (Ctrl-Z) in the source code. It doesn't really relocate the cursor right now.

                                  Show -where- we are un-doing (Ctrl-Z) in the source code. It doesn't really relocate the editor screen. When I go out for diner and come back, I often undo to show to my brain where I was last time I typed some code. But most of the time, it undo, I -feel- it places the cursor at the right place, but the scroll isn't good at all, so I can't see quickly what I just typed, as it disappears before I have the time to adjust the scroll.

                                  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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Better Typescript Support

                                    There has to be better Typescript support. Some ideas:

                                    - better refactoring
                                    - F12 go to definition
                                    - more "connections" to angular and ohter js-frameworks
                                    - etc. (just look at c# editing and debugging features)

                                    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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Code definition window and "Implement Interface" feature should include full XML documentation

                                      When implementing an interface, the "Implement Interface" context menu does not insert the associated XML documentation.

                                      It should, since that XML documentation is usually a good starting point. Consider perhaps adding a TODO tag.

                                      The same should apply to abstract class implementation.

                                      The alternative, copying the contents of the Code Definition window into your code, saves a lot of (re)typing. Unfortunately, the documentation does not include the XML documentation tags, which must be added by hand.

                                      An example from the code def. window:

                                      // Summary: <-- should be <summary>
                                      // Performs application-defined tasks associated with freeing,
                                      // releasing, or resetting…

                                      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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                                      • 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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Support custom elements in .aspx files

                                          Update 4 RC just recently included support for custom elements in the HTML editor (the default editor for .html files) however this feature did not make it into the HTML (Web Forms) editor (the default editor for .aspx files).

                                          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  ·  Editor  ·  Flag idea as inappropriate…  ·  Admin →
                                          1 2 6 8 10 27 28
                                          • Don't see your idea?

                                          Feedback and Knowledge Base