{"id":356070,"date":"2023-05-18T13:45:06","date_gmt":"2023-05-18T12:45:06","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=idea&#038;p=356070"},"modified":"2023-05-18T14:36:33","modified_gmt":"2023-05-18T13:36:33","slug":"intellij-idea-2023-2-eap-2","status":"publish","type":"idea","link":"https:\/\/blog.jetbrains.com\/en\/idea\/2023\/05\/intellij-idea-2023-2-eap-2","title":{"rendered":"IntelliJ IDEA 2023.2 EAP 2: Text Search in Search Everywhere, GitLab Integration, New Java Inspections, and More"},"content":{"rendered":"\n<p>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.<\/p>\n\n\n\n<p>You can get the latest build from our <a href=\"https:\/\/www.jetbrains.com\/idea\/nextversion\/\" target=\"_blank\" rel=\"noreferrer noopener\">website<\/a>, the free <a href=\"https:\/\/www.jetbrains.com\/toolbox-app\/\" target=\"_blank\" rel=\"noreferrer noopener\">Toolbox App<\/a>, or via snaps for Ubuntu.<\/p>\n\n\n\n<p>If you want to catch up on the previous week&#8217;s updates, you can refer to this <a href=\"https:\/\/blog.jetbrains.com\/en\/idea\/2023\/05\/intellij-idea-2023-2-eap\" target=\"_blank\" rel=\"noreferrer noopener\">blog post<\/a> for more details.<\/p>\n\n\n\n<p>Now, let&#8217;s delve into what the new build offers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">User experience<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Text search in <em>Search Everywhere<\/em><\/h3>\n\n\n\n<p>The <em>Search Everywhere (Double \u21e7 \/ Double Shift)<\/em> functionality, primarily utilized for searching through files, classes, methods, actions, and settings, now includes text search capabilities similar to <em>Find in Files<\/em>. 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 <em>Settings\/Preferences | Advanced Settings | Search Everywhere<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"602\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Text-Search-in-Search-Everywhere.png\" alt=\"\" class=\"wp-image-356260\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Syntax highlighting in inspection descriptions\u00a0<\/h3>\n\n\n\n<p>In <em>Settings \/ Preferences | Editor | Inspections<\/em>, we\u2019ve implemented syntax highlighting for code samples, which facilitates comprehension of any given inspection and its purpose.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"602\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Syntax-highlighting-in-inspections-descriptions.png\" alt=\"\" class=\"wp-image-356271\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">VCS<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">GitLab integration<\/h3>\n\n\n\n<p>IntelliJ IDEA 2023.2 EAP 2 introduces initial integration with GitLab, allowing you to work with the <em>Merge Request<\/em> functionality right from the IDE, thus streamlining your development workflow.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-16-at-19.53.36.png\" alt=\"\" class=\"wp-image-356282\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Java<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">New inspections and other code analysis improvements&nbsp;<\/h3>\n\n\n\n<p>We have improved and expanded our Java inspections to assist you in maintaining high-quality code and detecting potential issues more effectively.<\/p>\n\n\n\n<p>A new <em>Incorrect \u2018MessageFormat\u2019 pattern <\/em>inspection will now warn you when pattern references do not match the arguments.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"602\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Incorrect-MessagePattern.png\" alt=\"\" class=\"wp-image-356293\"\/><\/figure>\n\n\n\n<p>This inspection also detects and highlights incorrect usages of quotes and braces in <code>MessageFormat<\/code> patterns.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"602\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Unpaired-quote-inspection.png\" alt=\"\" class=\"wp-image-356304\"\/><\/figure>\n\n\n\n<p>The IDE now reports calls with explicit <code>ChronoField<\/code> or <code>ChronoUnit<\/code> arguments and suggests replacing them with calls of more specific methods, thus simplifying the code.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Java_LocalTime.gif\" alt=\"\" class=\"wp-image-356315\"\/><\/figure>\n\n\n\n<p>Also, IntelliJ IDEA now provides a warning about unsupported <code>ChronoField<\/code> and <code>ChronoUnit<\/code> constants used in conjunction with <code>LocalTime<\/code> or <code>LocalDateTime<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"602\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Unsupported-argument-valuse.png\" alt=\"\" class=\"wp-image-356326\"\/><\/figure>\n\n\n\n<p>The IDE\u2019s code analysis now supports ranges for <code>get<\/code> and <code>getLong<\/code> methods of <code>LocalDateTime<\/code> and <code>LocalTime<\/code> classes. It also notifies you about redundant <code>if<\/code> statements that can be replaced with a constant value within the appropriate range.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"602\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Condition-local-time.png\" alt=\"\" class=\"wp-image-356348\"\/><\/figure>\n\n\n\n<p>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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/Extract-method-suggestion.png\" alt=\"\" class=\"wp-image-356337\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0421ode highlighting and navigation for format strings<\/h3>\n\n\n\n<p>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<em> Go To Declaration (Ctrl+B\/\u2318B) <\/em>to jump to the associated code location for a specific format string placeholder.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/image-12.gif\" alt=\"\" class=\"wp-image-356156\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Improved support for the <code>@snippet<\/code> tag in Javadoc<\/h3>\n\n\n\n<p>IntelliJ IDEA now features improved functionality for working with the <code>@snippet<\/code> tag within Javadoc comments.It allows Markup comments within the <code>@snippet<\/code> tag, and they are now properly rendered in the documentation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/MarkupCommentsSnippet.gif\" alt=\"\" class=\"wp-image-356531\"\/><\/figure>\n\n\n\n<p>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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/RegionSnippet.gif\" alt=\"\" class=\"wp-image-356542\"\/><\/figure>\n\n\n\n<p>In addition, IntelliJ IDEA now supports the inclusion of external snippets within the <code>@snippet<\/code> tag, allowing you to reference external code snippets stored in separate files or sources and include them in Javadoc documentation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1500\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/05\/ExternalSnippetSample.gif\" alt=\"\" class=\"wp-image-356554\"\/><\/figure>\n\n\n\n<p>These are the key highlights from the latest IntelliJ 2023.2 EAP build. For a comprehensive list of changes, please refer to the <a href=\"https:\/\/youtrack.jetbrains.com\/articles\/IDEA-A-2100661513\/IntelliJ-IDEA-2023.2-EAP-2-232.6095.10-build-Release-Notes\" target=\"_blank\" rel=\"noreferrer noopener\">release notes<\/a>.<\/p>\n\n\n\n<p>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 <a href=\"https:\/\/twitter.com\/intellijidea\" target=\"_blank\" rel=\"noreferrer noopener\">Twitter<\/a> or by leaving a comment in the section below. If you find a bug, please report it to our <a href=\"https:\/\/youtrack.jetbrains.com\/issues\/IDEA\" target=\"_blank\" rel=\"noreferrer noopener\">issue tracker<\/a>.<\/p>\n\n\n\n<p>Happy developing!<\/p>\n","protected":false},"author":1319,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","categories":[826,4759],"tags":[8133,600,8135,8132],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/idea\/356070"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/idea"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/types\/idea"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/users\/1319"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/comments?post=356070"}],"version-history":[{"count":9,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/idea\/356070\/revisions"}],"predecessor-version":[{"id":356594,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/idea\/356070\/revisions\/356594"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/media?parent=356070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/categories?post=356070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/tags?post=356070"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/cross-post-tag?post=356070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}