
#Intellij idea debug code#
The current font size is displayed together with an option to revert back to the default.Ĭonfiguring the way inspections appear in the editor is now possible, with the Highlighting in editor drop-down, without changing the severity level.Ĭode Completion Settings are now available by pressing on the three vertical dots in the code completion popup: Newly introduced keyboard shortcuts Alt+Shift+Period and Alt+Shift+Comma allow users to increase and decrease the font size. This release introduced various user experience improvements such as Run Current File, which allows to run or debug a single file, where the IDE automatically picks the right run configuration: IntelliJ now provides syntax highlighting, code completion and inspection for Groovy-Integrated Query (GINQ) which was introduced in Groovy 4. The Put arguments on separate lines action may be used to split a comma separated list into separate lines. The Safe Delete action, which allows removing an element from the definition and all calls, now supports type parameters. The warnings may be used whenever the compiler options, -Xlint:nonlocal-return and -Xlint:private-shadow, are activated. IntelliJ now warns when the return keyword is used inside an anonymous function where part of the code isn't executed and when a private or class parameter shadows a superclass variable. Scala 3 features, such as Option-less extractors, type lambdas, type level compiler intrinsics, polymorphic functions, are now supported. The performance of code highlighting, code completion and Find Usages was also improved. From this version onwards the version of the Kotlin compiler defined in the project settings will be used to remove inconsistencies between local and CI builds. The debugger is now integrated with the Data Flow Analysis functionality, which was already available for Java, in order to display hints about which conditions are true and which branches will be executed. Support for features in Kotlin 1.7.0 is now available and IntelliJ improved rendering for definitely non-nullable types and improved inspection for opt-in requirements. Various JUnit inspections were converted to JVM inspections to support other languages such as Kotlin. Java inspections now recognize the name() and toString() methods of Charset and warn when variables hide fields and catch unnecessary Object.requireNonNullElse calls. This release also introduces various improvements for Java inspections and code completion.

VoiceOver screen reader support increased accessibility on macOS and security was improved by using the latest OpenJDK LTS. This new release uses the JetBrains Runtime 17, a fork of OpenJDK 17, with performance improvements such as faster rendering thanks to the Metal API and improved vector computations from the Vector API. JetBrains has released IntelliJ IDEA 2022.2 featuring support for Java 17 and the latest languages and frameworks such as Scala, Kotlin, Spring 6 and Spring Boot 3.
