sbt / sbt/sbt-eclipse

Allow custom project-specific settings (such as formatter.rewriteArrowSymbols)

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

Nobody has claimed this yet.

Dominant language
Scala
Stars
712
Forks
163
PR merge metrics
No merged PRs in 30d

Description

I'd like to add some settings to .settings/org.scala-ide.sdt.core.prefs.

A glance at /src/main/scala/com/typesafe/sbteclipse/core/Eclipse.scala suggests that this is only possible via the sbt.Keys.scalacOptions (and even then only for those options supported by fromScalacToSDT in /src/main/scala/com/typesafe/sbteclipse/core/EclipseSDTConfig.scala)

It would be nice to add custom keys such as formatter.rewriteArrowSymbols .

Contributor guide

No contributing guide indexed for this repository

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 reading src/main/scala/com/typesafe/sbteclipse/core/Eclipse.scala and EclipseSDTConfig.scala, especially how scalacOptions are converted into Eclipse settings. Trace how .settings/org.scala-ide.sdt.core.prefs is generated and determine how a custom key such as formatter.rewriteArrowSymbols should be represented. Done means project generation preserves the requested custom setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.