{"id":253199,"date":"2022-06-06T11:25:00","date_gmt":"2022-06-06T10:25:00","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=ruby&#038;p=253199"},"modified":"2022-08-09T17:16:34","modified_gmt":"2022-08-09T16:16:34","slug":"rubymine-2022-2-eap-3","status":"publish","type":"ruby","link":"https:\/\/blog.jetbrains.com\/en\/ruby\/2022\/06\/rubymine-2022-2-eap-3","title":{"rendered":"RubyMine 2022.2 EAP3"},"content":{"rendered":"<p>RubyMine 2022.2 EAP 3 is now available! Here are the build highlights:<\/p>\n<ul>\n<li><a href=\"#http_rails_completion\">Code completion for Rails URLs in the HTTP client<\/a><\/li>\n<li><a href=\"#url_searches\">Support for URL searches in Rails applications<\/a><\/li>\n<li><a href=\"#endpoints_toolwindow\">Endpoints toolwindow<\/a><\/li>\n<li><a href=\"#clickable_links\">Improved clickable links in Rails server logs<\/a><\/li>\n<li><a href=\"#html_tags_erb\">Better completion for HTML tags in ERB files<\/a><\/li>\n<li><a href=\"#other\">Other improvements<\/a><\/li>\n<\/ul>\n<h2 id=\"http_rails_completion\">Code completion for Rails URLs in the HTTP client<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/06\/rm_222_http_client_url_completion.png\" alt=\"\" width=\"1340\" \/><\/p>\n<p>In this EAP, we&#8217;ve introduced autocompletion for HTTP requests. This means you now can autocomplete Rails URLs and navigate to their related <code>Routes<\/code>. The completion suggestions also display the types of available HTTP requests, as seen in the screenshot above.<\/p>\n<p>RubyMine also now <a href=\"https:\/\/youtrack.jetbrains.com\/issue\/RUBY-29729\/\" target=\"_blank\" rel=\"noopener\">recognizes<\/a> the <code>shallow_path<\/code> option in routes and uses it to determine the path or url that a route generates.<\/p>\n<h2 id=\"url_searches\">Support for URL searches in Rails applications<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/06\/rm_222_se_url_search.png\" alt=\"\" width=\"1340\" \/><\/p>\n<p>RubyMine now supports searching for Rails URLs. Go to &gt;<em>Navigate | URL Mapping <\/em>and&gt;press <em>\u21e7 + \u2318 + \\ <\/em>&gt;on Mac or <em>Ctrl + Shift + \\ <\/em>on Windows and Linux, or simply type &gt;<em>\/url<\/em> in the &gt;<em>Search Everywhere<\/em> dialog.<\/p>\n<p>We&#8217;ve also <a href=\"https:\/\/youtrack.jetbrains.com\/issue\/RUBY-29730\/\" target=\"_blank\" rel=\"noopener\">added support<\/a> for <code>.format<\/code> in Rails paths and urls.<\/p>\n<h2 id=\"endpoints_toolwindow\">Endpoints tool window<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/06\/rm_222_endpoints_tool_window.png\" alt=\"\" width=\"1340\" \/><\/p>\n<p>The newly added <em>Endpoints<\/em> tool window provides an aggregated view of client and server APIs used in your project. The tool window can assist you when developing microservices and backend-frontend communication. You can refer to <a href=\"https:\/\/www.jetbrains.com\/help\/idea\/endpoints-tool-window.html\" target=\"_blank\" rel=\"noopener\">this help topic<\/a> to learn more.<\/p>\n<h2 id=\"clickable_links\">Improved clickable links in Rails server logs<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/06\/rm_222_routes_navigation_in_server_logs.png\" alt=\"\" width=\"1340\" \/><\/p>\n<p>You can now click URLs in Rails server logs to navigate to the corresponding <code>Routes<\/code> that generated them.<\/p>\n<h2 id=\"html_tags_erb\">Better completion for HTML tags in ERB files<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/06\/rm_222_html_tags.png\" alt=\"\" width=\"1340\" \/><\/p>\n<p>You no longer need to manually type opening HTML tags when you edit .html.erb files. Just start typing the name of an HTML tag, and RubyMine will provide a proper autocomplete suggestion. Press <em>Tab<\/em> to autocomplete the tag and continue editing things inside the tag.<\/p>\n<h2 id=\"other\">Other improvements<\/h2>\n<ul>\n<li>Added support for anonymous rest and keyword rest argument forwarding [<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/RUBY-29677\/\" target=\"_blank\" rel=\"noopener\">RUBY-29677<\/a>].<\/li>\n<li>Added support for YARD macros [<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/RUBY-29796\/\" target=\"_blank\" rel=\"noopener\">RUBY-29796<\/a>].<\/li>\n<li>Fixed a variety of bugs.<\/li>\n<\/ul>\n<h2>Join the Early Access Program<\/h2>\n<p>You can download the latest EAP build <a href=\"https:\/\/www.jetbrains.com\/ruby\/nextversion\/\" target=\"_blank\" rel=\"noopener\">from our website<\/a> or via the <a href=\"https:\/\/www.jetbrains.com\/toolbox-app\/\" target=\"_blank\" rel=\"noopener\">Toolbox app<\/a>. The full list of closed tickets in this EAP build is in the <a href=\"https:\/\/youtrack.jetbrains.com\/articles\/RUBY-A-220364953\/RubyMine-20222-EAP-3-222288914-build-Release-Notes\" target=\"_blank\" rel=\"noopener\">release notes<\/a>.<\/p>\n<p>To learn about the newest features as they come out, please follow <a href=\"https:\/\/twitter.com\/rubymine\" target=\"_blank\" rel=\"noopener\">RubyMine on Twitter<\/a>. We post product news and tips several times a week.<\/p>\n<p>We encourage you to share your thoughts in the comments below and to create and vote for new features in the <a href=\"https:\/\/youtrack.jetbrains.com\/issues\/ruby\" target=\"_blank\" rel=\"noopener\">issue tracker<\/a>.<\/p>\n<p><em>Happy developing!<\/em><\/p>\n<p>The RubyMine team<\/p>\n\n\n<p><\/p>\n","protected":false},"author":574,"featured_media":247816,"comment_status":"closed","ping_status":"closed","template":"","categories":[826],"tags":[6986,600],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/ruby\/253199"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/ruby"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/types\/ruby"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/users\/574"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/comments?post=253199"}],"version-history":[{"count":10,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/ruby\/253199\/revisions"}],"predecessor-version":[{"id":253819,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/ruby\/253199\/revisions\/253819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/media\/247816"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/media?parent=253199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/categories?post=253199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/tags?post=253199"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/en\/wp-json\/wp\/v2\/cross-post-tag?post=253199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}