Questions tagged [sbt-idea]

A simple-build-tool (sbt) plugin/processor for creating IntelliJ IDEA project files

48 questions
82
votes
2 answers

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

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. …
David Soergel
  • 1,679
  • 1
  • 11
  • 14
16
votes
2 answers

Play 2.2.2 with IntelliJ 13 & SBT 0.13 cant run - No main class detected

I'm trying to run one of the type safe activator projects in IntelliJ 13.1 with the latest Play 2 and Scala plugins. I can run the project through the typesafe activator no problems but when I try to open the activator project via the build.sbt…
NightWolf
  • 7,343
  • 9
  • 64
  • 115
12
votes
3 answers

How do I get Intellij IDEA 12.0 to work with Play Framework 2.1.0 app and Scala 2.10.0?

So I've been trying to get IDEA 12.0 to work with Play 2.1.0 and Scala 2.10.0. I've just about given up because it's not working for me the way I want it to. Here is a copy of my build.properties, Build.scala, and plugins.sbt. I followed the…
Adrian Rodriguez
  • 3,212
  • 1
  • 22
  • 33
11
votes
3 answers

Beginner's guide to SBT 0.10 and IDEA

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…
Luigi Plinge
  • 48,746
  • 19
  • 105
  • 173
10
votes
1 answer

IntelliJ, Akka and Configuration files

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?
Hugo Sereno Ferreira
  • 8,665
  • 6
  • 41
  • 88
8
votes
2 answers

What's the proper setup of sbt-idea with sbt 0.11?

I am creating a Scala project with sbt 0.11.2 and sbt-idea and I am getting UNRESOLVED DEPENDENCIES on the gen-idea task. I've just installed sbt (downloaded jar and made script as instructed in the wiki), followed the sbt-idea setup here, made an…
Jack Dreep
  • 125
  • 1
  • 5
8
votes
2 answers

Syntax highlighting for *.sbt files in IntelliJ IDEA

I'm working on a potential module for the Lift Web framework using Scala, SBT 0.12, and IntelliJ IDEA 12.1, and I would like to have syntax highlighting for *.sbt files in IDEA (code awareness would be a bonus). I have the sbt-idea plugin for sbt…
Jeff May
  • 449
  • 2
  • 14
8
votes
1 answer

Play Idea failing - no sbt-idea plugin for this version of sbt 0.11.3

I'm stuck. I've on a Mac and have installed the typesafe stack with brew I've created a new play project using play new appname and all is fine. I'm trying to import it into intelliJ using play idea - but when I do this I get the following…
Roger
  • 15,683
  • 3
  • 49
  • 73
7
votes
1 answer

lift does not build with sbt?

I am following the steps for sbt 0.10 on the Assembla Lift wiki and get the following error: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] ::…
Alex
  • 6,798
  • 4
  • 26
  • 40
7
votes
1 answer

"java.lang.IllegalArgumentException: Area already instantiated for: ProjectDefault (Template) Project" Idea-SBT plugin error

I'm using intellij Idea 2019.2 ultimate edition. After I updated from 2019.1. 2019.2 edition I get below exception frequently. I couldn't submit the report to SBT as the report button is always disabled. How could I stop this exception other than…
Rajkumar Natarajan
  • 5,727
  • 6
  • 51
  • 98
6
votes
1 answer

I get "not a valid key: gen-idea", with a clean install of sbt 0.13+ how to fix it?

I'm trying to get gen-idea to work. This is how I install sbt and the idea plugin: http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html I'm following the Manual Installation instructions: $ mkdir -p ~/bin $ cd ~/bin $ wget…
Jas
  • 12,534
  • 20
  • 79
  • 134
6
votes
2 answers

How does one get sbt-idea to work in scala-2.10 project?

I had a lot of trouble getting sbt-idea to work in my Scala 2.10 project. I tried compiling sbt-idea from its git repo, making sure that to have set scalaVersion := "2.10.0-RC5" in build/Build.scala, and using publish-local command to compile it in…
Henry Story
  • 1,912
  • 1
  • 16
  • 25
5
votes
3 answers

IntelliJ not resolving Play's build.sbt libraryDependencies

I am new to IntelliJ IDE and I am trying to use it for a new Play project I am working on. I have added some libraries to the libraryDependencies in build.sbt but IntelliJ cannot seem to resolve them as External Libraries libraryDependencies ++=…
Wextux
  • 752
  • 9
  • 17
5
votes
2 answers

How to change JDK set by SBT import in IntelliJ IDEA?

When Scala plugin reimports an SBT project in IntelliJ IDEA, it changes the project's JDK to 1.6. Is it a way to choose which JDK version Scala plugin sets during reimport of the STB project.
Jacek L.
  • 1,326
  • 12
  • 17
5
votes
1 answer

How to install sbt-idea and use gen-idea

I have downloaded and installed sbt and plugin for gen-idea. But the built projects can not be run on idea. Also the "project" folder is not generated when I run gen-idea. Can someone please tell me how I should install sbt and sbt-idea plugin and…
bula
  • 7,115
  • 5
  • 22
  • 39
1
2 3 4