Skip to content

Support for parse transforms? #1583

Open
@denizdogan

Description

Does Erlang LS support parse transforms such as exprecs of the parse_trans library?

When I try to find completions in Zed using the Erlang LS extension, it does not suggest the generated functions:

Image

However, erl is fully capable of finding them:

Image

Just trying to understand if this is a bug, a limitation, or a misconfiguration perhaps? Here is the source code I'm trying this with:

-module(cars).

-compile({parse_transform, exprecs}).

-record(car, {year :: pos_integer(), make :: binary()}).

-exprecs_prefix(["rec_", operation, "_"]).
-export_records([car]).

foo() ->
    rec_

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions