IntelliJ IDEA 2016.2 is Here!

The last four months passed quickly, yet they were very productive. Today we give you IntelliJ IDEA 2016.2, our second update in the series of this year’s releases. As usual, it brings both useful new features and important fixes. Read on to learn what kept us busy and download the update to try all of its new features without any further ado.

IntelliJIDEAult_splash20162@2x

Debugger

Continuing our battle for space and UX, we’ve merged the Watches and Variables views together.

idea_2016_2_variables

Now you can use multiline expressions where previously they weren’t supported: the Condition and Evaluate and log fields in Breakpoint settings and the Use following expression field in the Data Type Renderers settings.

idea_2016_2_multiple_lines

Also, try and return statements are supported in Evaluate Expression.

Git and Mercurial

The Log view for Git and Mercurial has been enhanced. Its data is now loaded in the background (on project startup, as well as after any change in the local repository), which means it opens more quickly now.

idea_2016_2_log_progress

Plus, when refreshing or initially loading, a thin stripe is shown under the toolbar to indicate the loading progress. If you have a Filter query set, while scrolling at the bottom you may see another progress indicator.

Change details are now shown for any number of selected commits (previously you could select just one).

The Commit dialog shows unversioned files so you don’t forget to commit something important.

Now you can quickly jump to the Filter field by pressing Ctrl+L (Cmd+L for OS X).

Also, we’ve fixed a very important problem that Windows and OS X users might have experienced: case-only rename. Now you can do that without any problems.

Applying patches

Now, if you copy your patch into the Clipboard and then switch to the IDE (or drag the patch file into the IDE window with the mouse), the IDE will automatically prompt you to apply it.

If a file has been moved or renamed since a patch was created for it, the IDE will try to figure that out or let you manually choose the file to apply the patch to.

In case a file has been changed after you created a patch, and IntelliJ IDEA cannot find its original revision (e.g. it got lost after Rebase, or its format is not supported), IntelliJ IDEA will now prompt you to apply the changes from the patch using a Merge-like dialog. Also, in the Apply Patch dialog, before applying a patch you can compare it to your local version using the Show Diff action. While comparing, you can edit your local version.

idea_2016_2_apply_patch_2

UI

The Editor now supports fonts with ligatures – special symbols composed of two or more other symbols. You can turn this option on in SettingsEditorColors & FontsFont (the checkbox Enable font ligatures). Make sure the selected font support ligatures, e.g. FiraCode, Hasklig, Monoid and PragmataPro.

idea_2016_2_ligatures_1

Also, we’ve added Breadcrumbs for Java files. This lets you keep track of your current position and navigate over enclosing classes, lambda expressions and methods.

idea_2016_breadcrumbs_1-1

You can turn this feature on in SettingsEditorGeneral Appearance (the option is appropriately called Show breadcrumbs).

The IDE look now can be customized even more by setting any image as a background for the Editor or the IDE window. Because you can change the image opacity, it works well with both the default and Darcula color themes.

2016_2_background_img_1

The action is called Set Background Image and available from either Find Action or the context menu on any image file.

We’ve also changed the way notification popups are shown: now they appear in the bottom right-hand corner (next to the Events tool window), look more compact and are grouped by the subsystem they came from.

idea_2016_2_events

The Inspection tool window has been redesigned for better ergonomics: now the code location for each problem is displayed, along with controls to apply a quick-fix or suppress the inspection.

idea_2016_2_inspection_tool_window

Java

The update ships with support for JUnit 5, the next generation of the most popular unit testing framework for Java.

idea_2016_2_junit_5

Also, the IDE warns you when you instantiate new objects inside equals, hashCode, compareTo or Comparator.compare methods. This may help avoid significant performance problems, e.g. if objects of classes with such constructs are added to Set or Map, where these methods are frequently invoked.

idea_2016_2_inspection_1

Spring Framework

The Spring Framework support continues to get more love.

