ionide / ionide/FsAutoComplete
Improve .NET POCO Initialiser Constructor object documentation, unit -> unit is not useful, we want to see the signature
- Dominant language
- F#
- Stars
- 486
- Forks
- 169
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 5
Description
### Details
atm, dotnet reference types constructor just show unit unit if they have an empty constructor, but that is not useful as the developer many time, even for poco objects, wants to see the public properties names, and be suggested with them on how to fill in a common .NET object coming from a nugget library or a C# project.
```
// empty constructor is currently returned in suggestions from autocomplete for C# Poco classes
() -> ()
```
is not a useful signature for the developer, because he can also use the object constructor (curly constructor from C#) in F# using parentheses and specifying named arguments
```csharp
// common C# POCO
public class SomeThing {
public string PropertyOne { get; set; }
}
```
```fsharp
// actual "poco" initializer the dev is interested into and to see in docs
new SomeThing(
PropertyOne="A"
)
```
### 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
- [ ] I or my company would be willing to contribute this feature
Contributor guide
Assessment
This issue has not been assessed yet.