{"id":134494,"date":"2021-04-08T09:11:09","date_gmt":"2021-04-08T08:11:09","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=space&#038;p=134494"},"modified":"2021-04-08T09:11:09","modified_gmt":"2021-04-08T08:11:09","slug":"space-intellij-idea-2021-1","status":"publish","type":"space","link":"https:\/\/blog.jetbrains.com\/zh-hans\/space\/2021\/04\/08\/space-intellij-idea-2021-1\/","title":{"rendered":"Space \u8d4b\u80fd\u7684 IntelliJ IDEA 2021.1 \u4ee3\u7801\u5ba1\u67e5"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/04\/twitter_1024x512-1.png\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/www.jetbrains.com\/space\/\" target=\"_blank\" rel=\"noopener\">Space<\/a> \u53ef\u4ee5\u5e2e\u52a9\u60a8\u548c\u60a8\u7684\u56e2\u961f\u5ba1\u67e5\u4ee3\u7801\u548c\u8ba8\u8bba\u53d8\u66f4\u3002 \u505a\u51fa\u53d8\u66f4\u540e\uff0c\u60a8\u53ef\u4ee5\u5411\u4e00\u540d\u6216\u591a\u540d\u56e2\u961f\u6210\u5458 <a href=\"https:\/\/blog.jetbrains.com\/space\/2020\/04\/30\/introducing-turn-based-code-reviews-in-space\/\">\u7533\u8bf7\u5ba1\u67e5<\/a> \u3002\u5904\u7406\u7279\u6027\u5206\u652f\u65f6\uff0c\u53ef\u4ee5\u76f4\u63a5\u4ece Space \u5c06\u5176\u5408\u5e76\u56de\u57fa\u7840\u5206\u652f\u3002<\/p>\n<p><strong>\u4ee3\u7801\u5ba1\u67e5<\/strong> \u548c\u5408\u5e76\u8bf7\u6c42\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u548c <a href=\"https:\/\/www.jetbrains.com\/help\/space\/space-desktop-app.html\" target=\"_blank\" rel=\"noopener\">Space \u684c\u9762\u5e94\u7528\u7a0b\u5e8f<\/a>\u8bbf\u95ee\u3002 \u6216\u8005\u4ece <strong>IDE \u5185<\/strong>\u8bbf\u95ee\uff01<\/p>\n<p>IDE \u662f\u5f00\u53d1\u8005\u7f16\u5199\u4ee3\u7801\u548c\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\u7684\u5730\u65b9\u3002 Space \u4e0e\u57fa\u4e8e IntelliJ IDEA \u7684 IDE \u7684\u539f\u751f\u96c6\u6210\u5177\u6709\u5927\u91cf\u4f18\u52bf\uff0c\u5c06\u4e3a\u60a8<strong>\u5e26\u6765\u51fa\u8272\u7684\u7528\u6237\u4f53\u9a8c<\/strong>\u3002 \u4ee3\u7801\u5ba1\u67e5\u53ea\u662f\u7b2c\u4e00\u6b65\uff01 \u5728 JetBrains\uff0c<strong>\u6211\u4eec\u81f4\u529b\u4e8e\u6539\u8fdb Space \u548c\u6211\u4eec IDE \u7684\u96c6\u6210<\/strong>\u3002<\/p>\n<p>\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55<strong>\u4f7f\u7528\u57fa\u4e8e IntelliJ IDEA \u7684 IDE <\/strong>\u6d4f\u89c8 Space \u4ee3\u7801\u5ba1\u67e5\u3001\u5206\u914d\u3001\u7ba1\u7406\u3001\u67e5\u770b\u548c\u63d0\u4ea4\u8bc4\u8bba\uff0c\u4ee5\u53ca\u63a5\u53d7\u53d8\u66f4\u3002<\/p>\n<p>JetBrains Space \u4e3a\u8f6f\u4ef6\u5f00\u53d1\u8005\u5e26\u6765\u4e86\u804a\u5929\u3001\u9879\u76ee\u7ba1\u7406\u3001\u95ee\u9898\u8ddf\u8e2a\u3001Git \u6258\u7ba1\u3001CI\/CD \u548c\u8f6f\u4ef6\u5305\u5b58\u50a8\u5e93\u529f\u80fd\u3002<\/p>\n<p align=\"center\"><a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/space\/#sign-up\" target=\"_blank\" rel=\"noopener\">\u521b\u5efa\u60a8\u7684 Space<\/a><\/p>\n<h2>\u89c6\u9891<\/h2>\n<p>\u5982\u679c\u60a8\u60f3\u89c2\u770b\u89c6\u9891\uff0c\u6211\u4eec\u7684\u540c\u4e8b Trisha Gee \u4e3a\u201cIntelliJ IDEA \u7684 Space \u4ee3\u7801\u5ba1\u67e5\u201d\u5236\u4f5c\u4e86\u4e00\u6bb5\u7b80\u77ed\u7684\u6982\u89c8\uff1a<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/v.qq.com\/x\/page\/w3238zpxvk0.html\" width=\"800\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>\u51c6\u5907\u5f00\u59cb<\/h2>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f <a href=\"https:\/\/www.jetbrains.com\/idea\/\" target=\"_blank\" rel=\"noopener\"><strong>IntelliJ IDEA 2021.1<\/strong><\/a>\uff0c<strong>Space \u63d2\u4ef6\u73b0\u5df2\u6346\u7ed1\u5176\u4e2d<\/strong>\u3002\u5176\u4ed6\u7684 IDE\uff0c\u60a8\u53ef\u4ee5<a href=\"https:\/\/plugins.jetbrains.com\/plugin\/13362-space\" target=\"_blank\" rel=\"noopener\">\u624b\u52a8\u5b89\u88c5<\/a>\u6b64\u63d2\u4ef6\u3002<\/p>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5728 IDE \u4e2d\u767b\u5f55 Space\u3002 \u60a8\u53ef\u4ee5\u5728 Tools | Space \u4e0b\u7684\u8bbe\u7f6e\u4e2d\u5b8c\u6210\u64cd\u4f5c\u3002 \u8f93\u5165 Space \u7ec4\u7ec7\u7684 URL\uff0c\u6309\u4e0b <strong>Log In<\/strong>\uff0c\u60a8\u7684\u9ed8\u8ba4\u6d4f\u89c8\u5668\u5c06\u9700\u8981\u60a8\u6388\u4e88\u4ece IDE \u8bbf\u95ee\u7684\u6743\u9650\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/03\/log-in-to-space-from-the-ide.png\" alt=\"Log in to Space from the IDE\" \/><\/p>\n<p>\u5b8c\u6210\u540e\uff0c\u5373\u53ef\u4f7f\u7528 <strong>Get from VCS<\/strong> \u5217\u51fa Space \u7ec4\u7ec7\u4e2d\u7684\u6240\u6709\u9879\u76ee\u548c\u5b58\u50a8\u5e93\u3002 \u641c\u7d22\u5e76\u9009\u62e9\u8981\u4f7f\u7528\u7684 Git \u5b58\u50a8\u5e93\uff0c\u7136\u540e\u70b9\u51fb <strong>Clone<\/strong>\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/03\/clone-git-repository-from-space.png\" alt=\"Clone Git repository from Space\" \/><\/p>\n<p>Space \u63d2\u4ef6\u8fd8\u6709\u4e00\u4e2a\u5de5\u5177\u7a97\u53e3<a href=\"https:\/\/www.jetbrains.com\/space\/guide\/tips\/automation-intellij-idea-refactor\/\" target=\"_blank\" rel=\"noopener\">\u663e\u793a Space Automation \u4e2d\u7684\u4f5c\u4e1a<\/a>\uff0c\u5e76\u53ef\u4e3a <code>.space.kts<\/code> \u6587\u4ef6\u6dfb\u52a0\u4ee3\u7801\u8865\u5168\u548c\u8bed\u6cd5\u9ad8\u4eae\u663e\u793a\u3002<\/p>\n<p>\u4e0d\u8fc7\uff0c\u522b\u5fd8\u4e86\u6211\u4eec\u7684\u91cd\u70b9\u662f\u4ee3\u7801\u5ba1\u67e5\u3002\u5f00\u59cb\u5ba1\u67e5\u5427\uff01<\/p>\n<h2>Code Reviews \u5de5\u5177\u7a97\u53e3<\/h2>\n<p>\u901a\u8fc7\u4fa7\u8fb9\u680f\u6216\u4f7f\u7528 <strong>Tools | Space | Code Reviews<\/strong> \u83dc\u5355\uff0c\u60a8\u53ef\u4ee5\u627e\u5230 <strong>Space Code Reviews<\/strong> \u5de5\u5177\u7a97\u53e3\u3002 \u5b83\u5c06\u663e\u793a\u5f53\u524d\u9879\u76ee\u7684\u6240\u6709\u4ee3\u7801\u5ba1\u67e5\uff0c\u5e76\u5141\u8bb8\u60a8\u641c\u7d22\u548c\u7b5b\u9009\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/03\/code-reviews-tool-window-preview.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/03\/code-reviews-tool-window.gif\" alt=\"Space Code Reviews tool window in IntelliJ IDEA\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-125855\" \/><\/p>\n<p>\u5feb\u901f\u7b5b\u9009\u5668\u8ba9\u60a8\u53ef\u4ee5\u6d4f\u89c8\uff1a<\/p>\n<ul>\n<li>\u5f00\u542f\u6216\u5173\u95ed\u7684\u4ee3\u7801\u5ba1\u67e5<\/li>\n<li>\u5305\u542b\u60a8\u7684\u53d8\u66f4\u7684\u5ba1\u67e5<\/li>\n<li>\u9700\u8981\u60a8\u6ce8\u610f\u7684\u4ee3\u7801\u5ba1\u67e5<\/li>\n<li>\u60a8\u9700\u8981\u5ba1\u67e5\u7684\u53d8\u66f4<\/li>\n<li>\u5206\u914d\u7ed9\u60a8\u7684\u5ba1\u67e5<\/li>\n<\/ul>\n<h2>\u4ee3\u7801\u5ba1\u67e5\u65f6\u95f4\u7ebf<\/h2>\n<p>\u4ece\u4ee3\u7801\u5ba1\u67e5\u5217\u8868\u4e2d\uff0c\u60a8\u53ef\u4ee5\u5bfc\u822a\u81f3\u5176\u8be6\u7ec6\u4fe1\u606f\u3002 \u60a8\u5c06\u770b\u5230\u4ee3\u7801\u5ba1\u67e5\u7684\u57fa\u672c\u7ec6\u8282\uff0c\u4f8b\u5982\u4f5c\u8005\u548c\u5ba1\u67e5\u8005\u3002 \u5982\u679c\u60a8\u60f3\u83b7\u5f97\u5b8c\u6574\u7684\u4ee3\u7801\u5e93\uff0c\u53ef\u4ee5\u67e5\u770b\u5408\u5e76\u8bf7\u6c42\u7684\u5206\u652f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/03\/code-review-timeline.png\" alt=\"Code review timeline\" \/><\/p>\n<p>\u4e5f\u5c06\u663e\u793a\u4ee3\u7801\u5ba1\u67e5\u65f6\u95f4\u7ebf\uff0c\u4f9b\u60a8\u67e5\u770b\u4ee3\u7801\u5ba1\u67e5\u6574\u4e2a\u751f\u547d\u5468\u671f\u4e2d\u7684\u6240\u6709\u6ce8\u91ca\u548c\u53d8\u66f4\u3002 \u60a8\u53ef\u4ee5\u6dfb\u52a0\u548c\u56de\u590d\u6ce8\u91ca\u6216\u5c06\u5176\u89e3\u51b3\u3002<\/p>\n<p>Space \u4e2d\u7684\u4e00\u5207\u90fd\u8868\u73b0\u4e3a\u804a\u5929\u7684\u5f62\u5f0f\u3002 \u4ee3\u7801\u5ba1\u67e5\u6ce8\u91ca\u4e5f\u662f\u5982\u6b64\uff1a\u60a8\u53ef\u4ee5\u5bf9\u4ee3\u7801\u5ba1\u67e5\u7f16\u5199\u9644\u52a0\u6ce8\u91ca\uff0c\u4e5f\u53ef\u4ee5\u6d4f\u89c8\u548c\u56de\u590d\u5bf9\u8bdd\u3002 \u4e0d\u9700\u8981\u79bb\u5f00 IDE\uff01<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/03\/reply-to-threads-and-comments-preview.png\" data-gif-src=\"https:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/dotnet\/reply-to-threads-and-comments.gif\" alt=\"Respond to comments and threads in a code review\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-125895\" \/><\/p>\n<p>\u6d4f\u89c8\u5668\u6216 Space \u684c\u9762\u5e94\u7528\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u5728\u4ee3\u7801\u5ba1\u67e5\u4e2d\u6216 Space \u804a\u5929\u4e2d\u770b\u5230\u60a8\u6dfb\u52a0\u7684\u4efb\u4f55\u6ce8\u91ca\u3002<\/p>\n<h2>\u5728 IDE \u4e2d\u5ba1\u67e5\u4ee3\u7801<\/h2>\n<p>\u5728 IDE \u4e2d\u6253\u5f00\u4ee3\u7801\u5ba1\u67e5\u540e\uff0c\u60a8\u5c06\u770b\u5230\u5df2\u6dfb\u52a0\u3001\u66f4\u6539\u6216\u79fb\u9664\u7684\u6587\u4ef6\u7684\u5217\u8868\u3002 \u60a8\u53ef\u4ee5\u5c06\u5176\u6253\u5f00\uff0c\u5e76\u4f7f\u7528 IDE \u7684<a href=\"https:\/\/www.jetbrains.com\/help\/idea\/differences-viewer.html\" target=\"_blank\" rel=\"noopener\">\u5dee\u5f02\u67e5\u770b\u5668<\/a>\u67e5\u770b\u53d8\u66f4\u7684\u5185\u5bb9\u3002 \u7531\u6b64\u5dee\u5f02\uff0c\u60a8\u53ef\u4ee5\u5411\u4efb\u4f55\u4e00\u884c\u4ee3\u7801\u6dfb\u52a0\u6ce8\u91ca\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/03\/add-line-comment-in-code-review-preview.png\" data-gif-src=\"http:\/\/resources.jetbrains.com\/storage\/products\/blog\/wp-content\/uploads\/dotnet\/add-line-comment-in-code-review.gif\" alt=\"Add line comment to code review\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-125996\" \/><\/p>\n<p>\u6ce8\u91ca\u5c06\u53e6\u5b58\u4e3a\u8349\u7a3f\uff0c\u5e76\u5728\u60a8\u7684\u4ee3\u7801<a href=\"https:\/\/blog.jetbrains.com\/space\/2020\/04\/30\/introducing-turn-based-code-reviews-in-space\/\">\u5ba1\u67e5\u8fdb\u7a0b\u7ed3\u675f\u65f6<\/a>\u53d1\u9001\u3002 \u5982\u6709\u9700\u8981\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 Post now \u7acb\u5373\u53d1\u9001\u6ce8\u91ca\u3002<\/p>\n<h2>\u63a5\u53d7\u53d8\u66f4\u6216\u7b49\u5f85\u56de\u590d<\/h2>\n<p>\u5b8c\u6210\u5bf9\u53d8\u66f4\u7684\u5ba1\u67e5\u5373\u53ef\u5b8c\u6210\u60a8\u7684\u4ee3\u7801\u5ba1\u67e5\u8fdb\u7a0b\u3002 \u5728\u4ee3\u7801\u5ba1\u67e5\u7684\u8be6\u7ec6\u4fe1\u606f\u4e2d\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\uff1a<\/p>\n<ul>\n<li><strong>Accept Changes<\/strong>\uff0c\u63a5\u53d7\u53d8\u66f4\uff0c\u5982\u679c\u4e00\u5207\u53ef\u4ee5\u63a5\u53d7<\/li>\n<li><strong>Wait for Response<\/strong>\uff0c\u7b49\u5f85\u5bf9\u672a\u51b3\u95ee\u9898\u6216\u7591\u8651\u7684\u56de\u590d\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2021\/03\/accept-changes-or-wait-for-response.png\" alt=\"Accept Changes or Wait for Response\" \/><\/p>\n<p>\u4efb\u4f55\u9009\u9879\u90fd\u5c06\u7ed3\u675f\u60a8\u7684\u4ee3\u7801\u5ba1\u67e5\u8fdb\u7a0b\uff0c\u5e76\u53d1\u5e03\u60a8\u5728\u67e5\u770b\u4ee3\u7801\u65f6\u6dfb\u52a0\u7684\u6ce8\u91ca\u8349\u7a3f\u3002<\/p>\n<h2>\u5c0f\u7ed3<\/h2>\n<p><strong>\u56e2\u961f\u6709\u5f88\u591a\u7406\u7531\u5ba1\u67e5\u4ee3\u7801<\/strong>\u3002\u6bd4\u5982\u5e0c\u671b\u56e2\u961f\u6210\u5458\u9a8c\u8bc1\u65b0\u4ee3\u7801\u8db3\u591f\u6e05\u6670\u3001\u53ef\u8bfb\u4e14\u4e0d\u542b\u4e25\u91cd\u7f3a\u9677\uff0c\u6216\u8005\u9700\u8981\u4ee3\u7801\u5728\u5408\u5e76\u5230\u4e3b\u5206\u652f\u4e4b\u524d\u5f97\u5230\u5ba1\u67e5\u548c\u6279\u51c6\uff0c\u65e0\u8bba\u662f\u54ea\u79cd\u64cd\u4f5c\uff0c<strong>\u73b0\u5728\u90fd\u53ef\u4ee5\u5728 IDE \u4e2d\u8fdb\u884c<\/strong>\uff01<\/p>\n<p><strong>\u7acb\u5373\u5f00\u59cb\u5c1d\u8bd5<\/strong>\uff01Space \u63d2\u4ef6\u73b0\u5df2\u6346\u7ed1\u5230 <a href=\"https:\/\/www.jetbrains.com\/idea\/\" target=\"_blank\" rel=\"noopener\">IntelliJ IDEA 2021.1<\/a>\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4ed6 IDE \u4e2d<a href=\"https:\/\/plugins.jetbrains.com\/plugin\/13362-space\" target=\"_blank\" rel=\"noopener\">\u624b\u52a8\u5b89\u88c5 Space \u63d2\u4ef6<\/a>\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u5728\u672a\u6765\u7684\u7248\u672c\u4e2d\u6269\u5c55 Space \u63d2\u4ef6\u7684\u529f\u80fd\u3002 \u60a8\u8fd8\u9700\u8981\u4ec0\u4e48\uff1f \u5728\u8bc4\u8bba\u4e2d\u544a\u8bc9\u6211\u4eec\u5427\uff01<\/p>\n<p><em>P.S.\uff1a\u60a8\u53ef\u4ee5<a href=\"https:\/\/www.jetbrains.com\/space\/#sign-up\" target=\"_blank\" rel=\"noopener\">\u514d\u8d39\u521b\u5efa\u4e00\u4e2a Space \u7ec4\u7ec7\u673a\u6784<\/a>\uff0c\u5e76\u8f7b\u677e<a href=\"https:\/\/blog.jetbrains.com\/space\/2020\/02\/06\/mirroring-an-external-git-repository-in-space\/\">\u955c\u50cf\u73b0\u6709 Git \u5b58\u50a8\u5e93<\/a>\uff0c\u83b7\u5f97 IntelliJ IDEA \u4e2d Space Code Reviews \u7684\u6240\u6709\u529f\u80fd\u3002<\/em><\/p>\n","protected":false},"author":814,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","categories":[],"tags":[40],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/space\/134494"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/space"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/space"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/814"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=134494"}],"version-history":[{"count":1,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/space\/134494\/revisions"}],"predecessor-version":[{"id":134512,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/space\/134494\/revisions\/134512"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=134494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=134494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=134494"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=134494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}