Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve completion kinds #510

Closed
wants to merge 1 commit into from

Conversation

rgrinberg
Copy link
Member

Introduce these mappings:

label -> field
variant -> enum member

For items without precise kinds, we no longer select a related but
inaccurate kind.

@rgrinberg rgrinberg requested a review from ulugbekna September 19, 2021 05:33
@rgrinberg rgrinberg force-pushed the fixup-completion-kinds branch from bc3a64e to 13cb2ad Compare September 19, 2021 05:35
Introduce these mappings:

label -> field
variant -> enum member

For items without precise kinds, we no longer select a related but
inaccurate kind.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg rgrinberg force-pushed the fixup-completion-kinds branch from 13cb2ad to ac06aef Compare September 19, 2021 15:51
@rgrinberg rgrinberg closed this Feb 5, 2022
rgrinberg added a commit to rgrinberg/opam-repository that referenced this pull request Feb 10, 2022
CHANGES:

## Features

- Add better support for code folding: more folds and more precise folds

## Fixes

- Fix infer interface code action crash when implementation source does not
  exist (ocaml/ocaml-lsp#597)

- Improve error message when the reason plugin for merlin is absent (ocaml/ocaml-lsp#608)

- Fix `chdir` races when running ppx (ocaml/ocaml-lsp#550)

- More accurate completion kinds.
  New completion kinds for variants and fields. Removed inaccurate completion
  kinds for constructors and types. (ocaml/ocaml-lsp#510)

- Fix handling request cancellation (ocaml/ocaml-lsp#616)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants