Feature Request: allow for custom `createLinkName` function
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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