Author Archives: Pavel Fatin

About Pavel Fatin

IntelliJ Scala plugin developer (http://pavelfatin.com)

Of braces and parentheses

In Scala, you may often want to replace braces with parentheses and vice versa. For example, imagine that you decided to use curly braces in the following statement: It looks like not a big deal, but in practice it takes … Continue reading

Posted in Uncategorized | 1 Comment

Highlighting of arguments to by-name parameters

In Scala it’s not always obvious when some expression is an argument to a by-name parameter. New highlighting helps to easily spot such expression.

Posted in Uncategorized | 1 Comment

Signature matters!

In Scala, method signature semantics goes beyond method name, parameters and result type. The signature can also tell about whether a method has side effects, or whether a method represents a property. However, sometimes we forget about writing proper definitions … Continue reading

Posted in Uncategorized | 7 Comments

Type-aware highlighting

Type-aware highlighting is a part of error highlighting that relies on type system. Some errors can be found without using type information, for example: Other errors, however, require a knowledge of entities type: Type-aware highlighting allows to spot such errors … Continue reading

Posted in Uncategorized | 61 Comments

Project configuration explained

Although the work on new Scala project configuration is still in progress, a brief clarification may come in handy.

Posted in Uncategorized | 5 Comments

Type Info and Toggle Type Annotation

Type Info hint (Ctrl + Alt + Shift + T): Toggle Type Annotation intention:

Posted in Uncategorized | 1 Comment