score:0
I think this is how it work currently. As suggested by @pedrofurla, you can keep ~run
running on sbt/play console. Sadly, IMO there is no other way IntelliJ can compile your scala views automatically.
score:0
Just add to project/plugins.sbt
the following and re-run play idea
// FIX SBT IDEA PLAY 2.1
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// Use the Play sbt plugin for Play projects
addSbtPlugin("play" % "sbt-plugin" % "2.1.0")
score:14
If you use IDEA Community edition, there is a SBT Console plugin (see http://plugins.jetbrains.com/plugin?pluginId=5007) that allows you to compile / run your Play project directly in the editor. That's the way I work every day and it is fine (I use the ~run
command and then don't care anymore).
You may also add a remote debugger in IDEA that listens to you local server (it it is run with debug mode on) and use it as usual.
If you use IDEA Ultimate edition, JetBrains released a Play Framework plugin that seems to work fine (but I haven't tested it yet). Have a look at these tutorials:
- http://confluence.jetbrains.com/display/IntelliJIDEA/Play+Framework+2.0 or
- http://www.jamesward.com/2013/01/23/video-create-and-run-play-framework-apps-in-intellij
Hope this helps.
Source: stackoverflow.com
Related Query
- How do I get Intellij IDEA 12.0 to work with Play Framework 2.1.0 app and Scala 2.10.0?
- How to use IntelliJ with Play Framework and Scala
- How to get Scala imports working in IntelliJ IDEA with the Play framework?
- How to work with Intellij Idea and Scala
- How to know if a Scala file modified with IntelliJ Idea is saved and if it is checked into CVS?
- How to set up play framework ApplicationLoader and Macwire to work with custom routes?
- How to generate Scala setters and getters with IntelliJ IDEA
- How to create an instance of a model with the ebean framework and scala in Play 2.2
- How can I get Scala Named and Default arguments to work with macros
- How to get IntelliJ IDEA 14 working with Scala on Android (SBT)
- How to send email with attached file in scala and play framework (2.3.9) using activator?
- Setting up IntelliJ 2017 to work with Gradle 4.2 and the latest Play Framework 2.6
- How to create a Scala executable jar file that is built with Maven, and has log4j included, using IntelliJ IDEA IDE
- How can I use scala sources from a different location in a sbt project and also make it work with IntelliJ IDEA?
- Unable to get login to work using scala with Play Framework
- Play Framework 2.4.1 One form with two buttons. Which button was pressed? And how do I get the input data?
- How to log user credentials when authentication fails with Scala Play Framework and Silhouette
- How to log user credentials when authentication fails with Scala Play Framework and Silhouette
- Workflow and Scheduling Framework for Spark with Scala in Maven Done with Intellij IDEA
- Having trouble creating a play framework web app in IntelliJ with scala
- IntelliJ IDEA and Play framework integration - how to compile on edits?
- How to get current day of the week and used it in scala template in Play framework
- How to use cdn url with play framework and scala for image display?
- How do you read the HTML content of an Atom feed with Scala and Play framework 2.0?
- How to use Scala in IntelliJ IDEA (or: why is it so difficult to get a working IDE for Scala)?
- How do I change intellij idea to compile with scala 2.11?
- Scala Compiler not found in Intellij IDEA 11 with Play 2.0 project
- How to get logging working in scala unit tests with testng, slf4s, and logback
- One Play 2 Framework App - use both java and scala
- Which is best data access options available for Play framework with Scala and PostgreSQL?
More Query from same tag
- Loop Scala both ways depending on parameters
- scala - how to infer the return type
- java.security.KeyStoreException when trying to create HTTP instance
- Why does Spark's GaussianMixture return identical clusters?
- indexOf second argument in Scala
- Self-referential duck-typing
- How to install and configure play-mailer, for playframework 2.5.x
- match innermost using regex in a scala string
- 64bit (Long) hash of a string in Scala
- Observables created at time interval
- Multi-project build with xsbt-web-plugin not packaging WAR file
- Slick3 with SQLite - autocommit seems to not be working
- Guice dependency requiring references to Singleton inside AbstractModule
- Can't import play.api.test._ into scala REPL
- spark dataframe filter and select
- Why no i++ in Scala?
- Type mismatch error in Scala
- Group a list of Scala Ints into different intervals?
- Cats: Map with a function which results in F[_]
- Can gatling load test SQL database or MongoDB?
- Inserting row in SAP Hana 2.0 with Hibernate
- Error:scalac: bad symbolic reference. A signature in SQLContext.class refers to type Logging in package org.apache.spark which is not available
- Akka 2.4 TCP w/ TLS
- want to know better way of joining tables with slick
- Why does this ordering filters out elements of a set?
- Play 2.3 got incompatible errors for DefaultReads
- given <user, movie, rating> how can i use scala to print out the highest rated movie for each user?
- Overloaded constructor error
- Scala Spark Dataframe sum list of json values in the column
- shortening MongoDBObject Conversion