IntelliJ IDEA 2020.2

Hello, Habr! IntelliJ IDEA 2020.2



has recently been released ! The new version has a lot of new things: now you can fully manage GitHub pull requests from the IDE and view all errors and warnings in the project using the Inspections widget. The new Problems window also helps you work with imperfect code, where you can see a detailed description of errors and quickly fix them. If you make changes that interfere with other code, the IDE will notify you in the Related Problems hint.

In addition, IntelliJ IDEA 2020.2 supports Jakarta EE and provides new capabilities for working with Quarkus, Micronaut, Amazon SQS API and OpenAPI.



The What's New section on the site describes in detail all the changes, but here we have collected the most important.



image



Java



  • We've prepared ahead of time for the Java 15 release in September, so IntelliJ IDEA 2020.2 can work with records, sealed classes, and text blocks.

  • If changing a Java method or field resulted in errors in other files, the IDE will report this. Click on the hint and you will see a list of errors that you can fix right away.

  • The IDE uses static analysis to determine which expression caused the exception while the application is running.

  • From the structured search, you can easily create an inspection with a description and severity level.

  • Introduce Variable : ( , ).

  • Stream API /, IDE stream(). , .

  • Optional if-.

  • , intention- Unroll loop , .

  • live templates Java , Settings | Preferences / Editor / Live Templates.

  • , IDE , 0, , Math.min Math.max .





  • Inspections, , , .

  • Problems .

  • , (quick-fix).





  • - GitHub IDE. , -, ( , ), , .

  • Linux Windows, Git, WSL2.

  • , Log.

  • IntelliJ IDEA .

  • GitHub OAuth.





  • Jakarta EE 9, IntelliJ IDEA , CDI, JPA, Batch, Bean Validation, JSF, JAX-RS, WebSocket, Servlets, JSP, JSON-P, JSON-B, Security, EJB JTA.

  • Java EE 8 Jakarta EE 9 .

  • .properties YAML Quarkus.

  • IDE Quarkus bean- , Java- .

  • bean-. , Quarkus.

  • REST Assured URL- .

  • IDE Swagger.

  • IntelliJ IDEA OpenAPI.

  • Micronaut .

  • Micronaut Amazon SQS API, RabbitMQ Kafka, , , .

  • IntelliJ IDEA HTTP- JAX-RS MicroProfile REST-.

  • Selenium- Selenoid. browsers.json .





  • HPROF. , ; ; ( ); .



IDE



  • Shared Indexes , . 60–75%.

  • Java PHP.





  • IDE . , Cmd/Ctrl+Enter, IDE. , .





  • Maven Wrapper Maven, .

  • Maven , , , .

  • Build, , Gradle Maven.

  • IntelliJ IDEA 2020.2 build.gradle.



JavaScript TypeScript



  • intention- (Alt + Enter) . , for forEach.

  • Prettier JavaScript-: On code reformat .

  • Nuxt.js , Vue.





  • Maximize.

  • boolean , , .

  • .

  • Google BigQuery. IDE .



Docker



  • TLS- Docker, Windows Docker.



Kubernetes



  • Preferences/Settings | Build, Execution, Deployment | Kubernetes kubeconfig.

  • ConfigMaps/Secrets. , IDE , .

  • ConfigMaps/Secrets Find Usages .



Scala



  • Implicits.

  • .

  • . , Go To class, trait object.

  • Scaladoc Quick Documentation: , .

  • , , .

  • , , .



Android



  • IntelliJ IDEA 2020.2 Android Studio 4.0.





  • , IDE .

  • IntelliJ IDEA 2020.2 Unicode Linux.

  • Java-.

  • JavaFX JCEF (Chromium Embedded Framework). 2020.2, JavaFX, , .

  • Alt+6 (Linux and Windows) / Cmd+6 (macOS) : TODO Problems.

  • , IntelliJ IDEA , Java 5 . Java 5 .



, , Twitter. .



IntelliJ IDEA 2020.2 !



!




All Articles