resharper-fsharp icon indicating copy to clipboard operation
resharper-fsharp copied to clipboard

autocomplete breaks on large types

Open landy opened this issue 3 years ago • 2 comments

Hello, I'm experiencing problems when using type providers that generate a large amount of properties on a type. For example https://github.com/zanaptak/TypedCssClasses used with TailwindCSS.

It always restart filtering when i write a dash and for some reason it stops completely after I write tw.bg-green- that second dash seems to break it. It also stops working after I delete some chars and start typing again. When I delete everything and start typing from the dot it works again.

Rider version 2020.3 FSharp support version 2020.3.120

in Ionide it behaves like this: ionide

in Rider it works like this https://imgur.com/gallery/3172ZbV 2020-12-21 13 27 08

I've created a example repository where it is reproducible: https://github.com/landy/typeproviders-autocomplete

landy avatar Dec 21 '20 12:12 landy

@landy Thanks for the complete example! I guess we'll need to add some F#-specific logic to this matching handling.

auduchinok avatar Dec 21 '20 13:12 auduchinok

That would be great :) without it the library is almost unusable :(

landy avatar Dec 21 '20 13:12 landy