{"id":194632,"date":"2021-11-01T03:15:00","date_gmt":"2021-11-01T02:15:00","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=ruby&#038;p=194632"},"modified":"2022-08-09T17:16:39","modified_gmt":"2022-08-09T16:16:39","slug":"rubymine-2021-3-eap6","status":"publish","type":"ruby","link":"https:\/\/blog.jetbrains.com\/fr\/ruby\/2021\/11\/rubymine-2021-3-eap6","title":{"rendered":"RubyMine 2021.3 EAP6: Improvements for Web, Frameworks, and Space"},"content":{"rendered":"<p>RubyMine 2021.3 EAP6 is out! Here are the highlights of this build:<\/p>\n<ul>\n<li><a href=\"https:\/\/blog.jetbrains.com\/ruby\/2021\/10\/rubymine-2021-3-eap6\/#web_and_frameworks\">Web and frameworks<\/a>\n<ul>\n<li><a href=\"https:\/\/blog.jetbrains.com\/ruby\/2021\/10\/rubymine-2021-3-eap6\/#improved_completion_for_html_files\">Improved completion for HTML files<\/a><\/li>\n<li><a href=\"https:\/\/blog.jetbrains.com\/ruby\/2021\/10\/rubymine-2021-3-eap6\/#update_npm_packages_from_the_editor\">Update npm packages from the editor<\/a><\/li>\n<li><a href=\"https:\/\/blog.jetbrains.com\/ruby\/2021\/10\/rubymine-2021-3-eap6\/#other_improvements\">Other improvements<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/blog.jetbrains.com\/ruby\/2021\/10\/rubymine-2021-3-eap6\/#space_integration\">Space integration<\/a>\n<ul>\n<li><a href=\"https:\/\/blog.jetbrains.com\/ruby\/2021\/10\/rubymine-2021-3-eap6\/#space_merge_requests_and_code_reviews_from_the_ide\">Merge requests and code reviews from the IDE<\/a><\/li>\n<li><a href=\"https:\/\/blog.jetbrains.com\/ruby\/2021\/10\/rubymine-2021-3-eap6\/#space_mark_files_as_viewed\">Mark files as viewed<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"web_and_frameworks\">Web and frameworks<\/h2>\n<h3 id=\"improved_completion_for_html_files\">Improved completion for HTML files<\/h3>\n<p>We\u2019ve improved the way code completion works in HTML files (including Vue and Angular templates).<\/p>\n<p>Previously, completion in HTML files would only show up when you typed the&nbsp;<code>&lt;<\/code>&nbsp;character. Starting with v2021.3, you can also see completion suggestions for HTML files when you type a tag name or an abbreviation.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_web_html_completion.png\" alt=\"Improved HTML completion\" width=\"670\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_web_html_completion.gif\"><\/p>\n<p>For entity references, the code completion pop-up will appear whenever you type <code>&amp;<\/code>. As you continue to type, the top suggestion gets selected, and you can press <em>Enter<\/em> to autocomplete it.<\/p>\n<p>Please note that the new completion functionality is not yet supported for <code>.html.erb<\/code> files. If you wish to see this feature implemented for such files, please feel free to vote for the <a href=\"https:\/\/youtrack.jetbrains.com\/issue\/RUBY-28927\" target=\"_blank\" rel=\"noopener\">corresponding ticket<\/a>.<\/p>\n<h3 id=\"update_npm_packages_from_the_editor\">Update npm packages from the editor<\/h3>\n<p>You can now update npm packages to the latest version right from the editor.<\/p>\n<p>Open your package.json file, place the caret on the package version you want to update, then press <em>\u2325\u23ce (Alt+Enter)<\/em> and select <em>Update \u2018package name\u2019 to the latest version<\/em>. A quick-fix will also be shown when you hover over the package version.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_web_npm_update.png\" alt=\"Update packages from the editor\" width=\"670\"><\/p>\n<p>By default, the new inspection doesn\u2019t highlight the outdated package, and it only provides a quick-fix. You can change the inspection severity level in <em>Preferences \/ Settings | Editor | Inspections<\/em> \u2013 look for <em>Update package.json dependencies<\/em> there.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_web_npm_update_settings.png\" alt=\"Inspection settings\" width=\"670\"><\/p>\n<p>This new inspection offers a more straightforward way to manage packages. Previously, you could manage your packages through <em>Preferences \/ Settings | Languages and Frameworks | Node.js and NPM<\/em>. As only a few people managed their packages this way, we decided to replace it with a better option.<\/p>\n<p>Lastly, we\u2019ve renamed the <em>Node.js and NPM<\/em> section in <em>Preferences \/ Settings<\/em><em> <\/em>to just <em>Node.js<\/em> to avoid any confusion. Just like before, you can use it to select a Node interpreter and the package manager of your choice: npm, pnpm, or Yarn.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_web_nodejs_settings.png\" alt=\"Node.js in settings\" width=\"670\"><\/p>\n<h3 id=\"other_improvements\">Other improvements<\/h3>\n<ul>\n<li>We\u2019ve fixed a bunch of issues related to mapping <code>.js<\/code> and <code>.d.ts<\/code> files and added gutter icons for navigating between them.<\/li>\n<li>We\u2019ve added Node.js remote interpreter support for <a href=\"https:\/\/youtrack.jetbrains.com\/issue\/WEB-20827#focus=Comments-27-5224612.0-0\" target=\"_blank\" rel=\"noopener\">npm<\/a>, <a href=\"https:\/\/youtrack.jetbrains.com\/issue\/WEB-20824#focus=Comments-27-5106498.0-0\" target=\"_blank\" rel=\"noopener\">ESLint<\/a>, <a href=\"https:\/\/youtrack.jetbrains.com\/issue\/WEB-22179?_gl=1*1y22rb3*_ga*MTY3MTcwNzE2LjE2MDgxMjk0NTk.*_ga_0WQ2ZF5VGT*MTYzNTI0ODA2My4yNjYuMS4xNjM1MjQ4MjU3LjQ5&amp;_ga=2.204900688.1162139582.1635151392-167170716.1608129459#focus=Comments-27-5224640.0-0\" target=\"_blank\" rel=\"noopener\">Mocha<\/a>, and <a href=\"https:\/\/youtrack.jetbrains.com\/issue\/WEB-42762?_gl=1*1bst2za*_ga*MTY3MTcwNzE2LjE2MDgxMjk0NTk.*_ga_0WQ2ZF5VGT*MTYzNTI0ODA2My4yNjYuMS4xNjM1MjQ4Mjc3LjI5&amp;_ga=2.204900688.1162139582.1635151392-167170716.1608129459#focus=Comments-27-5224643.0-0\" target=\"_blank\" rel=\"noopener\">Jest<\/a>. For example, if you want to lint a JavaScript file with ESLint, open that file in the editor \u2013 the errors should be highlighted automatically.<\/li>\n<li>In this release, we\u2019ve managed to decrease the indexing time for JavaScript files by 20%.<\/li>\n<\/ul>\n<h2 id=\"space_integration\">Space integration<\/h2>\n<h3 id=\"space_merge_requests_and_code_reviews_from_the_ide\">Space: merge requests and code reviews from the IDE<\/h3>\n<p>For projects located in <a href=\"https:\/\/www.jetbrains.com\/space\/\" target=\"_blank\" rel=\"noopener\">Space<\/a>, you can now create merge requests and code reviews right from the IDE. To call these actions, use the <code>+<\/code> icon on the top toolbar of the <em>Code Reviews<\/em> tool window.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_space_code_review.png\" alt=\"Space: code reviews\" width=\"670\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_space_code_review.gif\"><\/p>\n<p>The <em>Create Merge Request<\/em> action is useful when you want to merge a branch with multiple commits into a different branch and to ask your teammates to review it.<\/p>\n<p>With this action, you can select reviewers, the branch to be reviewed, and the destination branch. You will see the commits in the <em>Info<\/em> tab. You can also create a name for your merge request.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_space_merge_request_create.png\" alt=\"Space: create a merge request\" width=\"670\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_space_merge_request_create.gif\"><\/p>\n<p>The <em>Create Code Review<\/em> action is more generic, and is helpful when you want your teammates to review commits in one or several branches.<\/p>\n<p>When you choose this action, you will see the list of pushed commits available in Space. You can add a name for the review and select reviewers. In the <em>Info <\/em>tab, you can then manually filter the commits by author, branch, time period, or commit text.<\/p>\n<p><em>Note:<\/em> If you are filtering by commit text, you should enter either the entire commit hash or a complete word used in the commit.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_space_code_review_create.png\" alt=\"Space: create a code review\" width=\"670\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_space_code_review_create.gif\"><\/p>\n<h3 id=\"space_mark_files_as_viewed\">Space: mark files as viewed<\/h3>\n<p>In code reviews, the files you haven\u2019t reviewed yet will be marked with blue dots. This will help you make sure you don\u2019t miss any changes in Space projects when performing code reviews.<\/p>\n<p>The dots will disappear automatically after you open the marked items. If you want to review the changes later, you can select <em>Mark as Not Viewed<\/em> from the context menu.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/10\/213_space_mark_as_viewed.png\" alt=\"Mark files as viewed\" width=\"670\"><\/p>\n<h2 id=\"join_the_early_access_program\">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-220364889\" 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 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><br \/>\n<em>The RubyMine team<\/em><\/p>\n","protected":false},"author":1062,"featured_media":182188,"comment_status":"closed","ping_status":"closed","template":"","categories":[826],"tags":[6713,6757,600,91],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/ruby\/194632"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/ruby"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/types\/ruby"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/users\/1062"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/comments?post=194632"}],"version-history":[{"count":10,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/ruby\/194632\/revisions"}],"predecessor-version":[{"id":196872,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/ruby\/194632\/revisions\/196872"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media\/182188"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media?parent=194632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/categories?post=194632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/tags?post=194632"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/cross-post-tag?post=194632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}