IntelliJ IDEA 2023.2 EAP 2: Text Search in Search Everywhere, GitLab Integration, New Java Inspections, and More
The second EAP build for IntelliJ IDEA 2023.2 has been released, offering a bunch of updates that include text search in Search Everywhere, initial GitLab integration, as well as code analysis improvements and better error detection for Java development.
If you want to catch up on the previous week’s updates, you can refer to this blog post for more details.
Now, let’s delve into what the new build offers.
Text search in Search Everywhere
The Search Everywhere (Double ⇧ / Double Shift) functionality, primarily utilized for searching through files, classes, methods, actions, and settings, now includes text search capabilities similar to Find in Files. With this enhancement, text search results are displayed when there are few or no other search results available for a given query. The feature is enabled by default and can be managed in Settings/Preferences | Advanced Settings | Search Everywhere.
Syntax highlighting in inspection descriptions
In Settings / Preferences | Editor | Inspections, we’ve implemented syntax highlighting for code samples, which facilitates comprehension of any given inspection and its purpose.
IntelliJ IDEA 2023.2 EAP 2 introduces initial integration with GitLab, allowing you to work with the Merge Request functionality right from the IDE, thus streamlining your development workflow.
New inspections and other code analysis improvements
We have improved and expanded our Java inspections to assist you in maintaining high-quality code and detecting potential issues more effectively.
A new Incorrect ‘MessageFormat’ pattern inspection will now warn you when pattern references do not match the arguments.
This inspection also detects and highlights incorrect usages of quotes and braces in
The IDE now reports calls with explicit
ChronoUnit arguments and suggests replacing them with calls of more specific methods, thus simplifying the code.
Also, IntelliJ IDEA now provides a warning about unsupported
ChronoUnit constants used in conjunction with
The IDE’s code analysis now supports ranges for
getLong methods of
LocalTime classes. It also notifies you about redundant
if statements that can be replaced with a constant value within the appropriate range.
IntelliJ IDEA has been enhanced to detect portions of long methods that can be neatly extracted into separate private methods. It suggests performing this extraction for the sake of improved code cleanliness.
Сode highlighting and navigation for format strings
Now, once you place the caret on a format specifier, the IDE will highlight the corresponding argument and other specifiers that point to it. Also, you can now use Go To Declaration (Ctrl+B/⌘B) to jump to the associated code location for a specific format string placeholder.
Improved support for the
@snippet tag in Javadoc
IntelliJ IDEA now features improved functionality for working with the
@snippet tag within Javadoc comments.It allows Markup comments within the
@snippet tag, and they are now properly rendered in the documentation.
This enhancement includes support for code regions, meaning you can now specify a portion of code that you want to refer to in a Javadoc.
In addition, IntelliJ IDEA now supports the inclusion of external snippets within the
@snippet tag, allowing you to reference external code snippets stored in separate files or sources and include them in Javadoc documentation.
These are the key highlights from the latest IntelliJ 2023.2 EAP build. For a comprehensive list of changes, please refer to the release notes.
We appreciate your active participation in the Early Access Program and highly value your feedback. You can share your thoughts about the new features with us on Twitter or by leaving a comment in the section below. If you find a bug, please report it to our issue tracker.
Subscribe to Blog updates
Thanks, we've got you!
IntelliJ IDEA 2023.3 Release Candidate Is Out
IntelliJ IDEA 2023.3 Release Candidate is now available! You can get the latest build from our website, through the free Toolbox App, or via snaps for Ubuntu. To use this build, you need to have an active subscription to IntelliJ IDEA Ultimate. Download IntelliJ IDEA 2023.3 RC As we …
String Templates in Java – why should you care?
TLDR; The existing String concatenation options are difficult to work with and could be error prone. String Templates (a preview feature introduced in Java 21) greatly improves how we create strings in Java by merging constant strings with variable values. The name of this feature pretty much says …
IntelliJ IDEA 2023.3 Beta 3 Is Out!
IntelliJ IDEA 2023.3 Beta 3 is now available for download! You can get the latest build through our website, the free Toolbox App, from inside the IDE, or by using snaps for Ubuntu. Download IntelliJ IDEA Beta 3 This marks the last week before the release candidate is scheduled for delivery…
IntelliJ IDEA 2023.3 Beta 2 Is Out!
IntelliJ IDEA 2023.3 Beta 2 is out and ready for you to download! You can get the latest build from our website or via the free Toolbox App. You can also upgrade to 2023.3 Beta 2 from inside the IDE, or by using snaps for Ubuntu. Download IntelliJ IDEA Beta 2 While the team puts the finishi…