ionide / ionide/FsAutoComplete

Improve explicit fields completion in constructor

Open
#1,322 1 comment 3 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
F#
Stars
486
Forks
169
Avg merge
2d 8h
Merged PRs (30d)
5

Description

### Details

```fs
type Attributes2() =
member val FieldId: string = "" with get, set
member val Label: string = "" with get, set

let x =
Attributes2(FieldId = "")
```

Trying to fill the explicit fields between the parentheses is difficult unless you already know what you are looking for.

If you don't fill anything, nothing is proposed but once you start typing `La` and request a new list then `Label` is suggested. It would be nice, if explicit fields where always suggested and if possible at the top of the list in this situation because `abs`, `acos` functions is probably not what the user is looking for.

https://github.com/user-attachments/assets/a0ea0d22-6c15-4ea5-bfc5-17d6bf2946f8

### Checklist

- [x] I have looked through existing issues to make sure that this feature has not been requested before
- [x] I have provided a descriptive title for this issue
- [x] I am aware that even valid feature requests may be rejected if they do not align with the project's goals
- [x] I or my company would be willing to contribute this feature

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.