IntelliJ Community Edition for Scala on mac
Brew install
brew cask install intellij-idea-ce
Scala plugin
You need to install scala plugin. you can install it from plugins tab.
Create new scala project
Choose scala
and then sbt
. After pressing next
remember to choose choose adequate version of JDK. See
https://docs.scala-lang.org/getting-started/intellij-track/building-a-scala-project-with-intellij-and-sbt.html
In order to add tests follow https://docs.scala-lang.org/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.html.
Git
From menu VCS choose Enable a version control integration (GIT)
.
Command line launcher
Create script /usr/local/bin/idea
:
#!/bin/sh
open -na "IntelliJ IDEA CE.app" --args "$@"
Change permission:
chmod a+x /usr/local/bin/idea
Updated: 2020-12-13