-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split function annotation into argument and return type annotations #202
base: net211
Are you sure you want to change the base?
Conversation
open JetBrains.ReSharper.Plugins.FSharp.Psi.Tree | ||
|
||
[<ContextAction(Name = "AnnotateFunctionArgumentTypes", Group = "F#", | ||
Description = "Annotate function with argument types")>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters.
Description = "Annotate function with argument types")>] | |
Description = "Annotate function parameter types")>] |
@mcon Thanks for this PR! We're currently finishing the last things for upcoming 2020.3 release, and these changes should go to 2021.1 EAP instead. I'll create a working |
Sounds good to me! |
@mcon, your PR targets |
As previously suggested, have split function annotation into return type and argument annotation.
Most of the diffs here are partitioning tests between each new action.
One this one's in, I'll probably take a look at generalising this to class members.