Skip to content

Autoimported object has too many common names in scope #18

Open
@jvican

Description

autoImport extends several traits that define lots of common operations like currentSbtVersion, currentScalaVersion, etcetera. https://github.com/agemooij/sbt-prompt/blob/master/src/main/scala/com/scalapenos/sbt/prompt/promptlets/promptlets.scala#L16-L36

This causes name clash problems with builds that do define these names in some way or another. In my case, it failed because I had a val currentScalaVersion = "2.12.3" in my build.sbt.

This is an important problem. Sbt autoimports all those names and that's why it's good practice to reduce the names in autoImport as much as possible.

Would it be possible that you remove all those clashing names from this excellent sbt plugin?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions