Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

cannot code completion(or find definition) #1411

@lyfwfm

Description

@lyfwfm

Describe the bug
cannot code completion(or find definition) for new function or new macro

To Reproduce
new a macro in test.hrl (eg: -define(new_macro, test).), then test.erl use ?new_macro, it cannot code completion and cannot jump to definition.

Expected behavior
want code completion and definition

Actual behavior
as above

Context

  • erlang_ls version (tag/sha): erlang-ls v0.0.39 in vsCode
  • Editor used:
  • LSP client used:

ps:erlang_ls.config has include like
include_dirs:
-"include"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions