{"id":118402,"date":"2021-02-20T17:30:06","date_gmt":"2021-02-20T16:30:06","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=idea&#038;p=118402"},"modified":"2021-02-20T17:35:13","modified_gmt":"2021-02-20T16:35:13","slug":"intellij-idea-eap-4-2","status":"publish","type":"idea","link":"https:\/\/blog.jetbrains.com\/idea\/2021\/02\/intellij-idea-eap-4-2\/","title":{"rendered":"IntelliJ IDEA EAP 4: Adjustable Font Weight, Support for a Git Commit Template, and More"},"content":{"rendered":"<p>The EAP continues with a fourth build for IntelliJ IDEA 2021.1! You can download it from our <a href=\"https:\/\/www.jetbrains.com\/idea\/nextversion\/\" target=\"_blank\" rel=\"noopener\">website<\/a>, get it from the free <a href=\"https:\/\/www.jetbrains.com\/toolbox-app\/\" target=\"_blank\" rel=\"noopener\">Toolbox App<\/a>, or update using snaps if you\u2019re an Ubuntu user.<\/p>\n<p>This time we\u2019ve introduced the ability to adjust font weights, support for a Git commit template, faster highlighting of code problems in Kotlin, embedded shared indexes in IntelliJ IDEA Community Edition, and more. <\/p>\n<p>Without further ado, let\u2019s move on to the most significant updates for week 4. Ready, steady, go!<\/p>\n<h2 id=\"user_experience\">User Experience <\/h2>\n<h3 id=\"adjustable_font_weight\">Adjustable font weight<\/h3>\n<p>Choosing a font that works perfectly for long hours of coding is crucial. The recently added typography settings make this choice a bit easier and more personalized. In v2021.1, you can fine-tune the weight of your main and bold font styles in <em>Preferences \/ Settings | Editor | Fonts<\/em>.<\/p>\n<p><img decoding=\"async\" alt=\"UI Fonts\" width=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/02\/UI_Fonts.gif\"\/><\/p>\n<h3 id=\"syncing_your_windows_and_ide_themes\">Syncing your Windows and IDE themes <\/h3>\n<p>If you use high-contrast mode on Windows, your IDE will sync with the OS and apply the high-contrast theme by default on the first launch.<\/p>\n<h3 id=\"selector_specificity_for_style_sheets\">Selector specificity for style sheets<\/h3>\n<p>When working with style sheets, you\u2019ll now be able to check the specificity of your selectors \u2013 just hover over a selector that you want to check. You can also focus on a selector and press <em>F1\/Ctrl+Q<\/em> to explicitly invoke the <em>Documentation<\/em> popup with this information.<\/p>\n<p><img decoding=\"async\" alt=\"Selector specificity \" width=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/02\/UI_Selector.png\"\/><\/p>\n<h2 id=\"vcs\">VCS <\/h2>\n<h3 id=\"support_for_a_git_commit_template\">Support for a Git commit template <\/h3>\n<p>IntelliJ IDEA now has a Git commit template, which you can use to create custom commit messages depending on your needs. If you define a commit template, the IDE will display the text from it as an initial commit message. <\/p>\n<p><img decoding=\"async\" alt=\"Git Commit Template\" width=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/02\/CommitMessage.gif\"\/><\/p>\n<h3 id=\"save_to_shelf\">Save to Shelf <\/h3>\n<p>In v2021.1, we added the <em>Save to Shelf <\/em>action that copies your changes to <em>Shelf <\/em>while keeping them in the local changes. You can access this action by pressing \u21e7\u2318A on macOS or <em>Ctrl+Shift+A<\/em> on Windows or Linux and typing \u2018Save to Shelf\u2019. <\/p>\n<p><img decoding=\"async\" alt=\"Save to Shelf\" width=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/02\/VCS_SaveToShelf.gif\"\/><\/p>\n<h2 id=\"kotlin\">Kotlin <\/h2>\n<h3 id=\"improved_code_completion\">Improved code completion<\/h3>\n<p>From now on, the code completion mechanism offers functions that require type parameters. When you select such a function from the list, the IDE adds the correct type parameter to the preceding code. <\/p>\n<p><img decoding=\"async\" alt=\"Kotlin Type parameters\" width=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/02\/Kotlin_TypeParameter.gif\"\/><\/p>\n<h3 id=\"faster_highlighting_of_code_problems\">Faster highlighting of code problems <\/h3>\n<p>Code analysis now works much faster, which allows the IDE to highlight errors and warnings instantly. Take a look at this gif to compare the speeds: <\/p>\n<p><img decoding=\"async\" alt=\"Kotlin performance\" width=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/02\/kotlin_perfromance.gif\"\/><\/p>\n<h2 id=\"other\">Other <\/h2>\n<h3 id=\"embedded_shared_indexes\">Embedded shared indexes <\/h3>\n<p>A while ago, we introduced <a href=\"https:\/\/www.jetbrains.com\/help\/idea\/shared-indexes.html\" target=\"_blank\" rel=\"noopener\">shared indexes<\/a> to help reduce indexing times. This feature allows you to download indexes prepared on another machine instead of building them locally. In v2021.1, we\u2019ve embedded support for publicly available shared indexes to IntelliJ IDEA Community Edition. From now on, you don\u2019t have to install a dedicated plugin and use the shared indexes feature directly from the IDE.<\/p>\n<p>As for IntelliJ IDEA Ultimate, it supports both publicly available shared indexes and <a href=\"https:\/\/www.jetbrains.com\/help\/idea\/shared-indexes.html#project-shared-indexes\" target=\"_blank\" rel=\"noopener\">project shared indexes<\/a>. <\/p>\n<h3 id=\"android\">Android <\/h3>\n<p>IntelliJ IDEA now supports all Android Studio 4.1.1 updates.<\/p>\n<h3 id=\"embedded_mdn_documentation\">Embedded MDN documentation <\/h3>\n<p>Quick MDN documentation for JS APIs, HTML, and CSS is now embedded in your IDE. This allows us to show more relevant documentation faster and avoid connectivity issues and changes caused by MDN.<\/p>\n<h3 id=\"updated_dialog_for_choosing_the_ides_boot_runtime\">Updated dialog for choosing the IDEs boot runtime<\/h3>\n<p>There are cases when JetBrains support may ask you to <a href=\"https:\/\/www.jetbrains.com\/help\/idea\/switching-boot-jdk.html\" target=\"_blank\" rel=\"noopener\">change the boot runtime<\/a> or a specific version of JetBrains Runtime for running your IDE.<\/p>\n<p>In v2021.1, we made that easier for you. You no longer need to install a plugin. The functionality is now embedded in the IDE and works without delay. <\/p>\n<p>From the <em>Choose Boot Runtime for the IDE<\/em> dialog, you can pick various versions of the JetBrains Runtime and even provide a custom JDK to run your IntelliJ-based IDE. <\/p>\n<p><strong>Note <\/strong><strong>that changing the runtime might cause unexpected problems. Do not change it unless <\/strong><a href=\"https:\/\/www.jetbrains.com\/help\/idea\/getting-started.html#contact-support\" target=\"_blank\" rel=\"noopener\"><strong>JetBrains support<\/strong><\/a><strong> has specifically asked you to do so. <\/strong><\/p>\n<p><img decoding=\"async\" alt=\"Choose Runtime\" width=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/02\/ChooseRuntime.gif\"\/><\/p>\n<p>We also continue to fix issues that have been troubling users the most:<\/p>\n<ul>\n<li>\nFixed reset of the custom color scheme upon restart. [<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/IDEA-253840\" target=\"_blank\" rel=\"noopener\">IDEA-253840<\/a>]\n<\/li>\n<li>\nErrors are now visible in SSH terminals when you use Darcula. [<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/IDEA-182750\" target=\"_blank\" rel=\"noopener\">IDEA-182750<\/a>]\n<\/li>\n<li>\nList items are correctly shown on MacBook Touch Bar. [<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/IDEA-236698\" target=\"_blank\" rel=\"noopener\">IDEA-236698<\/a>]\n<\/li>\n<li>\nFixed an error when running a debugger with a Tomcat run configuration. [<a href=\"https:\/\/youtrack.jetbrains.com\/issue\/IDEA-261586\" target=\"_blank\" rel=\"noopener\">IDEA-261586<\/a>]\n<\/li>\n<\/ul>\n<p>These are the key updates for EAP 4. You can find the whole list of resolved issues in the <a href=\"https:\/\/confluence.jetbrains.com\/display\/IDEADEV\/IntelliJ+IDEA+2021.1+EAP+(211.6085.26+build)+Release+Notes \" target=\"_blank\" rel=\"noopener\">release notes<\/a>. As usual, please share your feedback in the comments below, on <a href=\"https:\/\/twitter.com\/intellijidea\" target=\"_blank\" rel=\"noopener\">Twitter<\/a>, or via our <a href=\"https:\/\/youtrack.jetbrains.com\/issues\/IDEA?_ga=2.40454882.1129528638.1612769675-1683505809.1594742857\" target=\"_blank\" rel=\"noopener\">issue tracker<\/a>. More improvements are coming next week \u2013 stay tuned! <\/p>\n<p>Happy developing!<\/p>\n","protected":false},"author":1138,"featured_media":118404,"comment_status":"closed","ping_status":"closed","template":"","categories":[826],"tags":[6473,6412,6465,91],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/idea\/118402"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/idea"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/types\/idea"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/users\/1138"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/comments?post=118402"}],"version-history":[{"count":1,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/idea\/118402\/revisions"}],"predecessor-version":[{"id":118403,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/idea\/118402\/revisions\/118403"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media\/118404"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media?parent=118402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/categories?post=118402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/tags?post=118402"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/cross-post-tag?post=118402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}