JetBrains Java IDE Adds Project Analysis, Build System Improvements


JetBrains has released version 2021.2 of its IntelliJ IDEA integrated development environment for JVM languages. The upgrade emphasizes capabilities such as project analysis and easier management of building system dependencies.

Downloadable from jetbrains.com, IntelliJ IDEA 201.2 was released on July 26. The update introduces project-wide analysis for Java projects, a new feature that checks every code change for errors before compilation. However, this feature is limited to the IntelliJ IDEA Ultimate edition.

In the Ultimate and Community editions of the IDE, version 2021.2 will also initiate several actions when saving a project, including reformatting code and optimizing imports. These actions are grouped together in Preferences / Settings> Tools> Actions during recording. And version 2021.2 makes it easier to manage Maven and Gradle dependencies with a Package finder plug-in, which allows developers to find version updates for dependencies.

Other new features of JetBrains IntelliJ IDEA 2021.2 include:

  • For Java, a new two-step JavaFX project wizard has been introduced. In addition, developers can mark public, protected, and private Java members (methods, fields, classes) in various ways. Additionally, for Java, new inspections have been added for particular use cases in data flow analysis.
  • A Migrate refactoring capability enables the migration of a project or module from Java EE to Jakarta EE.
  • By default, Kotlin code completion now works based on the machine learning mechanism. Also for Kotlin, support for WSL 2 (Windows Subsystem for Linux) and a Execution targets functionality were introduced.
  • For JavaScript, IntelliJ Ultimate edition can rename useState values ​​and functions simultaneously.
  • Scala 3 support has been improved, with faster indexing and improved Scala 3 project creation. For Scala, too, developers can use compiler-based error highlighting to avoid false error reports.
  • The Preview tab now works in the debugger.
  • In the editor, the descriptions of inspections and quick fixes are more comprehensive, and some include examples. Also in the editor, diagrams have become more informative, with a Structure view with a diagram map and a preview of the selected block and neighbors. Markdown support now includes the ability to convert .md files to and from various formats, change the size of images, and use drag and drop to insert images.
  • For user experience, IntelliJ can now automatically detect Eclipse projects stored locally from the dedicated folder on the welcome screen.
  • The organization of the tool window has been simplified, with developers being able to drag them by their name bar and drop them to the highlighted location in the main IDE window or in a separate window.
  • If a plug-in is missing from a project for a specific framework, the IDE will alert the user and offer to activate it.
  • When previewing HTML files in a browser, the IDE displays saved changes to an HTML file or to linked CSS and JavaScript files.
  • Developers can connect to Docker through SSH.

Copyright © 2021 IDG Communications, Inc.



Source link

Leave a Reply

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