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: http://connect.microsoft.com/visualstudio.

ASP.NET Runtime/Web Tooling suggestions have moved! All your ideas, including your votes, have been transferred and are searchable in the ASP.Net Uservoice forum. Please submit any new ASP.NET Runtime/Web Tooling suggestions, or vote on existing suggestions by going to http://aspnet.uservoice.com.

We look forward to hearing from you!

Thanks – Deon Herbert
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 vote and comment on it.

If it doesn't exist, you can post your idea so others can vote on it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  1. Local functions not closing over values should be "singletons"

    Every time a function with a local-function is called, it allocates memory. In Steel Bank Common Lisp, such functions are "singletons", created once when JIT'ed, provided that it doesn't close over existing bindings. They are also pointer-equal in SBCL.

    Please provide a "function" type distinct from a "closure" type to free the user from having to use methods or global functions in inner-loop code.

    10 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      5 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
    • Ability to make a Record a struct type

      Record types should be able to be declared as a struct using an attribute.

      9 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
      • Highlight variable usage in F#

        It should be possible to mark all usages of a certain variable. The type of the variable is already inferred and shown when hovering over it. It'd be great if all places where the variable is used are highlighted, e.g. by setting a background color on the variable name. It'd be great if this is possible for several variables.

        9 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
        • Don't implement interfaces explicitly in F#

          F# implements interfaces explicitly, causing excessive casting when working with or exposing classic C#-style interface heavy code.

          9 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            2 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
          • Extension Operators

            Given that the let (operator) = .. syntax ends up blocking all existing uses of that operator the suggested workaround is to create a traditional class and add an operator as a member. However, this of course is not possible with existing types. Most problematic are the basic value types which are most often the target of operators. This is very frustrating for those of us who are trying to make aesthetically beautiful DSLs in F#.

            Ideally I'd like to be able to overload operators without changing previous dispatching via the standard let syntax. However, this seems unlikely due to…

            9 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              2 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
            • improve FsYacc and FsLex intellisense and IDE support

              The lack of intellisense support makes writing parsers and lexers more difficult than it has to be.

              8 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                1 comment  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
              • Support conjunctional operator

                'a < x < b' means 'a < x && x < b'. (but x is evaluate only once)
                Python implements this feature.

                7 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                • I would like better integration with ASP.NET and other core frameworks like WPF

                  There is a lot of manual labor involved trying to integrate F# with WPF, ASP.NET, etc. I think it should be promoted to a first class citizen in Visual Studio just like C#. You guys have been neglecting it for years. It's like "if you want to play around with some Math or low level Algorithms, use F#, else use C#". We take it just as serious as any other language and would like to fully enjoy its riches. Being forced to default to C# is very frustrating. All you want to do is be able to program in your…

                  7 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                  • Support IScheduler implementations for executing Async workflows

                    System.Threading.Tasks and Rx both support implementations of IScheduler. The ability to "parameterize concurrency" is quite powerful. The only options at the moment are selecting whether to use Async.Start on the ThreadPool or Async.StartImmediate on the current thread. Other options, such as an EventLoop or TestScheduler, are not available in F#.

                    7 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                    • Provide Solution Explorer Support in VS11 for F#

                      improve the solution explorer for F# - let us expand .fs files to view types/modules and methods like you can in C# and every other "first class" language. In addition let us use the "search solution explorer" bar for F# types/symbols as well and improve the "goto xyz" support for C# -> F# and vice versa

                      7 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        1 comment  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                      • F# dereference operator (like C++'s ->)

                        Working with F#'s ref generic type is ugly. Too much need for (!val) constructs. Either increase (!) operator priority, or add C++-like -> operator, which would allow direct access through reference to its instance members.

                        6 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                        • Tools for visualizing active variables in F#

                          Add a way of visualizing live (objects/functions/variables) in F# interactive. Possibly as simple as a PropertyGrid that shows active variables in memory. By adding the abiity to see what is in memory while using F# it becomes a VERY powerful data exploration tool. A few minor addtions of charting and grid output and this would be one of the best Data Mining tools available.

                          6 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                          • dynamic -keyword support for F#

                            There are times that eg. F# value restriction could be solved with runtime dynamic code. C# has dynamic.

                            I wish F# could use dynamic as it uses mutable:
                            let I x = x
                            let dynamic F = II

                            6 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                            • Allow use of '.' to bind functions tightly to their arguments

                              Compare the C# code:
                              var sb = new StringBuilder();
                              sb.Append("hello").Append("world").Append("foo").Append("bar");

                              with F#
                              let sb = new StringBuilder()
                              (((sb.Append("hello")).Append "world").Append "foo").Append "bar"

                              This proposal is to allow a '.' to tightly bind a function to it's arguments as long as the arguments are enclosed in parens. Eg:

                              let sb = new StringBuilder()
                              sb.Append.("hello").Append.("world").Append.("foo").Append.("bar")

                              I think that this version is much cleaner has the benefit of not breaking existing syntax (I don't know the details of the F# grammar so could be wrong about that) and is also analogous to the way F# tightly binds the indexing operator using ".[x]" notation so…

                              6 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                4 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                              • Add virtual auto-implemented properties to F#

                                abstract Users: ICollection<User> with get,set
                                default val Users = Unchecked.defaultOf<ICollection<User>> with get,set

                                member val is awsome but when a property must be virtual (such as a delay-loaded collection in Entity Framework) you have to switch back to the manual backing store.

                                6 votes
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                                • allow mutually recursive references between function definitions and type definitions

                                  If we allowed a "type" or "let" keyword to optionally follow an "and" keyword F# could allow mutual recursion between types and functions without adding any ambiguity to the grammar.

                                  For a simple use case see http://stackoverflow.com/questions/7051672/f-is-mutual-recursion-between-types-and-functions-possible

                                  5 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                                  • 5 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      1 comment  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                                    • correct compiler-generated exception code

                                      F# compiler sometimes generates exceptions such as this:

                                      L_001d: ldstr "Dynamic invocation of op_Explicit is not supported"
                                      L_0022: newobj instance void [mscorlib]System.NotSupportedException::.ctor()
                                      L_0027: throw

                                      it incorrectly calls ctor() instead of ctor(String)

                                      5 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        2 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Thoroughly document "hidden" features in F#

                                        F# has a lot of tricky aspects that aren't well-documented.

                                        One example is anything to do with the `inline` keyword:

                                        * Member constraints and member invocation expressions.
                                        * How dynamic and static type parameters interact, such as when writing a member invocation expression.
                                        * What is the effect of the `inline` keyword on different sorts of members.

                                        Another aspect is designing computation expressions using the custom operation attribute.

                                        It would be great if there could be some more thorough documentation on these things. Sometimes it's really trial and error.

                                        4 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Short member lambdas with $ (or other) sign

                                          To be used like that:
                                          items |> Seq.map $.Name

                                          4 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Languages - F#  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base