Early Access Program Features

IntelliJ IDEA 16 EAP Improves Editor and VCS Integration

Every week we publish a fresh IntelliJ IDEA 16 EAP. Today’s build, among bugfixes that address issues you reported, brings a few improvements to Git integration and IntelliJ IDEA heart, the code editor.

Move elements right and left

We already have a way to move code statements up and down: Ctrl + Shift + Up/Down (Cmd + Shift + Up/Down for OS X.) They come in handy when you’re rearranging code statements. Sometimes, however, it might be useful to move them left or right (when you’re, for example, changing the order of attributes of an XML element, method parameters, or elements in an array initializer).

To make it possible we’ve added two new actions: Alt + Ctrl + Shift + Left/Right (Alt + Cmd + Shift + Left/Right for OS X).

UPDATE: The Action has been renamed to Move Element Left/Right.

VCS integration

Two new actions to help you work with Git branches, available via the Branches popup: Checkout with Rebase and Rename.

The Checkout with Rebase action is useful if you don’t want to waste your time on extra files synchronization and compilation when you do two operations: Checkout and then Rebase.


If you do an interactive rebase via the VCS → Git → Rebase main menu, IntelliJ IDEA now automatically stashes and unstashes local changes and assists with resolving conflicts.

The experience of applying patches has also been improved: you can now recover from the patches that could not be applied because of conflicts.

We hope you’ll find all these enhancements useful. Share your impressions and concerns in the EAP discussion forum, and reports bugs our issue tracker.



This EAP comes with bundled preview build of Kotlin 1.0 Release Candidate. If you use Kotlin in Maven or Gradle projects you need to setup Kotlin EAP Maven repository in your project, see Kotlin Early Access Preview for details.

Develop with pleasure!

Comments below can no longer be edited.

15 Responses to IntelliJ IDEA 16 EAP Improves Editor and VCS Integration

  1. Avatar

    Ingo says:

    January 28, 2016

    I miss a responsive web site. I like reading these articles on my phone.

  2. Avatar

    Mike says:

    January 28, 2016

    The shifting of code left or right seems like it would be more valuable if it was an actual refactor. If I move method parameters to the left or right their corresponding usages aren’t changed. I know this would overlap with the “Change Signature” refactor but being able to do the change signature with a simple left/right movement would be really nice!

    • Avatar

      Riccardo Cossu says:

      June 30, 2016

      that depends on the case; I agree that such a shortcut would be useful, but I just needed this exact functionality and it worked great for me (I had a list of calls where I swapped two String parameters)

  3. Avatar

    Даниил Водопьян says:

    January 29, 2016

    Does this swapping arguments work when they are on different lines? That would be super useful when changing the order of enum elements, for example.

    • Avatar

      Andrey Cheptsov says:

      January 29, 2016

      Yes, it works for different lines too, including enum elements.

  4. Avatar

    Shawn Kovalchick says:

    January 29, 2016

    There are so many keyboard shortcuts! Is there an up-to-date reference guide to all the shortcuts? (even better, any on-screen reference guide?)

  5. Avatar

    Mike says:

    January 29, 2016

    Great feature.
    The out-of-box key map for Eclipse is not updated for the «Alt + Ctrl + Shift + Left/Right» new combination.

    Please, update & sync all key maps and publish the updated posters for all popular key maps, not only for the default IDEA key map.

    • Avatar

      Dmitry Batrak says:

      February 1, 2016

      Alt + Ctrl + Shift + Left/Right is occupied already in Eclipse keymap. We’ll map it to Alt+Shift+Left/Right there, we don’t have an equivalent of Eclipse action bound to that shortcut anyway.

  6. Avatar

    Selters says:

    February 4, 2016

    Really like the idea of “Move statements right and left”. Looks really cool in html.

    But it MUST work for Scala. It’s the only thing I care about. I have zero motivation for upgrading my license if this feature is not supported in Scala. IntelliJ is by far the best IDE for Scala and does an awesome job at that. Keep improving on the Scala plugin.

    Thanks 🙂

  7. Avatar

    kuba says:

    February 22, 2016

    awesome. Been waiting for switching arguments shortcut for a while

  8. Avatar

    Geoffrey De Smet says:

    March 25, 2016

    In the Git log window, when looking at a diff of a commit, it would be nice – for peer reviewing usage – that the “show diff with local” action, shows a diff of the local file with the file BEFORE the commit, not after the commit.

    This would make it easier to see the changes of a commit on a file and immediately edit that file in the diff window (such as revert part of those changes or improve them further by using better variable and method names for new the code).

  9. Avatar

    CC says:

    March 22, 2017

    Please add support for the new Move Element Left/Right action to editing javascript.
    it’s shows disabled in the menu when editing js files, but appears for java files.

Discover more