todokr / sbt-project-switcher

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

GitHub

sbt-project-switcher Latest version

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

demo

Usage

Enter pjs in sbt console.

$ sbt
> pjs

Then, choose project name you want to switch.

Requirement

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

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