ionide / ionide/FsAutoComplete

Code action: suggest to create missing parameter as local binding

Open
#1,271 2 comments 0 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

When developing code, often we first write some parts and later we "fill them in" with implementations, one example is method parameters, would be great if one could just write the name of the method parameter, and then have a contextual action to create the parameter of the specified type, with maybe for now just the option as a local binding, maybe it could be adjusted to provide more options:

* Local binding (within the same scope)
* upper scope binding (module or global if a script..)

example

image

generate a code suggestion here / action , to generate the non existing local binding for the parameter

### 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.