Was playing around with IntelliJ.
Specifically, was investigating how to do the following in IntelliJ:
- Basic Java development
- Basic Scala development
- SBT for Scala
- Maven for Java
- Scala Tests
Basic java development:
- Hello World + Java + IntelliJ : https://www.jetbrains.com/help/idea/2016.2/tutorial-creating-running-and-packaging-your-first-java-application.html
Maven for Java:
- https://www.jetbrains.com/help/idea/2016.3/getting-started-with-maven.html
- https://www.jetbrains.com/help/idea/2016.2/maven.html
Tips:
One of the things i realized is – its critical to understand the basic. Specifically:
- Projects, Modules, Libraries and how they are structures in IntelliJ
- If using Maven, its helpful to review the common maven tasks :
- The set of dependencies should be specified either from POM (for Maven) or in build.sbt (for SBT)
- using POM / build.sbt simplifies things because it adds the libraries and dependencies automatically.
- the other option is to specify the dependencies using the ‘Project Structure’ for basic Java / Scala projects
- There is a nice writeup for using scalatest in IntelliJ
- Maven Exec java
- its important to understand how to run programs using maven itself
- need spend more time on this
References: