ionide / ionide/FsAutoComplete

Property setters are not suggested when in a constructor - they should be!

Open
#1,414 1 comment 2 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

Here's an example from working on stream today:

Image

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.