Skip to content

@eval the code sent to the REPL inside of the module #95

@cstjean

Description

@cstjean

When I C-c C-d, it does

@doc MyFunction

which fails because MyFunction isn't exported in the module I'm working with.

@eval MyModule @doc MyFunction

would work a lot more often, for all (?) of the commands that send stuff to the REPL. I'm not sure if there's a clean way to get a file's module, but "look at the path for a src, then use the parent directory name" would at least work for packages when no submodules are involved, and it's something I would feel comfortable making a PR for.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions