sbt / sbt/sbt-eclipse

Feature Request: allow for custom `createLinkName` function

Open
#365 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 would love to be able to customize the link names created by createLinkName.

Currently doing a crossProject results in some enormous link names for me. It becomes pretty tedious to tell the different links apart quickly as there is so much redundant path info at the beginning whereas the only meaningful bit is at the end.

Alternatively, instead of full customization, another solution might be to have some builtin link naming convention for known CrossTypes (ie, CrossType.Pure or CrossType.Full) that reduces some of the redundancy.

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

Read src/main/scala-sbt-1.0/com/typesafe/sbteclipse/core/Eclipse.scala around line 258 and trace the createLinkName callers. Clarify the supported customization boundary or the intended CrossType naming convention, then verify generated Eclipse link names for a crossProject. Done means redundant names can be customized or the selected convention is applied consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.