saravana_pc
saravana_pc

Reputation: 2687

Intellij does not open Scala files

enter image description hereIntellij-Scala

I'm using IntelliJ (version 13.0) and Scala (2.9.1).

I created a Test project but Intellij does not open/display the scala files in the editor window. It displays the files only when I select the option 'Mark as Plain text' from the context menu of the scala file.

Upvotes: 0

Views: 1290

Answers (1)

metacubed
metacubed

Reputation: 7281

You need to install a separate plugin for Scala support: Scala plugin. This is also available directly from within IntelliJ IDEA using Preferences -> Plugins -> Jetbrains Plugins

More details about IDEA's Scala support are given here: The Most Intelligent IDE for Scala Development

Next, you need to add the Scala SDK to IntelliJ IDEA, again using the Project Structure -> SDKs. Finally add the Scala Facet to your module using Project Structure -> Facets.

A step-by-step check-list is given here: Getting Started with IntelliJ IDEA Scala Plugin. It's a bit out-of-date, but still covers all the steps.

Upvotes: 2

Related Questions