todokr / sbt-project-switcher   0.1.4

MIT License GitHub

A sbt plugin to switch project in a snappy way⚡️

Scala versions: 2.12
sbt plugins: 1.0

sbt-project-switcher Latest version

A sbt plugin to switch project in a snappy way⚡️

demo

Usage

$ sbt

# Select project
> pjs # Then, choose project name you want to switch.

# Select project from history
> pjs h # or pjs history

# Switch to previously selected project
> pjs -

Requirement

sbt-project-switcher uses fzf to filter project.
Install fzf and make sure that the command is in PATH and available.

If you want to use a filter other than fzf, you can set pjsFilterCommand key.

Setup

Maven Central

Globally

Recommended. Just add sbt-project-switcher to ~/.sbt/1.0/plugins/sbt-project-switcher.sbt.

addSbtPlugin("io.github.todokr" % "sbt-project-switcher" % "(version)")

Per project

Add sbt-project-switcher to project/plugins.sbt.

addSbtPlugin("io.github.todokr" % "sbt-project-switcher" % "(version)")

License

MIT