Skip to content

Feature request: autocomplete record members on construction, and variants when pattern matching #120

Closed
@zth

Description

@zth

This is a feature request/idea that I'm sure you're already well aware of, but I'll go ahead and add it here anyway. Two things that I think would greatly enhance the experience of using ReScript day-to-day is:

  1. Completing record members when constructing records
  2. Completing variants when pattern matching

I've included a "repro"/examples of what I mean here: https://github.com/zth/rescript-editor-tooling-playground/blob/dd7dd23fd58270683e91dd6e57898e6e40e212d4/src/AutoComplete.res

I understand this is probably non-trivial. But, the type of "exploratory" autocompletion it enables is something that I think is one of the absolute best aspects of the editor integration of for example TypeScript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions