I've been working on many Scala projects using Eclipse with Scala Plugin, Scala IDE and IntelliJ with Scala plugin but recently I decided to give Sublime Text 3 + SublimeSBT a go due to the slugishness of the IDEs.
My problem is that SublimeText3 doesn't recognise my project as an SBT one.
I am using Windows 8 x64.
Managed to figure it out. For future reference - make sure to include the entire project directory in your sublime text sidebar so that it containes not only .scala files but also build.sbt. If you include just text files it will treat them as such and not part of the project
SublimeSBT seems pretty fussy about how you open up the folder project. As you say, you need to make sure that in Sublime you're opening up build.sbt as well as the .scala files. So opening from the root folder of a normally configured project works ok. However, if you open it in sublime from, say, the parent of this root folder, then again SublimeSBT won't recognize it. I'd guess (without having tested exhaustively) that build.sbt needs to be one level down from the top folder in sublime.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.