ionide / ionide/FsAutoComplete
Property setters are not suggested when in a constructor - they should be!
- Dominant language
- F#
- Stars
- 486
- Forks
- 169
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 5
Description
### Details
Here's an example from working on stream today:
Here, I'm trying to set the `AllowNonPublicInvocation` boolean property, but it's not even part of the suggestion list. It should
a) be part of the suggestion list,
b) be weighted much higher than any arbitrary type/ambiently-visible members
### 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
Research direction
Start by locating the completion logic that handles suggestions inside constructors and reproduce the example involving the AllowNonPublicInvocation property. Verify that eligible property setters appear in the suggestion list and are ranked above arbitrary type or ambiently visible members. Done means both requested behaviors are covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100