Home Java IntelliJ IDEA 16 Public Preview

IntelliJ IDEA 16 Public Preview

by admin

On Friday, February 19, we released IntelliJ IDEA 16 beta version Considering that it’s been a little over three months since IntelliJ IDEA 15 was released, you’ll be pleasantly surprised at what we’ve accomplished in that time.We invite you to download the latest version right now and try for yourself all the improvements, the most important of which I’d love to tell you about next.
IntelliJ IDEA 16 Public Preview
Debugger
For Java projects in Evaluate Expression and Watches it is now possible to write expressions in Groovy which has a more compact syntax, making it more convenient to work with collections, for example.
IntelliJ IDEA 16 Public Preview
If the current thread is blocked by another stopped thread, IntelliJ IDEA will offer to unblock it.
Previously, by pressing Resume , all running threads were resumed.Now you can change this behavior by enabling the Resume only the current thread
IntelliJ IDEA now warns you whenever it notices that the source code does not match the code you are running.This helps you avoid errors and save time.
IntelliJ IDEA 16 Public Preview
Integration with Gitand other VCSs
IntelliJ IDEA now supports git worktrees – in case you want to work with multiple repository revisions at the same time and save disk space.
For Git in Branches popup there are two new commands : Checkout with Rebase and Rename Checkout with Rebase saves time if you want to perform these two operations one after the other.
Tools Diff viewer and Merge dialog are made more convenient by highlighting changes at the level of specific parts of the string.
IntelliJ IDEA 16 Public Preview
Editor
There is a new tool in the editor : Move Element Right / Left ( Alt + Ctrl + Shift + Arrows or Alt + Cmd + Shift + Arrows for OS X).It can be used to swap method arguments, array elements, and tag attributes.
IntelliJ IDEA 16 Public Preview
We added auto-import for static methods and constants (previously it worked only for classes).The option Add unambiguous imports on the fly now also works for static methods and constants.
IntelliJ IDEA 16 Public Preview
The editor supports Arabic, Hebrew, and other languages where the characters follow from right to left.
IntelliJ IDEA 16 Public Preview
There is an option in style settings to automatically add a space at the beginning of comments.
Java 8
When called Inline method or Change signature , method references( method references ) are converted to the corresponding lambda expressions.
IntelliJ IDEA will warn you if you call the get() on java.util.Optional without first checking with isPresent() whether the value is contained there.
IntelliJ IDEA 16 Public Preview
Added many inspections on the use of functional interfaces, lambda expressions and Optional
IntelliJ IDEA 16 Public Preview
If you use Guava , the IDEs will prompt you to replace the FluentIterable , Function , Optional and Predicate their counterparts in Java 8.
IntelliJ IDEA 16 Public Preview
Quick Search
Quick Search ( speed-search ) is now available in the window Terminal and the search in the popup window has been improved Show usages and in the Find usages
IntelliJ IDEA 16 Public Preview
Interface Log viewer for Git and Mercurial looks a little nicer now.
Gradle
The IntelliJ IDEA project model is now exactly the same as the Gradle : each source set is represented in IntelliJ IDEA as a separate module, and therefore can have its own dependencies ( classpath ). This solved a huge number of problems.
IntelliJ IDEA has learned to automatically import EAR artifacts from build scripts.
Spring
For SpringBoot added hints inside the files YML and banner.txt Abstract \@SpringApplicationConfiguration is taken into account when creating startup configurations for tests. For custom configuration properties, Find usages now works.
Support Spring MVC has been greatly improved by the annotation support \@EnableWebMvc
IntelliJ IDEA 16 Public Preview
Fixed a lot of old problems
Thymeleaf
Thymeleaf 3 Beta is supported out of the box.
IntelliJ IDEA 16 Public Preview
Added support for custom dialects: they now have the same tales available as the standard dialects.
IntelliJ IDEA 16 Public Preview
Fixed a lot of problems with support Thymeleaf 2
Android
Leak profiler and new inspections introduced in AndroidStudio 1.5 are now also available in IntelliJ IDEA.
Kotlin
Yes, yes, in case you haven’t heard (or can’t believe your eyes), a week ago the release Kotlin 1.0.
Kotlin is compatible with Java 6, 7, 8 , Android , and any Java frameworks (such as Java EE , Spring ) and build systems ( Gradle , Maven ). Kotlin can be used in existing Java projects. Since version 1.0 Kotlin is backward-compatible with its previous versions.
IntelliJ IDEA 16 includes a plugin for Kotlin 1.0.
Earlier on the Habra, there has already been a first session QA.
Scala
While working on Kotlin, we are not forgetting about Scala : The complichen has undergone several improvements. First, the order of choices offered now takes into account factors such as character type, usage history, and context. Preference is given to local variables, then arguments, then class fields, then methods, etc. If a type is expected in a given context, IntelliJ IDEA takes this into account in the order suggested.
IntelliJ IDEA 16 Public Preview
Secondly, there is a complishen for expressions pattern matching with a hint of the property names case-classes
IntelliJ IDEA 16 Public Preview
ES6TYPESCRIPT
Support ES6 and TypeScript is getting better by the day. Added refactorings Create method , Extract method , Inline method and Introduce field and intensives Make class abstract , Make public/private and Remove modifier Unused import expressions are now highlighted and removed with Optimize imports The import-expressions are added automatically during code typing.
IntelliJ IDEA 16 Public Preview
Added podderzhka TypeScript 1.8
AngularJS
For AngularJS 2 compliant directives, template variables, custom eventhandlers, paths in templateUrl and styleUrls fields, as well as in event , data , and property bindings
IntelliJ IDEA 16 Public Preview
IntelliJ IDEA also understands components defined with module.component(), added in AngularJS 1.5.
JavaScript debugger
With the new debugger for Chrome it is much easier to debug asynchronous code and code with lambda expressions ( arrow functions ). For asynchronous code, the frame stack includes a place for calling asynchronous code. When adding stopping points, you can now select a specific lambda expression.
You can also debug main and render processes Electron applications.
JSON
In addition, IntelliJ IDEA now supports JSON schema and offers compilation inside JSON files (tsconfig.json, .eslintrc, .babelrc and many others) based on it.
IntelliJ IDEA 16 Public Preview
Database operations
After the release DataGrip we continue to improve our database support and tools for working with databases.Added support for some operators PostgreSQL 9.5 ( hstore ? ) as well as User Defined Table and Column Types for SQL Server With Create/Modify Table you can now edit comments for columns (if supported by the database).
IntelliJ IDEA 16 Public Preview
If you want to delete data from tables, the new tool will help you : Truncate which allows you to remove data from one or more tables very quickly and outside of a transaction.
IntelliJ IDEA 16 Public Preview
Docker
And finally, Docker became a separate window ( tool window ) and its interface is getting better and better little by little: the right pane now displays logs and lets you edit the container settings. Images and containers are now displayed more seperately and more clearly. We also supported Docker Machine.
IntelliJ IDEA 16 Public Preview
If you want me to write about any of the new features separately (or any of the old features) – ask me in the comments, and I’ll be happy to do it. Also I’ll be glad to answer any questions.

You may also like