Skip to content

Doc strings not shown for modules/nested modules #58

Closed
rescript-lang/rescript-editor-support
#49
@zth

Description

@zth

Using 1.0.2 on macOS.

In short, the editor does not show me doc strings for modules or nested modules. I have this:

@ocaml.doc("This hover does not show up for the top level module.")
module Nested = {
  let x = "123"

  @ocaml.doc("...and neither does this hover")
  module NestedAgain = {
    let y = 123
  }
}

And hovering Nested or NestedAgain from another file (like SomeModule.Nested or SomeModule.Nested.NestedAgain) does not show the attached doc strings.

Here's a commit that details the issue: zth/rescript-editor-tooling-playground@5f484ba

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