typelevel / typelevel/scalac-options

How do I configure Scala3 options?

Open
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
48
Forks
17
Avg merge
5h 6m
Merged PRs (30d)
4

Description

I'm using sbt-tpolecat to configure my scalac options and it uses scalac-options. There seems to be a large list of Scala3 options missing. Is there plans to add them? For now I was able to work around adding an option tot polecatScalacOptions by using the ScalacOptions.other. However, it's use is semi not intuitive or mentioned in the readme as an option. If would be nice to see an example in the Readme on it's use for support of options that are not in the library yet.

For example:
tpolecatScalacOptions += ScalacOptions.other("-Xmax-inlines", List("60"), V3_3_0 => true),

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Scala 3 option definitions and the README, then compare the supported options with the missing Scala 3 list described in the issue. Check how ScalacOptions.other is documented and use the provided -Xmax-inlines example as the documentation target; done means the requested options or a clearly scoped subset are supported and the workaround is explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.