Is there a Scala 3 support available for IntelliJ Community Edition? I have the Scala plugin installed, but somehow when I was trying to set up the Scala SDK for my project, Scala 3 does not show up in the List (see image). Any ideas as to how I can have Scala 3 enabled?
Try pressing Download button:
Select needed Scala SDK version in the dropdown:
Press "Ok", wait for download to finish and voilà (at least it worked for me using the latest version of IDE):
Related
I need to run Scala 3.x.x from IntelliJ. This is how I am trying to install it:
Click File > Project Structure...
Click on the "+" button (New Project Library):
Click "Scala SDK":
A new window pops-up showing a list of Scala SDK versions to choose from:
Scala 3.x.x is not listed for me. Even when I click the "Download..." button, I only see versions from 2.10.0 to 2.13.8:
How can I find Scala SDK 3.x.x?
UPDATE 1:
I see this question posted at https://youtrack.jetbrains.com/issue/SCL-19125#:~:text=Go%20to%20project%20structure,of%20scala%20sdks%20after%20downloading, but no answer.
UPDATE 2:
I have IntelliJ IDEA Community 2020.2:
UPDATE 3:
I checked for updates:
I clicked "Update and Restart":
In the "IDE and Plugin Updates" window, I clicked "Update and Restart":
Something was being downloaded:
After restarting IntelliJ, updates took place:
Finally I have a newer version of IntelliJ IDEA installer:
I still only see versions 2.x.x available, even now that I have IntelliJ IDEA 2021.3.3 (Community Edition) Build #IC-213.7172.25, built on March 15, 2022:
Works with latest IntelliJ IDEA 2022.1.1 (Ultimate Edition) and should work as well with latest Community Edition.
Checking for updates will only download the latest 2021.x.x release.
You need to download and install the latest IntelliJ release instead from the website.
I would recommend to not uninstall your older version. You can still do that later after you got everything working with the new version.
I want to run scala code in IntelliJ Idea.
I donot see option scala in Add Framework Support
Please suggest how to do it?
To run the Scala code there is no need to add any framework or facet (things like this were done in some previous IntelliJ versions, but this is long ago).
The only thing you need is to install a Scala plugin.
If you did not install the plugin when installing the IDE, use menu item Settings, click on Plugin, then Marketplace and type Scala.
With a Scala plugin installed, you can create a new Scala project.
Everyone, thanks for your attention.
I'm using Intellij IDEA 2017.2 in windows 7, with Scala plugin installed.(I downloaded directly from the web and installed it from local disk.)
But when I wanna to add Scala sdk through "Project Structure-Global Libraries" , I clicked the menu "Scala sdk" which is shown in the picture below, it didn't appear by the popup window as expected, i.e, it didn't present anything.
So I cannot select the Scala sdk.
the picture describes the scenario
What should I do to make it work in Intellij? My scala version is 2.12.2.
Any advices will be appreciated.
Thanks for viewed and replied.I have found the problem.
It's wired. After I created a new project, I added scala sdk successfully within this project's structure.
I had the same issue with the Scala SDK selection doing nothing. (IntelliJ CE 2018.1 on macOS 10.13.2). To change my version of Scala (in this case going from 2.12 to 2.11 for Spark support), I deleted the 2.12 SDK from Global Libraries and noticed that IntelliJ could still build/run the project. So I changed the symlink it was reading the Scala library from to point to a 2.11 install. After restart IntelliJ still has no Scala SDK under Global Libraries and the button to add it still doesn't work, but it is using 2.11 which is all I needed.
I also tried Jimmy Liu's fix of creating a new Scala project but it didn't seem to have an effect.
I am trying to create a Scala project in IntelliJ IDEA 14. As mentioned in IntelliJ IDEA's help, the Scala plugin already has support for Play 2.x.
I have installed the Scala plugin, and when I create a new project I can select Scala > Scala and Scala > SBT projects but there's no Scala > Play 2.x.
Are there any additional steps needed to make this available? I am using IDEA 14 Community Edition.
I have tried importing module to a Scala project using play-generated .impl file but IDE could not handle it well e.g. was finding errors in completely fine play! views.
Play framework is supported only in ultimate edition of Intellij Idea.
Here https://www.jetbrains.com/idea/features/editions_comparison_matrix.html, section Frameworks and Technologies.
For everyone else looking for an answer for Play 2.4+ the easiest way to get up and running is:
Create a new Run Configuration – From the main menu, select Run -> Edit Configurations
Click on the + to add a new configuration
From the list of configurations, choose “SBT Task”
In the “tasks” input box, simply put “run”
Apply changes and select OK.
Now you can choose “Run” from the main Run menu and run your application
https://www.playframework.com/documentation/2.4.x/IDE
Currently I'm using Scala IDE, and the version of Scala it's using for my project is 2.9.2. Preferably I'd like to choose 2.8.1, and am not sure how to select a version of the Scala Library.
Is there any way to change the version?
Thanks!
http://scala-ide.org/docs/user/gettingstarted.html
"The list of URLs of the different update sites are available in the download area. The release ones are in the current section. Scala IDE is linked to specific version of Scala, so you have to decide which one you are going to use:
release-29 provides support for projects using Scala 2.9.x (2.9.0-1 or 2.9.1). This is the current version of Scala. Pick this one if you are unsure.
release-28 provides support for projects using Scala 2.8.x (2.8.1 or 2.8.2)."
So you have to install release-28 Scala IDE to compile your Scala project with version 2.8.1 .
The release site can be found here:
http://scala-ide.org/download/current.html