sbt-idea

sbt-idea 1.2.0 unresolved for SBT 0.12.0 and Scala 2.10.0?

无人久伴 提交于 2020-01-04 03:16:07
问题 I am creating a new SBT project and here are the contents of my SBT files: build.properties sbt.version=0.12.0 plugins.sbt addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.2.0") build.sbt name := "peroo" version := "0.1-SNAPSHOT" scalaVersion := "2.10.0" resolvers ++= Seq( Classpaths.typesafeResolver, "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/", "Sonatype releases" at "https://oss.sonatype.org/content/repositories/releases/" ) libraryDependencies ++=

IntelliJ, Akka and Configuration files

江枫思渺然 提交于 2019-12-21 09:16:28
问题 When using akka, I place akka.conf in src/main/resources . When I run through sbt, the akka.conf is correctly recognized. But not when I run through IntelliJ (even after a gen-idea ). What is the appropriate way to accomplish this? 回答1: Put the .conf extension in Settings ( Preferences on Mac) | Compiler | Resource Patterns . 来源: https://stackoverflow.com/questions/9333093/intellij-akka-and-configuration-files

How to manage multiple interdependent modules with SBT and IntelliJ IDEA?

岁酱吖の 提交于 2019-12-20 08:13:03
问题 I'm developing several modules with dependencies among them, and would like to work with them all together in one IDEA project. I'm using sbt-idea to generate IDEA projects from the sbt build definitions, which works great for individual projects. In the multiple-module case, however, the things I've tried so far don't quite work: Use sbt-idea to generate an IDEA .iml file for each module independently ; then create a master IDEA project from scratch an add those modules to it. This makes the

How to manage multiple interdependent modules with SBT and IntelliJ IDEA?

戏子无情 提交于 2019-12-20 08:12:11
问题 I'm developing several modules with dependencies among them, and would like to work with them all together in one IDEA project. I'm using sbt-idea to generate IDEA projects from the sbt build definitions, which works great for individual projects. In the multiple-module case, however, the things I've tried so far don't quite work: Use sbt-idea to generate an IDEA .iml file for each module independently ; then create a master IDEA project from scratch an add those modules to it. This makes the

Beginner's guide to SBT 0.10 and IDEA

我的未来我决定 提交于 2019-12-18 10:26:13
问题 I'm new to SBT and am unsure how to get a project started. Can someone point me to a beginner's guide to creating a Hello World type project, or give me some clues? My preferred IDE is IDEA. I have run sbt-idea according to the instruction on the IDEA Plugins page. At the moment I'm a bit confused because there are no source folders created - where / how am I supposed to create them and how will SBT know where to look? why is it trying to use Scala 2.8.1, when I have already put scalaVersion

How to fix Scala compilation errors? Unable to compile in idea 13.1.5

安稳与你 提交于 2019-12-11 09:45:52
问题 I'm trying to create a very simple scala application in idea 13.1.5. java version "1.7.0_67" Java(TM) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode) Scala Version is 2.11.2-1 During the compilation , it always complains the following errors: Error:scalac: Error: object java.lang.Object in compiler mirror not found. scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found. at scala.reflect

sbt version and scala version. project configuration for intellij idea with sbt-idea plugin

ぃ、小莉子 提交于 2019-12-08 13:23:14
问题 I follow these steps to configure a project for IntelliJ idea. addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.2.0") I use sbt-idea for sbt version 0.12 with fixed bug for Idea. When I type sbt in my project's directory, I noticed that it uses scala 2.9.2.. but I'm going to use scala 2.10.1 for my project. Questions: Does it make sense which scala version to use for plugin(s) ( ~/.sbt/plugins )-compilation, or I should use one/same scala version for everything? Can I change scala

How to manage multiple interdependent modules with SBT and IntelliJ IDEA?

寵の児 提交于 2019-12-02 14:34:51
I'm developing several modules with dependencies among them, and would like to work with them all together in one IDEA project. I'm using sbt-idea to generate IDEA projects from the sbt build definitions, which works great for individual projects. In the multiple-module case, however, the things I've tried so far don't quite work: Use sbt-idea to generate an IDEA .iml file for each module independently ; then create a master IDEA project from scratch an add those modules to it. This makes the module sources all editable in the same window, but the dependencies among them are not tracked (so