hubFS: THE place for F#

. . . are you on The Hub?
Welcome to hubFS: THE place for F# Sign in | Join | Help
in Search

Possible enhancements for VS: Parameter annotations in Intellisense

Last post 09-07-2008, 22:45 by Juliet. 0 replies.
Sort Posts: Previous Next
  •  09-07-2008, 22:45 6963

    Possible enhancements for VS: Parameter annotations in Intellisense

    Right now, the Intellisense popup for functions looks like this:



    I'd like to turn on an option in VS that shows the names of parameters with the types, so it looks more like this:
    map (converter : 'a -> 'b) -> (input : 'a list) -> 'b list
    If possible, I'd also like to see parameter annotations carried through partial functions:

    // Intellisense annotation:
    // add (first : int) -> (second : int) -> int
    let add first second = first + second


    // Intellisense annotation:
    // addfive (second : int -> int)
    let addfive first = add 5



    Also, the constructors of discriminated unions show up like this:



    Most constructors on discriminated unions are very simple, but I think it would nice to provide annotations that allow the Intellisense popup to be appear like this:
    Branch (left : 'a Tree, right : 'a Tree) 'a Tree

    These are just little things on my F# wishlist :)

    Please support animal rights.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems