Intellij Scala Import Not Working

Snip2Code is a web service for software developers to share, collect and organize code snippets. When working with Git from the command line, you will need to use more than just the Git commands. Make your changes and simply hit refresh!. Every time, when i. SonarQube empowers all developers to write cleaner and safer code. The method I have found to work most reliably until recently is this: LogoLabel. It does not have autocomplete, but scaladoc and javadoc in a browser next to my Editor are good enough for me. Do not highlight imports as unused if aliased with. We tried Intellij for some time, but went back to vim, because of RAM usage, responsiveness, vim keybinding integration, vim plugins. if not, you may consider migration from Maven). Button then reordering them would not be correct. The interface gives shortcuts for every feature to speed up the work. It comes under apache2 licenced. I'm working with a Scala/Java hybrid project. Documentation; You signed out in another tab or window. Also, there is nothing special about a Spring Boot application, so you can run and debug a Spring Boot application as you would any other Java program. Formatter markers don't work for import statements. Actually the first impression was that interoperability does not work at all in the plugin. Content Assist (Ctrl + Space) is not working in my Eclipse IDE version 3. Since I have hundreds of files, I wanted to distribute the work on our Dell cluster, running "IBM Platform LSF 8. The import you're trying will not work because the object is defined within the class SQLContext. 1, and then create a file named Hello. Setting up Spark with Maven. 8 final, till the time the Scala plugin for JetBrains catches up. scalameta/scalameta#1780 extension methods sometimes resolve to the implicit conversion method instead of the extension method. scala Here is another stupid scala question regarding functions as first class objects in Scala. This may or may not work. And you can't have the two plugin version on the same eclipse installation. Developers can import project/module which is relevant to them and work on it instead importing entire project which will consume memory and eventually slow down Eclipse. Via the Maven index you can search for dependencies, select them and add them to your pom file. IntelliJ IDEA License Server has the feature to debug your code line-by-line. of import statements at the beginning of the file, sorting the list just after the new import statement has been added. No need to worry about figuring out which Broker is the leader for the topic (and partition), the Producer knows how to connect to the Broker and ask for the meta data then connect to the correct Broker. This plugin assumes imports may be ordered arbitrarily, so it will not work if your file is screwed up enough to use non-commutative. The IntelliJ Scala combination is the best, free setup for Scala and Spark development. It supplies an entire set of instruments and integrations with probably the most current applied sciences and frameworks to be able to enhance. Add the spark-cassandra-connector jar and. renew», for which I do not have solution, so that I moved the sources into a. You can send a code selection to Scala Console by pressing Ctrl+Shift+X (Meta+Shift+X for Mac). Also, some code navigation features, such as finding all callers of a method, did not work well for me. This does not need to be the full set of Brokers in your cluster but should include at least two in case the first Broker is not available. Post that, you can install the lombok plugin from intellij, (After installation Intellij will restart to enable the plugin, so make sure you save your work. It provides a ready-to-use environment to implement, debug, run, and deploy your Spring applications, including integrations for Pivotal tc Server, Pivotal Cloud Foundry, Git, Maven, AspectJ, and comes on top of the latest Eclipse releases. Mill is your shiny new Java/Scala build tool! Scared of SBT? Melancholy over Maven? Grumbling about Gradle? Baffled by Bazel? Give Mill a try! Mill aims for simplicity by re-using concepts you are already familiar with, borrowing ideas from modern tools like Bazel, to let you build your projects in. This may or may not work. To create a new project, launch the New Project wizard and follow the steps suggested in the wizard such as: Selecting Scala and sbt. OK, I realize that I'm going to be flamed, but I thought I'd share my earnest attempt to port an existing java application to Scala. If you are on a method name then you can hit ALT + ENTER to get the Intention Actions where the first is usually the Add type annotation to function definition Illustration: In this case it would add Int to the return type of the exampleFunction. We can only live together in that way. When trying to import a library, the package will be recognized, but the class name can't be resolved. Like most Spring Getting Started guides, you can start from scratch and complete each step or you can bypass basic setup steps that are already familiar to you. Eclipse Jetty provides a Web server and javax. Modify from last article "Editable TableView with dynamic row". I've heard that the SearchibleEnvioronment constructor had a new paramter added to it and it breaks the old Scala IDE integration. First make sure that latest. I have two Eclipse IDE installed, both in my laptop and personal desktop computer. In Python, Lisp, Perl, Scheme, etcetera I'm used to creating function values and assigning them names and passing them around to other functions, like Zipping two arrays together with index. Running your first spark program : Spark word count application. “Love is wise; hatred is foolish. scala在idea导入包的时候不能用请大神帮忙解决下 [问题点数:20分,结帖人KcCoO]. 3 import project from sbt not working Tag: scala , intellij-idea , sbt I have followed the instructions , attempting to either import from build. I recommend using Intellij IDEA as it natively includes Kotlin support. You can run SonarLint on specific files, or even analyze all VCS-changed files. The code fragment in the Figure 1 gives an example of an. On import problem. I just upgraded my angular application from version 5. Go to a particular class The keyboard shortcut below will open a dialog where you can type in the Scala class you would like to open:. The IntelliJ Scala combination is the best, free setup for Scala and Spark development. Many IDE features like getter setter generation etc are simply not needed anymore in Scala and others only work on java, so I think it is still the best to use a good text editor for Scala development. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. Placing in a different package will not work though, Automation Rhapsody. If you worked through the command line example for Maven, you have a Maven project that you can integrate into Intellij IDEA Using built in IntelliJ Maven support.   It also. Check out our Setting up IntelliJ guide for details. scala> import org. How to run Apache Spark with Hadoop using IntelliJ on Windows I am using it with Spark 1. From mobile apps to microservices, from small startups to big enterprises, Gradle helps teams build, automate and deliver better software, faster. Cedric shows a cool approach used in Fantom in this blog post. Built on Akka, Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications. Because if the work-flow is not good you cannot make good apps. Interoperable. To move any node to front position, simple toFront() method of the object. I'm using IntelliJ IDEA for development, but for most of the time I use Ubuntu when at work. The only real pain is import code completion, but that is not enough to go back to the IDE. Only GitLab enables Concurrent DevOps to make the software lifecycle 200% faster. I think he wanted to write a guide at some point how to best use IntelliJ with Slick, working around the (minor) problems. So, to use GATKs Queue, I had to write a scala script "removeDuplicates. intellij java scala cannot be applied #{User Interface. A comprehensive lecture on how to work with Scala in IntelliJ IDEA. In module select Scala and setup your Scala SDK there. For regular Scala projects, use the Project Structure dialog, to configure the test library. Click to enlarge the image below: Let's get started. Do not highlight imports as unused if aliased with. To create button in TableView, custom TableCell (ButtonCell in the code) have to be defined. Search and install Scala: Now create a new project: Select Scala -> SBT (SBT is the 'Simple Build Tool' that is used for package management and compiling of code) Select your JDK, SBT and Scala version, Intellij will download Scala for you. The project is configured using Maven, the source is stored in Subversion. 3 or higher; A JDK 1. 1, the latest version of iHub. I know @szeiger does. I had a hard time making my first steps to a working qscript, so I give some examples (see the other GATK use-cases). 3's content assist feature is working perfectly, but not my personal desktop computer. Simply write the Scala Code and run this file to get the results. Subclasses of scala. In this tutorial, we will show you how to read a file from a resources folder or classpath, in both runtime and unit test environment. IntelliJ IDEA Ultimate Community Educational PyCharm Professional Community Educational PhpStorm. This is Recipe 12. For instructions on how to compile and execute Kotlin applications using the command line compiler, see Working with the Command Line Compiler. To move any node to front position, simple toFront() method of the object. It does not work either. Not all projects need DI, but where it has worked in Java projects, it can work just as well in Scala projects. I have a scala worksheet whereby im trying to import a method from another object. I get this error: java. IntelliJ IDEA 2017. val sqlContext = new SQLContext(sc) import sqlContext. The IntelliJ installation setup offers to install the Scala plugin. In Java you have to explicitly declare that the method is static. I'm using IntelliJ IDEA for development, but for most of the time I use Ubuntu when at work. 196409" (bsub). I have two Eclipse IDE installed, both in my laptop and personal desktop computer. I eventually wiped out the IntelliJ config directory in ~ and rebuilt my IntelliJ project from scratch. The url for update site are on Scala-Ide web site, there is one plugin per scala version, so the plugin for scala 2. I tried using the normal "run" menu on right click, but it does not work. 5: IntelliJ Import Settings • Restart IntelliJ IDEA • Go to Setting → Editor > Colors & Fonts and select one of the new color themes. We recommend IntelliJ, but Eclipse will work so long as you stick to Java. Click the green plus sign to add a new tool. Setting Up a Sample Application in HBase, Spark, and HDFS specifically a JavaSparkContext because the original Scala API is not so easy to work with So try running the import program and. Importing an Ant build 21. xxxx packages. This is highly subjective, and stupid things like these can ruin an already established relationship. Project Settings. The distribution also includes Akka actors in the akka-actor. Object‘s equals() method is used, which just compared the references. With Maven it is usually a relatively trivial, well documented step. SBT will make sure to get all the rest of them. Setting up the environment. The IntelliJ installation setup offers to install the Scala plugin. But from where did IntelliJ download the Scala Logging external library?. DateTime object UseJodaTime extends App { println(new DateTime) } To run the Scala program, open it on the Editor; right click the editor and, from the context menu, select Run As | Scala Application. Play is based on a lightweight, stateless, web-friendly architecture. I am working on an application that needs to load various images and there seem to be a million different ways to do this in the examples I have found online. With Maven it is usually a relatively trivial, well documented step. Using this method, you'll not have to manage dependencies, download or even versionning of N2S3 packages. Spring Cloud Data Flow makes it simple to connect systems by providing out of the box connectors for the most common integration scenarios. here solution: clear cache. IntelliJ IDEA License Server has the feature to debug your code line-by-line. This concludes our tutorial on Your first Scala Hello World application and I hope you've found it useful!. As a matter of the fact, you can open IntelliJ Idea, install Scala plugin, copy-paste code from. IntelliJ also look at this folder in order to offer us code completion and other IDE features. But the file name and its extension is important for several readers. Write in Java, C++, Python or your language of choice. if not, you may consider migration from Maven). awt (the Java Abstract Window Toolkit) is used for a number of related packages to make the relationship evident, but not to show inclusion. I want to use my IDE to edit and debug the code. If the IDE import does not work out, you can let the gen-idea sbt plugin generate the configuration files instead. Is this the right way to approach this or is there a better way to do this? I'm quite new to Perforce and still figuring out how it. Examples above will not work, as Point doesn’t have equals() method properly overridden. The name was changed for a number of reasons. I have chosen to use a for comprehension to capture the result of the ActorRef of the more actor. I want to create a jar file out of a simple Scala file. Now that we have IntelliJ, Scala and SBT installed we're ready to start building a Spark program. Import SBT project failed #7. And refactoring is not a problem with multiple cursors and ag. Note that you'll need to replace YOUR_SPARK_HOME with the location where Spark is installed. But in case you are a Player, an owner of Intellij IDEA 12. 1 and then Maia builds, and it gets better and better. However my laptop Eclipse 3. To create a new project, launch the New Project wizard and follow the steps suggested in the wizard such as: Selecting Scala and sbt. You can run SonarLint on specific files, or even analyze all VCS-changed files. To move any node to front position, simple toFront() method of the object. That’s why Gradle comes with a comprehensive API that makes it simple to perform the file operations you need. SCL-16203 Import via Alt+Enter does not work in Worksheet but does work in regular. OK, I realize that I'm going to be flamed, but I thought I'd share my earnest attempt to port an existing java application to Scala. Spark - Build Spark from source on Windows Posted on February 9, 2017 by shreeshamahishi — 1 Comment Building Apache Spark from source in on a Windows system is a relatively time-consuming task and involves some effort to work around minor hurdles that one might encounter along the way. If that’s not it you might want to show the complete code that you’re trying to run and the exact output that you get. Step 2: Resolve. scala> import org. Creating a new forum topic in this category is not supported. We recommend to use IntelliJ instead (see above. The thing is that the methods in Scala Object types are implicitly static; that's the whole point of putting them there. The interface gives shortcuts for every feature to speed up the work. There are 2 ways to do that - either Download these from the Internet and then import these Jars in the Project Structure module dependencies. From the project src folder, when I right click, in the "New" context menu, I don't find "Scala Class" or anything scala related. The API has two parts to it: Specifying which files and directories. gen-idea is a sbt task that generates configuration files for the IntelliJ IDEA. Find these options under the usual IntelliJ Analyze menu. it has still some weird problems with unused import detection, so I deduce it is not as stable as it should be. Have you double-checked the path the Jar file is located in, and have you relocated the project at some stage? For demo purposes, I'll download it and put it in a mock NetBeans project. For instructions on how to compile and execute Kotlin applications using the command line compiler, see Working with the Command Line Compiler. 6, “How to disassemble and decompile Scala code. Then you can read the guide, work on the code, and run the project. IntelliJ Scala and Spark Setup Overview. I was just trying to develop a little Java/Swing application in Scala, and right away I ran into the problem of how to import Java classes and packages into a Scala application. Do not highlight imports as unused if aliased with. 1 Community Edition to work with Scala. Finally, you should see a new panel open with the result of your application which simply prints "Hello World from Scala!" And that's it! You've just created and ran your first Scala application within IntelliJ. Notice: Undefined index: HTTP_REFERER in /home/baeletrica/www/rwmryt/eanq. The thing is that the methods in Scala Object types are implicitly static; that's the whole point of putting them there. In my plugin, there's a dependency on some SDK artifacts that are not included into SDK classpath by default. The one thing that puts me back in the REPL is when I need to import sqlContext implicits ( import sqlContext. However many people like IntelliJ and use it regardless. scala files SCL-15989 Pasting when having multiline string selected does not insert delimiters SCL-15025 support modifiers introduced in scala 3 in parser. sbt file to import a logging utility named Scala Logging. I converted from Eclipse to Intellij (Ultimate, 14. But you don’t have to. Re: [bigdl-user-group] Problems Running BigDL in Intellij import com. As such the following prerequisites need to be obtained should you wish to run the code that goes along with each post. Installing the Scala plugin. 1) unzip the file and copy the unzipped file to your work-space(i. It would be cool if the script could register the IntelliJ Platform Plugin SDK and. By the way, the community welcomes any questions. If you already know Eclipse and you want to find out more about features available in the Scala IDE, make sure not to miss the Scala IDE Features Overview, on the front page. Unfortuantely worksheets do not work with namespaces/packages. Deeplearning4j is a framework that lets you pick and choose with everything available from the beginning. However, the databricks-connect test command will not work. This step by step tutorial will explain how to create a Spark project in Scala with Eclipse without Maven and how to submit the application after the creation of jar. But I do not use Git. We can directly connect Pycharm with Dev endpoint and do the development work. this post helpful. Write in Java, C++, Python or your language of choice. Button then reordering them would not be correct. dat file concurrent access; SCL-13664 Unable to add Scala SDK with Intellij 2018. Also check "use auto-import" to have Intellij/SBT automatically download the needed packages. If it doesn't work for you, have a look on the methods below to overcome common issues. In this world, which is getting more and more closely interconnected, we have to learn to tolerate each other, we have to learn to put up with the fact that some people say things that we don’t like. Spring Cloud Data Flow makes it simple to connect systems by providing out of the box connectors for the most common integration scenarios. Simply write the Scala Code and run this file to get the results. It's definetelly tool to go on pure Scala projects, but usually we have already Java project (and got lucky to have Gradle as a build tool. If the IDE import does not work out, you can let the gen-idea sbt plugin generate the configuration files instead. Every time, when i. When working with Git from the command line, you will need to use more than just the Git commands. Note that it's possible to use Databricks Connect with IDEs even if this isn't set up. Packages and Imports. I want to focus on the “Integrated” in this post, which is based on my Scala Days talk. You can also select the appropriate option for grouping modules in your project. Following the JetBrains model we're providing access to our development process through an Early Access Program. And then you have IntelliJ, even the community version fill smoother than any others IDEs. Right click on the package and choose New Scala Class, and enter PiMessage for the name of the class. The reason I am not providing the textual representation, is that these version will become outdated and you should learn to use the mvnrespository to get your dependencies. scala,intellij-idea. Also, there is nothing special about a Spring Boot application, so you can run and debug a Spring Boot application as you would any other Java program. DateTime object UseJodaTime extends App { println(new DateTime) } To run the Scala program, open it on the Editor; right click the editor and, from the context menu, select Run As | Scala Application. The one thing that puts me back in the REPL is when I need to import sqlContext implicits ( import sqlContext. In Scala, if the compiler is able to find a method to convert a string object to an instance of a class that has the required method (which resolves the type error), that. The first, IDEA plugin solution, is highly recommended. For the project foo for which I'm working on trunk and did not create a branch, I do not want to go through the whole project/Intellij module setup process and would like to reuse the existing local copy and setup. After installing the latest Intellij version, I was unable to upgrade the scala plugin to the latest version until I uninstalled the scala cucumber plugin (message was that the version was incompatible). But if we are to live. -- You received this message because you are subscribed to the Google Groups "scala-user" group. The programming language will be Scala. java and javac cmd are working properly on normal cmd line so it shows that environment variable is working properly but when i run any programthen it can compile only and make a byte code but i cannot run this class file via javac tool. There are two versions in wide use today: 0. Also check "use auto-import" to have Intellij/SBT automatically download the needed packages. IntelliJ/Scala doesn't handle SBT dependsOn correctly in multi project builds Color schema in scala source is not working correctly. Note that you'll need to replace YOUR_SPARK_HOME with the location where Spark is installed. In this spark scala tutorial you will learn-Steps to install spark; Deploy your own Spark cluster in standalone mode. And I have nothing against ScalaIDE (Eclipse for Scala) or using editors such as Sublime. Not sure if he got around to it. We’re very happy to continue our a guest post series on the jOOQ blog by Manuel Bernhardt. Subclasses of scala. 0 developers known this issue and able to resolved it after taking some time to figure out. The IDE level (global) settings and structure are applied to all newly created projects. Work with Scala code in the editor. an overview of the automatic refactorings for Scala programs of-fered by the IntelliJ IDEA programming environment. Quick start. Next, add a folder named features and within this folder create a new file named add. If it is not installed, follow these instructions before importing Flink to enable support for Scala projects and files: Go to IntelliJ plugins settings (File -> Settings -> Plugins) and click on "Install Jetbrains plugin…". The AMK resides both in the Scala actors and in the akka-actor. The AMK resides both in the Scala actors and in the akka-actor. If you run IntelliJ IDEA for the first time, you can install the Scala plugin when IntelliJ IDEA suggests you to download featured plugins. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. How to make IntelliJ IDEA work with type safe BigQuery classes? Due to issue SCL-8834 case classes generated by @BigQueryType. Note I am using scala 2. Update on 28 May 2008: The code and steps in this blog entry have been updated to reflect the VisualVM 1. While it's not free like Eclipse or NetBeans, I believe the productivity gain is worth the annual subscription. we use at work). 3 import project from sbt not working Tag: scala , intellij-idea , sbt I have followed the instructions , attempting to either import from build. You can send a code selection to Scala Console by pressing Ctrl+Shift+X (Meta+Shift+X for Mac). Open IntelliJ IDEA. You'll pick a Spring guide and import it into IntelliJ IDEA. IntelliJ IDEA lets you run Scala console and evaluate your code. snapshot of this file has been stored in the git database. I recommend using Intellij IDEA as it natively includes Kotlin support. scala, generate a HelloWorld. interceptor. IntelliJ/Scala doesn't handle SBT dependsOn correctly in multi project builds Color schema in scala source is not working correctly. It is tailored for Java and only Java development, much more stable than Eclipse, supports many popular Java frameworks & libraries better than eclipse (Sp. ___ IntelliJ Platform SDK Documentation. The solution is to remove scala-compiler from the list, then Idea will propose to add Scala SDK. Compiles, but generates no output. Consider the following relationship between Student and Course. A complete list of features is available in the expandable menu on the front page. 6, “How to disassemble and decompile Scala code. I'm working with a Scala/Java hybrid project. 2 before with forge installed and a few mods and all of them were working fine. In this tutorial, we’re going to review one way to setup IntelliJ for Scala and Spark development. I want to create a jar file out of a simple Scala file. this post helpful. The IntelliJ Scala community may be another place to ask. By the way, the community welcomes any questions. Not that often, but sometimes it happens. But if you tried to learn Scala or Java and found it was not for you, you might want to give Kotlin a look. Write in Java, C++, Python or your language of choice. plz resolve this problem send your response on. Import an SBT project. I am working on an application that needs to load various images and there seem to be a million different ways to do this in the examples I have found online. _ Take a look at Why import implicit SqlContext. It tried to use them instead of Scala SDK: File->Project Structure->Modules->Dependecies. NOTE: From our experience, this setup does not work with Flink due to deficiencies of the old Eclipse version bundled with Scala IDE 3. Button then reordering them would not be correct. This does not need to be the full set of Brokers in your cluster but should include at least two in case the first Broker is not available. Eclipse Scala IDE. Only three weeks after my last post SCALA development for Android is becoming more pragmatic again. Here at Cursive we firmly believe that interaction with our users is key to a great product. I eventually wiped out the IntelliJ config directory in ~ and rebuilt my IntelliJ project from scratch. Creating a new IntelliJ Project. Subclasses of scala. 1, “How to get started with the Scala REPL. Read real reviews from verified users about pricing information and what features IntelliJ IDEA offers. I'm currently working on a scala project (scala version 2. Your team is suttisfied to use Java for mainstream. I want to use my IDE to edit and debug the code. Many IDE features like getter setter generation etc are simply not needed anymore in Scala and others only work on java, so I think it is still the best to use a good text editor for Scala development. There are several basic commands that you should learn, in order to make full use of the command line. IntelliJ also look at this folder in order to offer us code completion and other IDE features. 24 Release Notes; IntelliJ does not respond when searching SQL History Documentation window gets focus on second Smart Type Setting up your development environment using Intellij IDEA The Maven Alfresco SDK is designed to work well with IntelliJ IDEA. Deeplearning4j is a framework that lets you pick and choose with everything available from the beginning. Only a few things: tried to import a large project (gradle based) in and tried to execute just a JUnit test in IntelliJ and after hours of trying things out it's still not working (I can run it but not debug)… in Eclipse it took me just (REALLY!!!) few clicks and everything worked out of the box!!!!. b) Create project via sbt 1) I follow the directions described on the Play framework page - when I execute "sbt" I get an error: play#sbt-plugin;2. IntelliJ Version: IntelliJ Idea 2018. The first step is to create a spark project with IntelliJ IDE with SBT. App may not work correctly. Play is based on a lightweight, stateless, web-friendly architecture. You very often see this when you first create new projects and it is easy to miss. sc inside the examples dir: class Foo {val a = 10} new Foo(). Only three weeks after my last post SCALA development for Android is becoming more pragmatic again. If it is not installed, follow these instructions before importing Flink to enable support for Scala projects and files: Go to IntelliJ plugins settings (File -> Settings -> Plugins) and click on "Install Jetbrains plugin…". awt package, but it does not import java. fromTable or @BigQueryType. The reason I am not providing the textual representation, is that these version will become outdated and you should learn to use the mvnrespository to get your dependencies. 2 to version 6. You can also optimize your imports and exclude classes from auto-import in the editor. SBT also does have excellent article, but it does not work for Play project without tweaki. Nota bene: in order to work properly object used to call the mocked method (Point is the current example) should have properly implemented equals() method otherwise java. This is Recipe 12. This is an excerpt from the Scala Cookbook. , unix, windows). Staged but not yet committed, i. If you worked through the command line example for Maven, you have a Maven project that you can integrate into Intellij IDEA Using built in IntelliJ Maven support. Types become not only a form of guarantee, but a language for expressing the construction of programs. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. Either way, you end up with working code. For example, if your imports look like this: import java. Subclasses of scala. For example, it is not easy to watch or evaluate expressions. When I have both 'Use REPL mode' and 'Use Interactive mode' checked, and I type in a line of code, the expression is not evaluated automatically, as one would expect. 1 Scala project, which is a nice departure from Spring and Hibernate, so it’s a good time to share some first thoughts on the differences between the old traditional Java webapp, Grails, Rails and Play 2. For this tutorial we'll be using Java, but Spark also supports development with Scala, Python and R. NOTE: From our experience, this setup does not work with Flink due to deficiencies of the old Eclipse version bundled with Scala IDE 3. I was just trying to develop a little Java/Swing application in Scala, and right away I ran into the problem of how to import Java classes and packages into a Scala application. System architecture: Windows- 64-bit x86, 32-bit x86; MacOS- 64-bit x86; Linux- 64-bit x86, 64-bit Power8/Power9. Back to top How to create an immutable Scala Map class instance. I'm an IntelliJ user, so this is my IntelliJ setup.