We’ve added an inspection that offers to automatically replace field injection with constructor injection. We’ve supported using generics as qualifiers (the option added in Spring 4.3) and EventListener meta annotations defined with AliasFor.

idea_2016_2_spring_fields

Also, we’ve added advanced support for Spring Cache (added in Spring 3.0 and completely reworked in Spring 4.1). The support includes navigation; inspections; syntax highlighting, code completion and navigation inside SpEl; etc.

idea_2016_2_spring_cache_2

To FreeMarker and Velocity templates we’ve added code completion and navigation for variables defined in Spring MVC controllers.

idea_2016_2_spring_freemarker

We’ve supported the changes introduced with Spring Security 4.0 and added code completion and navigation for SpEl in annotations and inside XML.

idea_2016_2_spring_security

Plus, we’ve added highlighting and navigation for messages from Spring in Console.

JavaScript

The IDE now helps you not only write ES6 code, but also convert to it JavaScript of older versions. The new intention lets you replace normal anonymous functions with arrow functions and shorthand arrow functions.

idea_2016_2_js_arrow_function

In addition to postfix code completion implemented earlier, we’ve added the .const and .let templates.

idea_2016_2_js_postfix

React

The IDE now understands component props defined with propTypes and offers code completion and navigation for them.

idea_2016_2_js_react_proptypes

Component lifecycle methods (e.g. componentDidMount) aren’t marked as unused anymore.

When you specify event handlers (e.g. onClick, onChange, etc), the IDE now adds braces instead of double quotes (as expected).

Talking about code styles and quotes, now you can specify your preference of single quotes, double quotes or nothing. Customize this in SettingsEditorCode StyleHTML → OtherGenerated quote marks.

idea_2016_2_js_quotes

Finally, the IDE now understands non-DOM attributes, such as key, ref and dangerouslySetInnerHTML.

AngularJS

For AngularJS 2 we’ve added many useful live templates. Go to Project WizardStatic Web to find the Angular CLI project generator.

idea_2016_2_js_angular_live_templates

TypeScript

IntelliJ IDEA brings support for many features of TypeScript 2.0: optional class members, readonly property, never type, this function type, global module export declaration, resolve for type declarations in @types folder, path mappings based module resolution, and more. Also, try smarter support for enums.

Npm, Gulp and Grunt

Any npm, Gulp and Grunt now can be automatically executed before a Run configuration. For that, you have to add your script in the Before launch section of the Run configuration dialog.

idea_2016_2_js_before_make

SQL and Databases

As DataGrip, a new JetBrains product, evolves, IntelliJ IDEA’s tools for SQL and databases evolve as well.

In the Data Source and Drivers dialog, the IDE offers code completion for the Database field.

idea_2016_2_dbe_database_names

The Database tool window now provides the option Auto-scroll from Editor. When you open any database item in the Editor, the IDE selects this item in the Database tool window.

idea_2016_2_dbe_autoscroll

Code completion for SQL is now more context-aware, e.g. if the expected symbol is a table, the IDE will not suggest functions.

idea_2016_2_dbe_relevant_sql

Surround With now lets you pass any selected expression as a parameter to a function.

idea_2016_2_dbe_surround_with

The Table Editor now provides completion when editing cell value (based on column values in the table).

idea_2016_2_dbe_values_completions

Table columns can be resized via shortcuts: Ctrl + Shift + Right/Left (Cmd + Shift + Right/Left for OS X).

For PostgreSQL we’ve added support for Schema Search Path, Range types and types with TimeZone.

Android

The update includes the Android Studio 2.0 features: faster Emulator, experiment GPU Debugger, faster full builds, and code generation and testing for App Indexing. Note, Instant Run is not fully-merged yet.

Installer

Last but not least, the Windows installer now includes our custom JDK build with fixes that address focus and font rendering issues.

OK, it’s time to stop reading about these goodies and start trying them! We hope you like what you see. If you do, spread the word!

