Skip to content
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

autocomplete breaks on large types #216

Open
landy opened this issue Dec 21, 2020 · 2 comments
Open

autocomplete breaks on large types #216

landy opened this issue Dec 21, 2020 · 2 comments

Comments

@landy
Copy link

landy commented Dec 21, 2020

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

@auduchinok
Copy link
Member

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

@landy
Copy link
Author

landy commented Dec 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants