{"id":25798,"date":"2017-06-14T13:11:56","date_gmt":"2017-06-14T13:11:56","guid":{"rendered":"https:\/\/blog.jetbrains.com\/idea\/?p=15454"},"modified":"2017-06-14T13:11:56","modified_gmt":"2017-06-14T13:11:56","slug":"intellij-idea-2017-2-eap-introduces-unloaded-modules","status":"publish","type":"idea","link":"https:\/\/blog.jetbrains.com\/pt-br\/idea\/2017\/06\/intellij-idea-2017-2-eap-introduces-unloaded-modules","title":{"rendered":"IntelliJ IDEA 2017.2 EAP Introduces Unloaded Modules"},"content":{"rendered":"<p>Another week of work for us\u2014something new for you to try: have a look at the fresh <a href=\"https:\/\/www.jetbrains.com\/idea\/nextversion\/\" target=\"_blank\" rel=\"noopener\">IntelliJ IDEA 2017.2 EAP<\/a> build. In addition to <a href=\"https:\/\/confluence.jetbrains.com\/display\/IDEADEV\/IntelliJ+IDEA+2017.2+172.2953.9+Release+Notes\" target=\"_blank\" rel=\"noopener\">bugfixes<\/a>, it\u00a0introduces a new, experimental feature called\u00a0<em>Unloaded Modules<\/em>.<\/p>\n<p>This feature is supposed to help you\u00a0to deal with large codebases by giving you the ability to select what modules you are going to work on in your project. Modules that you are not working with at the moment are marked as <em>Unloaded<\/em> and IntelliJ IDEA will not index or otherwise touch any files in these modules, which can help to conserve CPU and memory resources.<\/p>\n<p>To access the feature, invoke the\u00a0<em>Project<\/em> tree context menu and select <em>Load\/Unload Modules<\/em>:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-15455\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2017\/06\/idea-Screen-Shot-2017-06-13-at-15.09.42.png\" alt=\"\" width=\"750\" height=\"300\" \/><\/p>\n<p>And now you just select the modules you&#8217;d like to work with at the moment.:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-15456\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2017\/06\/idea-Screen-Shot-2017-06-13-at-15.13.18.png\" alt=\"\" width=\"750\" height=\"300\" \/><\/p>\n<p>If a\u00a0module you marked as loaded depends on other modules, IntelliJ IDEA will prompt you to load them as well:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-15457\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2017\/06\/idea-Screen-Shot-2017-06-13-at-15.59.12.png\" alt=\"\" width=\"750\" height=\"300\" \/><\/p>\n<p>When\u00a0you&#8217;re about to refactor something, or are looking for usages of a symbol, you will be warned about the fact that there are unloaded modules that depend on the modules with which you are working, and therefore might contain code that should have been affected by the action, but won&#8217;t be:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-15458\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2017\/06\/idea-Screen-Shot-2017-06-13-at-16.03.40.png\" alt=\"\" width=\"750\" height=\"300\" \/><\/p>\n<p>It&#8217;s important to understand that when you exclude a module, consistency of changes in code that belongs to it will not be guaranteed, so be cautious when using this feature.<\/p>\n<p>Even though this feature\u00a0is openly available, it&#8217;s still under development, so please\u00a0share your feedback, including bug reports in our <a href=\"https:\/\/youtrack.jetbrains.com\/issues\/IDEA\" target=\"_blank\" rel=\"noopener\">issue tracker<\/a>.<\/p>\n<p><em>Develop with\u00a0Pleasure!<\/em><\/p>\n","protected":false},"author":63,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","categories":[826,808],"tags":[1521,673],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/idea\/25798"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/idea"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/types\/idea"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/comments?post=25798"}],"version-history":[{"count":0,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/idea\/25798\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/media?parent=25798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/categories?post=25798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/tags?post=25798"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/cross-post-tag?post=25798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}