Skip to content

Better discoverability for members in constructors (Tooling) #9682

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

Open
SchlenkR opened this issue Jul 12, 2020 · 2 comments
Open

Better discoverability for members in constructors (Tooling) #9682

SchlenkR opened this issue Jul 12, 2020 · 2 comments
Labels
Milestone

Comments

@SchlenkR
Copy link
Contributor

This request is related to: #9534 and fsharp/fslang-suggestions#880

I suggest that assignable class members are shown on top of the auto completion list when the caret is inside of an object constructor. Right now, the list is filled with keywords, members, symbols in scope in an alphabetical order.

Here is an example using Plotly:

image

@cartermp
Copy link
Contributor

cartermp commented Sep 6, 2020

Specifically this request is for when ctrl+space is triggered explicitly, since the type in question has no parameters for its constructor and thus Signature Help would have nothing to display.

@kerams
Copy link
Contributor

kerams commented Feb 9, 2023

This is very doable, but requires a refactoring of the completion sorting code, which is currently a clusterfu...mess.

image

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

No branches or pull requests

4 participants