A sbt plugin to switch project in a snappy way⚡️
$ 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 -
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.
Recommended. Just add sbt-project-switcher to ~/.sbt/1.0/plugins/sbt-project-switcher.sbt
.
addSbtPlugin("io.github.todokr" % "sbt-project-switcher" % "(version)")
Add sbt-project-switcher to project/plugins.sbt
.
addSbtPlugin("io.github.todokr" % "sbt-project-switcher" % "(version)")
MIT