3/26/2023 0 Comments Intellij idea tutorial![]() ![]() In the little menu popping up, select "object" as followed. ![]() In the same way as the worksheet, right click on the "scala" folder and go to New > Scala Class. Fill free to use them during the course when you want to test your understanding of the material. Tip : Scala worksheets are a great tool to familiarize yourself with the language and its features. In order to evaluate the newly created Worksheet, click on the green arrow in the top left corner of the Worksheet tab. Note: If Scala Worksheet is missing, right click on the root folder of the project (here example) and choose Add Framework Support. Right click on the "scala" folder as illustrated bellow. Once that's done, the usual src folder and their subfolders will be created. This happens because IntelliJ decides to delay this task until it has successfully executed sbt and downloaded all the required dependencies. Note: The first time we create or import a SBT project, IntelliJ may not show the structure of the project right away. And then you can select the desired JDK under Project SDK. Note: You can always change the JDK version in IntelliJ by going to File > Project Structure > Project. After that click finish and wait for SBT being done processing. If you don't see the targeted version, please make sure that you have followed the tools setup. Moreover, check that the Scala version is 2.13.x and that the sbt version used is higher than 1.x.x. Now, rename the project and make sure that the selected JDK version is either 1.8 or 11. As illustrated bellow select Scala > sbt. ![]() Create a projectįrom the welcome screen: Projects > New Project. Thus, restart Intellij before following the next steps. Note that Scala plugin requires restart to complete installation. Note: You can do the same from the opened IDE with File > Settings > Plugins. Install the latest Scala (from JetBrains) plugin for Intellij. Click on plugins and then search for "scala" in the list as illustrated bellow. Install the Scala pluginĪfter the installation, launch Intellij. You can download it from the official website. IntelliJ IDEA Community Edition is an open-source version of IntelliJ IDEA, a premier IDE for Java, Scala and other JVM-based programming languages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |