Inline Refactoring for Type Aliases and Kind Projector Support

Scala Plugin 1.7 for IntelliJ IDEA 15 EAP brings you a number of new features and improvements, among which we’d like to highlight these two:

Inline refactoring for type aliases

Invoked just as any other inline refactoring, by placing the caret on an alias you want to inline and pressing Ctrl+Alt+N.
ScalaGif
For now this refactoring is only available for non-parameterized types and for aliases that are used inside of the same class.

Kind projector support

Kind Projector is a Scala compiler plugin that provides an easy way to create type lambdas. Scala 1.7 plugin includes inspection that suggests to rewrite existing lambdas using the Kind Projector function syntax.
kindprojector
You can use the settings under Settings | Editor | Code Style to select whether you want to denote lambdas with the Lambda keyword, or the λ symbol.
Feel free to share your feedback in our discussion forums and issue tracker.

Develop with Pleasure!

This entry was posted in EAP, New Features and tagged , , . Bookmark the permalink.

2 Responses to Inline Refactoring for Type Aliases and Kind Projector Support

  1. kerr says:

    nice to have!
    thanks

  2. Dave Stevens says:

    Kind Projector support is greatly appreaciated!

Leave a Reply

Your email address will not be published. Required fields are marked *