JetBrains / JetBrains/resharper-fsharp

Inline parameter types for custom operators

Open
#210 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
F#
Stars
351
Forks
55
Avg merge
9h 38m
Merged PRs (30d)
16

Description

There is no inlined parameter type for custom operators, as seen on a screenshot below
![image](https://user-images.githubusercontent.com/8440344/102086158-e9a4e580-3e17-11eb-8239-48519b5699fe.png)

There are libraries that provide custom operators like `FSharpPlus` or `FParsec` which are notable F# libraries and this issue makes showing inlined parameter types inconsistent, which works only for basic pipe operator `|>`

Here's an example of how it works when there are mixed operators:
![image](https://user-images.githubusercontent.com/8440344/102087203-7ac88c00-3e19-11eb-8fad-658bd0d97207.png)

Tested on Rider, version 2020.2.3

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the inconsistent inline parameter-type display in Rider 2020.2.3 using custom operators from FSharpPlus or FParsec, including examples that mix custom operators with the basic pipe operator. Done means inline parameter types are shown consistently for custom operators as well as the pipe operator.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.