Skip to content

LSP docblock names: strings vs comments in fallback scan, 'use' clause parsing, '@return A new instance' #526

Closed

Description

@blacktrs

Context: docblock class-name indexing in manticore lsp (PR #522).

  • @return A new instance indexes A as a class (prose after a capitalised word).
  • When the PCRE scan fails, the fallback linear scan cannot tell strings from comments and is limited to single-namespace files.
  • use clauses are parsed by regex; comments inside a clause are not handled.

Done when: description prose is not indexed, and the fallback/use parsing use the tolerant parser's tokens.

Activity

  1. added 2 commits that reference this issue on Oct 29, 2026
    b6e0458
    131c93b
  2. added
    bug
    on Oct 30, 2026
  3. added 2 commits that reference this issue on Nov 9, 2026
    f5726c5
    cdfaf51
  4. added a commit that references this issue on Nov 15, 2026
    8c817ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions