Skip to content

Code completion behaviour differs for exported records #321

Closed
@kevinbarabash

Description

@kevinbarabash

Given the following record in point.res:

type point = {
    x : int,
    y : int,
}
let p = {x : 5, y : 10}

I see the following completions when typing p. in point.res:
Screen Shot 2021-11-27 at 1 57 21 PM

But when I got to use p in another file, it doesn't should any completions. When I force the completions to show up it shows me a list of all identifiers VSCode knows about:
Screen Shot 2021-11-27 at 1 59 30 PM

Opening Point has no effect on this behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions