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

LSP autocompletion not offering module type in the same file #1011

Open
woeps opened this issue Jun 7, 2024 · 0 comments
Open

LSP autocompletion not offering module type in the same file #1011

woeps opened this issue Jun 7, 2024 · 0 comments

Comments

@woeps
Copy link
Contributor

woeps commented Jun 7, 2024

There is no autocompletion help by the LSP to help with annotating the module type with a module type being a submodule in the same file. (The LSP helps annotating the module type, when the module type from another file is used.)

module type MT = {
  let x: int
  }

module M: //<-- Cursor is here, but LSP will not suggest MT

This may not be the most common case, but could add some convenience.

Note: This behavior was first stated in #902, but was added as a separate issue for transparency.

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

No branches or pull requests

1 participant