Skip to content

How do I know if my plugin is loaded? #23136

Open
@som-snytt

Description

@som-snytt

Compiler doesn't tell me if my plugin is junk even though I "require" it.

~/projects/dotty/bin/scalacQ -Xplugin-list -Xplugin-require junk

Discussed in #21238

Originally posted by kincsescsaba July 21, 2024
Hi there,

I had a working plugin and could not isolate why it had stopped working. There are no error messages. What I see is that I can add the plugin with -Xplugin:path/to/jar, and there are no error messages, but the plugin does not do its job of filtering specific code parts that worked previously.

I tried scala -Xplugin:path/to/jar -Xplugin-list options, this returns an empty line, then quits.

What are the best practices to resolve an issue like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions