Author Archives: Pavel Fatin

About Pavel Fatin

Programming enthusiast, technology advocate. IntelliJ Scala plugin developer at JetBrains, https://pavelfatin.com

Beyond Code Style

They say “with great power comes great responsibility.” Because of the IntelliJ Scala plugin’s huge user base, most default settings tend to become de-facto standards in the Scala community, so we strive to choose the defaults wisely. Moreover, we believe … Continue reading

Posted in New Features, News and Events | Tagged , , | 8 Comments

How to contribute to IntelliJ Scala plugin

It may well be that you haven’t considered contributing to any open source project, let alone the IntelliJ Scala plugin. However, if you use IntelliJ IDEA to write Scala code, it’s actually a very reasonable thing to do. Here’s how … Continue reading

Posted in Uncategorized | Tagged , , , | 13 Comments

Scala Plugin 1.2 RC Introduces Ahead-of-time Code Completion

With the just published Scala Plugin 1.2 RC build, we’re happy to pioneer a new kind of coding assistance, which we like to call “ahead of time” (AOT) code completion. Have you ever noticed that unlike Java, in Scala we have to … Continue reading

Posted in EAP, New Features | Tagged , | 9 Comments

IntelliJ IDEA Team at Scala Days 2014

The Scala community knows that the place to be on June 16th – 18th is Scala Days 2014 conference. So, the entire team behind the IntelliJ Scala plugin went to Berlin to embrace the awesomeness of this event. Besides attending the … Continue reading

Posted in News and Events | Tagged , , , | 1 Comment

SBT Plugin for IntelliJ IDEA Nightly Builds

We know that you have been waiting for SBT project support in IDEA too long. That’s why we make SBT plugin nightly builds available even before an actual release of the plugin. Features Though work on SBT plugin is still in … Continue reading

Posted in News and Events | Tagged , , , , , , , | 33 Comments

A new way to compile

Together with the IDEA 12 release Scala plugin brings a brand new Scala compilation subsystem. Here are the main updates: The compilation is now “external”. Incremental compilation is now handled by SBT (instead of IDEA itself). Compile server is now … Continue reading

Posted in Uncategorized | 117 Comments

Format and convert

The truth is that programmers often need to embed dynamic variables into static string patterns. To accomplish this feat we used to write something like: or even A good news is that Scala 2.10 brings a shiny new string interpolation: … Continue reading

Posted in Uncategorized | 2 Comments

Embrace Recursion

Recursion is an essential tool in functional programming (FP) – it is the canonical way (and often the only way) to represent iteration. Being a hybrid object/functional language, Scala offers both recursion and imperative control structures (like do, while, etc) … Continue reading

Posted in Uncategorized | 6 Comments

Cherish your packages

After the introduction of chained package clauses in Scala 2.8 we have the ability to rewrite “package foo.bar” as “package foo; package bar” in order to automatically import all “foo” package entities (so, these two declarations are not equivalent). Scala … Continue reading

Posted in Uncategorized | 2 Comments

Real FSC support

Usual Scala compilation never seems fast enough. There are two main reasons why: It takes a lot of time to start Scala compiler and to process standard libraries. Scala compiler doesn’t support selective recompilation. The first problem is solved by … Continue reading

Posted in Uncategorized | 23 Comments