Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for compiler plugins #865

Open
adpi2 opened this issue Jan 19, 2022 · 0 comments
Open

Add support for compiler plugins #865

adpi2 opened this issue Jan 19, 2022 · 0 comments

Comments

@adpi2
Copy link
Member

adpi2 commented Jan 19, 2022

Motivation

Compiler plugins are fully part of the Scala library ecosystem. Some of them like kind-projector are widely used. This should be better reflected in Scaladex, by indexing compiler plugins, and enabling users to search them.

Identified obstacles

Currently, compiler plugins are filtered out by the BinaryVersion.Parser because their binary version is the full Scala version. Example: the binary version of kind-projector_2.13.8 is 2.13.8 instead of 2.13.

We need to accept such binary version and treat it like a ScalaCompilerPlugin platform.

Implementation Guidelines

  1. Introduce a ScalaCompilerPlugin subclass of Platform
  2. Modify BinaryVersion.Parser to return ScalaCompilerPlugin when the binary version is a Patch version
  3. Adapt the front page, search page and project page to include the new compiler plugin platform.

Expectations

  1. The indexing of a compiler plugin should be tested
  2. The front page, search page and project page should show the compiler plugins
  3. The search filters and project page drop-downs should be usable (not too verbose).
@adpi2 adpi2 changed the title Index compiler plugins Add support for compiler plugins Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant