After WebStorm, JetBrains has now also released its flagship development environment IntelliJ IDEA in version 2021.2. One of the innovations in the commercial version is a project-wide analysis for Java projects. In addition, the IDE extends the actions when saving, the diagram view and the Markdown integration. At the same time, the 2021.2 versions of the Ruby development environment RubyMine and the database IDE DataGrip were released.
Complete overview for projects
IntelliJ IDEA 2021.2 comes with a project-wide analysis, which is reserved for the Ultimate version and only works with Java projects. A new icon in the tool window Problems activates the check, which then takes effect every time the code is changed. This is to help the IDE uncover errors and other problems before compiling, which would not be detectable by a local analysis of the individual files. According to the blog post, the comprehensive analysis can only be used for small and medium-sized projects due to the overhead.
The new administration interface for the Maven and Gradle dependencies is also included in the free community edition. Under the name of Package Search it helps with the administration of existing and the search for new dependencies. Among other things, it shows when updates are available for integrated packages. In addition to Maven and Gradle, Package Search can be used in conjunction with the Scala plug-in for IntelliJ IDEA, the is also freshly released in version 2021.2, Manage projects for the Scala-Build-Tool sbt.
Like the fresh WebStorm 2021.2, the current IntelliJ IDEA also centrally stores the actions it carries out when the project is saved Preferences/Settings | Tools | Actions on Save together. The view also brings new functions such as optimizing imports and reformatting the code.
Charts and Markdown
If you work with diagrams, you will now find a structure view that shows a preview of the selected block including its neighbors. In this view, developers can adjust the layout, scale and move content and save the overview as an image file.
For the Markdown connection, the current release probably fixes problems with list formatting and reformatting. Markdown files can also be converted to HTML, Word and PDF. Finally, developers can insert images using drag-and-drop.
The welcome screen now shows Eclipse projects if the option Open existing Eclipse projects is activated. In addition, tool windows can now be arranged using drag-and-drop, and the IDE automatically cleans up outdated cache and log directories.
For Java and Kotlin
Anyone who creates JavaFX projects will find a new project assistant for selecting the programming language (Java, Kotlin or Groovy), the build system (Maven or Gradle) and the test framework (JUnit or TestNG) as well as for integrating libraries. Among Preferences/Settings | Editor | Color Scheme there is also a setting to enable access (
public) to indicate individual colors on classes, methods and fields.
News from the mine
The also updated RubyMine extends the interaction with the syntax for structure informants and type signatures RBS introduced in Ruby 3. The IDE now offers auto-completion, code navigation and rename refactorings for rbs files. It also analyzes .rb and .rbs files comprehensively to identify potential errors.
RubyMine now also has a central point of contact for the actions that the IDE performs when the project is saved. Like WebStorm, RubyMine recently updated the browser view automatically when code changes. The new function Local History provides an overview of changes to the project that is independent of the version management.
Works with the database
The database IDE DataGrip can now generate DDL data sources (Data Definition Language) locally based on real data sources and update them when changes are made.
There is also some news with the charts: They now show the table comments and colors. In addition, the scope for auto-completion can be adapted so that it optionally includes all schemes, the current search path or just the current area.
Further information on the 2021.2 releases can be found in the Blog posts on IntelliJ IDEA, RubyMine and DataGrip remove. A free community version is only available for the former IDE. The other two are available as a subscription, which costs 89 euros for personal use in the first year and 53 euros from the third year onwards. The Ultimate version of IntelliJ IDEA costs 149 euros in the first year and 89 euros from the third year onwards. The All Products Pack with all JetBrains IDEs costs 249 euros for personal use in the first year and 149 euros from the third.