C:\Users\Shweta\Hi>sbt
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Loading global plugins from C:\Users\Shweta.sbt\0.13\plugins
[info] Loading project definition from C:\Users\Shweta\Hi\project
[info] Set current project to hi (in build file:/C:/Users/Shweta/Hi/)
run
[info] Running Hi
Hi!
[success] Total time: 1 s, completed 24 Feb, 2017 12:41:13 PM
compile
[success] Total time: 0 s, completed 24 Feb, 2017 12:41:17 PM
eclipse
[error] Not a valid command: eclipse (similar: help, alias)
[error] Not a valid key: eclipse (similar: deliver, licenses, clean)
[error] eclipse
[error] ^
You need to add
sbteclipseplugin to your plugin definition file (for this, most likely the global one,- in your setupC:\Users\Shweta.sbt\0.13\plugins\plugins.sbt), after that you will be able to useeclipsecommand.Make sure to call
reloadin sbt shell if the file was updated without leaving the shell.Check out sbteclipse GitHub for more details.