In case you’d like to dive deeper into the changes, join our live webinar on July 27th at 18:00-19:00 CEST (12 AM – 1 PM EDT).

The JetBrains Team
Develop with Pleasure!

About Andrey Cheptsov

Part-time dreamer. JVM/JavaScript geek. IntelliJIDEA Marketing Manager at JetBrains.
This entry was posted in New Features, Releases and tagged , . Bookmark the permalink.

87 Responses to IntelliJ IDEA 2016.2 is Here!

  1. ANDREY says:

    And nothing about Golang support. :((

  2. Gerhard Mueller says:

    Can the Watches view be re-added again? I use the watches view to see the interesting variables instead of searching them in the long list over and over again.

  3. Pawel says:

    Did the default font changed? I liked the old one better, what was the name of the old one?

  4. Andrei Bogomja says:

    Thanks for ligatures, guys but major bugs reported 6 months ago still not fixed. LOL.

    https://youtrack.jetbrains.com/issue/IDEA-152049

  5. suxiaomi says:

    its nice,we all use it in China.

  6. Anindya Chatterjee says:

    Where is the download for Linux version?

    The below link does not work from the download page. Can anybody please look into this?

    https://www.jetbrains.com/idea/download/download-thanks.html?platform=linux

  7. Pieter De Bie says:

    Background support! I wonder if my colleagues will appreciate my Hello Kitty IDE?

  8. Nudge says:

    Thanks for the update, sounds great!

  9. Tonda says:

    You’ve added good features :)
    Will there be an actual update? Currently the IDEA only offers me link to download new version and reinstall…

  10. Przemek says:

    I have a serious problem with the new version. When I installed it on Windows 10 I run it but I have a problem to display it on the desktop. I see the Intellij on the taskbar, when I click on the Win + Tab I see Intellij on the opened programs list, I see it on miniature when hover the name on taskbar but there is not way to show Intellij on desktop for normal work. I have tried (http://scottiestech.info/2009/12/30/quickfix-my-program-is-running-but-i-cant-see-the-window-on-the-desktop/) all the tricks to display but still nothing. After installation of new version my old 2.16.1 version when I’m running it has the same symptoms. In this moment I cannot work at all. Do you know what could that problem and how to fix it?

    • Przemek says:

      Ok, I figured it out. When I imported the project(s) one more time (removed old intellij directory inside my project and .iml files) it stars working fine. Uffff…

  11. Tonda says:

    ok, now I can see my original post, it says “Your comment is awaiting moderation.”, it was not visible before, so it was not deleted. You can delete the latter comment :)

  12. Marko Vodanovic says:

    So… The background image… How do I remove it, once set? Also, is it possible to have it only in the editor window and not across the whole IDE?

    • Andrey Cheptsov says:

      There is a “Clear” button in the dialog. Right now there are two options: “Editor and tool windows” and IDE Frame. “Editor only” could be another option indeed.

  13. Cristian Viorel Pasat says:

    Hello, a question: when I run intellij x64, while i have the oracle jdk x64 installed, after enabling font ligatures, there is a warning sign which sais that current jdk doesn’t support ligatures, and it sends me to a page where i am shown how to configure the “good sdk”.

    From where should i download that sdk?

  14. Amit Jain says:

    Scala plugin is not supported

    Why did you remove the support for scala plugin?
    When are we expecting a compatible plugin update?

  15. Michela says:

    Thank you for the update!
    Just a small note: after updating, the “Recent Projects” list in the startup screen behaves differently for existing projects.
    In my case, it shows the name of the folder where the project is located, rather than the actual project name (the one under .idea/.name).
    Once the project is opened, the correct name appears as window title, but under “File”/”Open recent” I also see folder names instead of project names.
    What did I do wrong?
    Thank you

    • Chris Herron says:

      I am having this same issue. It’s particularly annoying because all of our development happens in a src directory under a parent directory which I don’t want in intelliJ, so, now after upgrading to 16.2, all of my projects just say “src”. This is incredibly frustrating when trying to navigate between projects. Why is it not the project name that is displaying? It make no sense that I should be forced to rename these directories to match the project name.

    • Andrey Dernov says:

      Hi Guys,

      There was a bug indeed: https://youtrack.jetbrains.com/issue/IDEA-156993 The fix will be available in the next IDEA 2016.2.X update. Sorry for inconvenience.

  16. 老美 says:

    Althoughhaven’t tried IntelliJ before, I’m interested in features it offers.

  17. Artem Vlasov says:

    Download new version on Mac OS (El Capitan 10.11.5), on login form received NPE. From logs
    2016-07-13 15:34:01,481 [ 22392] INFO – .license.impl.JetprofileSource – Unexpected JBA connection error: java.lang.RuntimeException: java.lang.NullPointerException

  18. Robert Lai says:

    Where is update package? Not Full Package.

  19. James C says:

    I updated from v10.0.4 to this version directly, and imported old settings. It seems now though that code completion doesn’t work. No helpful popup with suggested functions or their parameters.

    Do we know if perhaps it imported some old lint files that it doesn’t support anymore? And do you know if there is anything that can be done to remedy my situation at the current time?

    Also on the other hand, it loads a lot faster now! Kudos on that.

    • James C says:

      Nevermind, issue was resolved. It had to index for the first time for autocompletion to be available! And it turns out there was a media folder in my project that was slowing down indexing.

      Sorry for any misinformation/confusion!

      • Jeremy Gray says:

        For what its worth, this happened to me too and has not resolved itself even after telling IDEA to clear its caches and restart, followed by waiting for indexing to complete, attempting to force builds (which is now also seemingly not working,) etc. Downgrade time, I’m afraid, at least until one or two point releases and then I’ll try again. :(

  20. Kirill Gordine says:

    Have you replaced the product owner/manager with print-designers? Which developer needs ligatures???

  21. Laurent C says:

    Nice work!

    A better logo would have been a must. When will you fix this terrible rebranding?

    After upgrading from 2016.1, I imported previous preferences and my 2 projects reloaded. But after 10 minutes the IDE remains frozen. There are 3 process running, and 2 balloons, one about reimporting Maven projects, and Platform, and another about updates of various plugins (Python Community Edition, Bash support, Ini4Idea).
    I’m on MacOS X 10.9.5 (Mavericks).

  22. Marcel Büsch says:

    Looks really nice. I have only an issue with the maven import:
    2016-07-13 20:47:48,723 [ 88746] INFO – ution.rmi.RemoteProcessSupport – “C:\tools\IntelliJ IDEA 2016.2\jre\jre\bin\java” -Djava.awt.headless=true -Didea.version==2016.2 -Xmx1536m -Didea.maven.embedder.version=3.2.3 -Dfile.encoding=windows-1252 -classpath “C:/tools/IntelliJ IDEA 2016.2/lib/resources_en.jar;C:\tools\IntelliJ IDEA 2016.2\lib\log4j.jar;C:\tools\IntelliJ IDEA 2016.2\lib\annotations.jar;C:\tools\IntelliJ IDEA 2016.2\lib\snappy-in-java-0.3.1.jar;C:\tools\IntelliJ IDEA 2016.2\lib\jna-platform.jar;C:\tools\IntelliJ IDEA 2016.2\lib\trove4j.jar;C:\tools\IntelliJ IDEA 2016.2\lib\util.jar;C:\tools\IntelliJ IDEA 2016.2\lib\jna.jar;C:\tools\IntelliJ IDEA 2016.2\lib\resources_en.jar;C:\tools\IntelliJ IDEA 2016.2\lib\jdom.jar;C:\tools\IntelliJ IDEA 2016.2\lib\oromatcher.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\lucene-core-2.4.1.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven-server-api.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-common.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\archetype-catalog-2.2.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\archetype-common-2.2.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\maven-dependency-tree-1.2.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\nexus-indexer-3.0.4.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\nexus-indexer-artifact-1.0.1.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven32-server-impl.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-api-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-connector-wagon-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-impl-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-spi-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-util-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aopalliance-1.0.jar;C:\tools\maven\apache-maven-3.2.3\lib\cdi-api-1.0.jar;C:\tools\maven\apache-maven-3.2.3\lib\commons-cli-1.2.jar;C:\tools\maven\apache-maven-3.2.3\lib\commons-io-2.2.jar;C:\tools\maven\apache-maven-3.2.3\lib\commons-lang-2.6.jar;C:\tools\maven\apache-maven-3.2.3\lib\guava-14.0.1.jar;C:\tools\maven\apache-maven-3.2.3\lib\javax.inject-1.jar;C:\tools\maven\apache-maven-3.2.3\lib\jsoup-1.7.2.jar;C:\tools\maven\apache-maven-3.2.3\lib\jsr250-api-1.0.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-aether-provider-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-artifact-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-compat-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-core-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-embedder-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-model-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-model-builder-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-plugin-api-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-repository-metadata-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-settings-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-settings-builder-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\org.eclipse.sisu.inject-0.0.0.M5.jar;C:\tools\maven\apache-maven-3.2.3\lib\org.eclipse.sisu.plexus-0.0.0.M5.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-cipher-1.7.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-component-annotations-1.5.5.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-interpolation-1.19.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-sec-dispatcher-1.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-utils-3.0.17.jar;C:\tools\maven\apache-maven-3.2.3\lib\sisu-guice-3.1.3-no_aop.jar;C:\tools\maven\apache-maven-3.2.3\lib\slf4j-api-1.7.5.jar;C:\tools\maven\apache-maven-3.2.3\lib\slf4j-simple-1.7.5.jar;C:\tools\maven\apache-maven-3.2.3\lib\wagon-file-2.6.jar;C:\tools\maven\apache-maven-3.2.3\lib\wagon-http-2.6-shaded.jar;C:\tools\maven\apache-maven-3.2.3\lib\wagon-http-shared-2.6.jar;C:\tools\maven\apache-maven-3.2.3\lib\wagon-provider-api-2.6.jar;C:\tools\maven\apache-maven-3.2.3\boot\plexus-classworlds-2.5.1.jar” org.jetbrains.idea.maven.server.RemoteMavenServer
    2016-07-13 20:47:48,890 [ 88913] INFO – ution.rmi.RemoteProcessSupport – Error occurred during initialization of VM
    2016-07-13 20:47:48,890 [ 88913] INFO – ution.rmi.RemoteProcessSupport – Could not reserve enough space for 1572864KB object heap
    2016-07-13 20:47:48,938 [ 88961] INFO – ution.rmi.RemoteProcessSupport – “C:\tools\IntelliJ IDEA 2016.2\jre\jre\bin\java” -Djava.awt.headless=true -Didea.version==2016.2 -Xmx1536m -Didea.maven.embedder.version=3.2.3 -Dfile.encoding=windows-1252 -classpath “C:/tools/IntelliJ IDEA 2016.2/lib/resources_en.jar;C:\tools\IntelliJ IDEA 2016.2\lib\log4j.jar;C:\tools\IntelliJ IDEA 2016.2\lib\annotations.jar;C:\tools\IntelliJ IDEA 2016.2\lib\snappy-in-java-0.3.1.jar;C:\tools\IntelliJ IDEA 2016.2\lib\jna-platform.jar;C:\tools\IntelliJ IDEA 2016.2\lib\trove4j.jar;C:\tools\IntelliJ IDEA 2016.2\lib\util.jar;C:\tools\IntelliJ IDEA 2016.2\lib\jna.jar;C:\tools\IntelliJ IDEA 2016.2\lib\resources_en.jar;C:\tools\IntelliJ IDEA 2016.2\lib\jdom.jar;C:\tools\IntelliJ IDEA 2016.2\lib\oromatcher.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\lucene-core-2.4.1.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven-server-api.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-common.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\archetype-catalog-2.2.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\archetype-common-2.2.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\maven-dependency-tree-1.2.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\nexus-indexer-3.0.4.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven3-server-lib\nexus-indexer-artifact-1.0.1.jar;C:\tools\IntelliJ IDEA 2016.2\plugins\maven\lib\maven32-server-impl.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-api-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-connector-wagon-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-impl-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-spi-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aether-util-0.9.0.M2.jar;C:\tools\maven\apache-maven-3.2.3\lib\aopalliance-1.0.jar;C:\tools\maven\apache-maven-3.2.3\lib\cdi-api-1.0.jar;C:\tools\maven\apache-maven-3.2.3\lib\commons-cli-1.2.jar;C:\tools\maven\apache-maven-3.2.3\lib\commons-io-2.2.jar;C:\tools\maven\apache-maven-3.2.3\lib\commons-lang-2.6.jar;C:\tools\maven\apache-maven-3.2.3\lib\guava-14.0.1.jar;C:\tools\maven\apache-maven-3.2.3\lib\javax.inject-1.jar;C:\tools\maven\apache-maven-3.2.3\lib\jsoup-1.7.2.jar;C:\tools\maven\apache-maven-3.2.3\lib\jsr250-api-1.0.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-aether-provider-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-artifact-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-compat-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-core-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-embedder-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-model-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-model-builder-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-plugin-api-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-repository-metadata-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-settings-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\maven-settings-builder-3.2.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\org.eclipse.sisu.inject-0.0.0.M5.jar;C:\tools\maven\apache-maven-3.2.3\lib\org.eclipse.sisu.plexus-0.0.0.M5.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-cipher-1.7.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-component-annotations-1.5.5.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-interpolation-1.19.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-sec-dispatcher-1.3.jar;C:\tools\maven\apache-maven-3.2.3\lib\plexus-utils-3.0.17.jar;C:\tools\maven\apache-maven-3.2.3\lib\sisu-guice-3.1.3-no_aop.jar;C:\tools\maven\apache-maven-3.2.3\lib\slf4j-api-1.7.5.jar;C:\tools\maven\apache-maven-3.2.3\lib\slf4j-simple-1.7.5.jar;C:\tools\maven\apache-maven-3.2.3\lib\wagon-file-2.6.jar;C:\tools\maven\apache-maven-3.2.3\lib\wagon-http-2.6-shaded.jar;C:\tools\maven\apache-maven-3.2.3\lib\wagon-http-shared-2.6.jar;C:\tools\maven\apache-maven-3.2.3\lib\wagon-provider-api-2.6.jar;C:\tools\maven\apache-maven-3.2.3\boot\plexus-classworlds-2.5.1.jar” org.jetbrains.idea.maven.server.RemoteMavenServer
    2016-07-13 20:47:49,180 [ 89203] INFO – ution.rmi.RemoteProcessSupport – Error occurred during initialization of VM
    2016-07-13 20:47:49,180 [ 89203] INFO – ution.rmi.RemoteProcessSupport – Could not reserve enough space for 1572864KB object heap
    2016-07-13 20:47:49,205 [ 89228] WARN – #org.jetbrains.idea.maven – Cannot open index C:\Users\u0168159\.IntelliJIdea2016.2\system\Maven\Indices\Index1
    org.jetbrains.idea.maven.indices.MavenIndexException: Cannot open index C:\Users\u0168159\.IntelliJIdea2016.2\system\Maven\Indices\Index1
    at org.jetbrains.idea.maven.indices.MavenIndex.open(MavenIndex.java:182)
    at org.jetbrains.idea.maven.indices.MavenIndex.(MavenIndex.java:102)
    at org.jetbrains.idea.maven.indices.MavenIndices.add(MavenIndices.java:92)
    at org.jetbrains.idea.maven.indices.MavenIndicesManager.ensureIndicesExist(MavenIndicesManager.java:167)
    at org.jetbrains.idea.maven.indices.MavenProjectIndicesManager$3.run(MavenProjectIndicesManager.java:120)
    at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
    at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
    at com.intellij.util.ui.update.MergingUpdateQueue.lambda$flush$1(MergingUpdateQueue.java:260)
    at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:274)
    at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:229)
    at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:222)
    at com.intellij.util.Alarm$Request$1.run(Alarm.java:377)
    at com.intellij.util.Alarm$Request.run(Alarm.java:388)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
    at com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(BoundedTaskExecutor.java:178)
    at com.intellij.util.concurrency.BoundedTaskExecutor.access$000(BoundedTaskExecutor.java:40)
    at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:197)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.RuntimeException: Cannot reconnect.
    at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:111)
    at org.jetbrains.idea.maven.server.MavenIndexerWrapper.createIndex(MavenIndexerWrapper.java:61)
    at org.jetbrains.idea.maven.indices.MavenIndex.createContext(MavenIndex.java:359)
    at org.jetbrains.idea.maven.indices.MavenIndex.access$600(MavenIndex.java:48)
    at org.jetbrains.idea.maven.indices.MavenIndex$IndexData.(MavenIndex.java:661)
    at org.jetbrains.idea.maven.indices.MavenIndex.doOpen(MavenIndex.java:203)
    at org.jetbrains.idea.maven.indices.MavenIndex.open(MavenIndex.java:179)
    … 21 more
    Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is:
    com.intellij.execution.ExecutionException:
    at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:168)
    at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:73)
    at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
    at org.jetbrains.idea.maven.server.MavenServerManager$4.create(MavenServerManager.java:487)
    at org.jetbrains.idea.maven.server.MavenServerManager$4.create(MavenServerManager.java:483)
    at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
    at org.jetbrains.idea.maven.server.MavenIndexerWrapper.getRemoteId(MavenIndexerWrapper.java:169)
    at org.jetbrains.idea.maven.server.MavenIndexerWrapper.access$100(MavenIndexerWrapper.java:37)
    at org.jetbrains.idea.maven.server.MavenIndexerWrapper$1.execute(MavenIndexerWrapper.java:64)
    at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:105)
    … 27 more
    Caused by: com.intellij.execution.ExecutionException:
    at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:160)
    at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:165)
    … 36 more

  23. Alex says:

    Code completion does not work as expected.
    I think that the depth of inherited classes has been changed.

  24. Andre Mermegas says:

    Anybody notice a major typing lag, going from 2016.1.3 to 2016.2?

    not sure what happened there, trying to figure it out.

  25. VS says:

    A question to Scala-guys, who have already installed the new version. How it fast in comparison with 2016.1.3/previous versions? Should i buy a mainframe?

  26. Mike says:

    Do I need to do anything special to get JUnit5 to work? Turn it on somewhere?

    I have a Gradle project where I enable the JUnit5 plugin:

    https://github.com/junit-team/junit5-samples/tree/r5.0.0-M1/junit5-gradle-consumer#enabling-the-junit-gradle-plugin

    then I also enable the JUnit5 engines only:

    https://github.com/junit-team/junit5-samples/tree/r5.0.0-M1/junit5-gradle-consumer#configuring-test-engines

    I don’t enable JUnit4 or the Vintage engine.

    My tests run fine with ./gradlew test but when I run tests with IntelliJ I see the following stack trace:

    Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:123)
    Caused by: java.lang.ClassNotFoundException: junit.textui.ResultPrinter
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    … 3 more

  27. Pablo Lozano Olvera says:

    I cannot see anymore the execution list of Maven plugins :c
    How can i bring it back?

  28. Josh says:

    How do I revert back to the previous 2016.1 UI font on Linux>?

  29. Wil says:

    Code Analysis that applies the syntax highlighting for a file never completes with this update. The eyeball in the top right of the IDE is present and hovering over it displays the popover titles “Performing code analysis.” I’ve tried invalidating caches, but that didn’t help.

  30. josr says:

    Using it on linux under Fedora24/KDE at a customer site : there’s a small Look and Feel bug.
    When using a GTK or an IntelliJ theme, tabs of edited files are not updated properly and remains with a dark color theme. Moreover it seems the editor always start with darcula theme even if another theme is set in the settings. Annoying.

  31. josr says:

    To complete my post : 2016.2 IU seems quite buggy under linux KDE. Theme selection is buggy (always force Darcula on startup, editor tabs have color bugs when changing theme in session), java keyword color customization does not allow to persist change (at least on a custom based on darcula). Strangely this does not seem to happen in Community version.
    I am quite disapointed right now.

  32. axiomme says:

    Great stuff, updates look good.

    Most importantly, I have set Gabe Newell as my background image.

  33. Larry Edwardson says:

    Any plans to support flow type checking

    • Andrey Cheptsov says:

      We already provide basic support for Flow syntax, but there’s no integration with the Flow linter yet

  34. Fringale says:

    Thanks for the release!

    But… what’s up with the system requirements for OS X: ‘Mac OS X 10.8 or higher, up to 10.9 (Mavericks)’? You know we’re not in 2013 anymore, right? ; )

  35. Jeremy says:

    I updated to 2016.2 on Mac and it would appear that the JDK included isn’t actually a JDK anymore. It only contains

    in /Applications/IntelliJ IDEA.app/Contents/jre/jdk/Contents/Home
    $ ls
    jre lib

    This causes Gradle run configurations to complain that “The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: /Applications/IntelliJ IDEA.app/Contents/jre/jdk/Contents/Home/bin/java”

    This wouldn’t be so bad except that the option to change which JDK the Gradle plugin uses is also missing!

  36. Louis says:

    The improvements to the java ui and debugging sound nice.

    I’m a bit disappointed though, I was really hoping support for multi-repository gradle projects in this update, i.e. https://youtrack.jetbrains.com/issue/IDEA-114469 and https://youtrack.jetbrains.com/issue/IDEA-157318.

    It would be a HUGE productivity enhancement for my team and any other teams using gradle. Is there any timeline for this?

  37. David says:

    Many thanks for the updates! I’ve used IntelliJ for years and love it!

  38. Rudy Vissers says:

    The method completion doesn’t always behave correctly I had to switch back to 2016.1.3 where for the same code the completion behaves correctly.

  39. Andrew Shulaev says:

    If I recall correctly, for previous releases there usually was a link to patch notes with a list of bugs that have been fixed. Is there one for this version?

  40. Martin Gerlach says:

    I’m using MacOSX with a case sensitive (NOT insensitve!) filesystem. Now IDEA is giving me repeated warnings about its settings (insensitive) not matching the actual filesystem. How can I change that setting?

    • Martin Gerlach says:

      Ah… got it:

      Create or modify ~/Library/Preferences/IntelliJIdea2016.2/idea.properties

      Add or modify this line:
      idea.case.sensitive.fs=true

  41. Andreas Havenstein says:

    We are not able to import our gradle projects into 16.2:
    “Warning: root project ‘*****’: Unable to resolve additional project configuration.
    Details: groovy.lang.MissingPropertyException: Could not find property ‘archivePath’ on task ‘:*******:testJar’.
    There are no further log entries.

    Works fine in all previous versions but not in 16.2. Any idea?

  42. Beaumont Muni says:

    Hi … I have been having problems getting IDEA 2016.2.1 to run my grails app in debug mode. Is this an issue? I just can’t seem to get this to kick in. I created a few print “xxxxx” statements in the bootstrap file and put a breakpoint the line, and it flies right by it.

    I have even created a new configuration for debugging using “run-app –debug” inside the command line: field for a new run configuration and it still doesn’t even work. Everything was fine until I upgraded to version 2 or IntelliJ IDEA 2016.2.1 … Any ideas why?

Leave a Reply

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