{"id":296853,"date":"2022-11-11T10:00:51","date_gmt":"2022-11-11T09:00:51","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=blog&#038;p=296853"},"modified":"2022-11-11T10:00:55","modified_gmt":"2022-11-11T09:00:55","slug":"jetbrains-ide-github-codespaces","status":"publish","type":"blog","link":"https:\/\/blog.jetbrains.com\/zh-hans\/blog\/2022\/11\/11\/jetbrains-ide-github-codespaces\/","title":{"rendered":"JetBrains IDE \u4e2d\u7684\u8fdc\u7a0b\u5f00\u53d1\u529f\u80fd\u73b0\u5728\u53ef\u4f9b GitHub Codespaces \u7528\u6237\u4f7f\u7528"},"content":{"rendered":"<p>\u6211\u4eec\u4e0e GitHub \u5408\u4f5c\uff0c\u63d0\u4f9b GitHub Codespaces \u4e0e JetBrains Gateway \u4e4b\u95f4\u7684\u96c6\u6210\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/features\/codespaces\" target=\"_blank\" rel=\"noopener\">GitHub Codespaces<\/a> \u5141\u8bb8\u7528\u6237\u521b\u5efa\u5b89\u5168\u3001\u53ef\u914d\u7f6e\u3001\u4e13\u5c5e\u7684\u4e91\u7aef\u5f00\u53d1\u73af\u5883\u3002 \u6b64\u96c6\u6210\u610f\u5473\u7740\u60a8\u53ef\u4ee5\u901a\u8fc7 <a href=\"https:\/\/www.jetbrains.com.cn\/remote-development\/gateway\/\" target=\"_blank\" rel=\"noopener\">JetBrains Gateway<\/a> \u4f7f\u7528\u5728 GitHub Codespaces \u4e2d\u8fd0\u884c\u7684\u60a8\u6700\u559c\u6b22\u7684 IDE \u8fdb\u884c\u8fdc\u7a0b\u5f00\u53d1\u3002 \u6240\u6709\u8bed\u8a00\u5904\u7406\u90fd\u53d1\u751f\u5728\u7531 GitHub \u6258\u7ba1\u7684\u865a\u62df\u673a\u4e0a\uff0c\u540c\u65f6\u60a8\u53ef\u4ee5\u5728\u672c\u5730\u4f7f\u7528\u529f\u80fd\u4e30\u5bcc\u7684\u7626\u5ba2\u6237\u7aef\u5de5\u4f5c\u3002 \u8fd9\u5728\u5f3a\u5927\u7684\u4e91\u8ba1\u7b97\u548c\u5feb\u901f\u54cd\u5e94\u4e14\u719f\u6089\u7684 JetBrains IDE \u4f53\u9a8c\u4e4b\u95f4\u521b\u9020\u4e86\u4e00\u4e2a\u5b8c\u7f8e\u7684\u878d\u5408\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-295783\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/11\/Blog_Featured_image_1280x600-3.png\" alt=\"\" width=\"2560\" height=\"1200\" \/><\/figure>\n<h2>JetBrains \u8fdc\u7a0b\u5f00\u53d1\u7684\u5e55\u540e\u6545\u4e8b<\/h2>\n<p>\u5728\u6211\u4eec\u8c08\u8bba\u96c6\u6210\u4e4b\u524d\uff0c\u8ba9\u6211\u4eec\u56de\u987e\u4e00\u4e0b\u4ec0\u4e48\u662f JetBrains IDE \u7684\u8fdc\u7a0b\u5f00\u53d1\u4ee5\u53ca\u5b83\u7684\u8fd0\u4f5c\u65b9\u5f0f\u3002<\/p>\n<p>\u57fa\u672c\u4e0a\uff0c\u60a8\u7684 JetBrains IDE \u88ab\u5206\u6210\u4e24\u4e2a\u90e8\u5206\uff1a\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u7684 IDE \u540e\u7aef\u548c\u672c\u5730\u5ba2\u6237\u7aef\u3002 \u60a8\u4e0e\u672c\u5730\u7626\u5ba2\u6237\u7aef\u8fdb\u884c\u4ea4\u4e92\uff0c\u5b83\u63d0\u4f9b\u4e86\u5feb\u901f\u54cd\u5e94\u7684\u6d41\u7545\u7528\u6237\u4f53\u9a8c\u3002 \u540c\u65f6\uff0c\u8fdc\u7a0b\u670d\u52a1\u5668\u5219\u5728\u8d1f\u8d23\u6240\u6709\u7e41\u91cd\u7684\u5904\u7406\u5de5\u4f5c\u3002<\/p>\n<p>\u672c\u5730\u5ba2\u6237\u7aef\u4f7f\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848\u4e0e\u901a\u7528\u7684\u8fdc\u7a0b\u684c\u9762\u5de5\u5177\u622a\u7136\u4e0d\u540c\uff0c\u540e\u8005\u7684\u6bcf\u4e00\u6b21\u70b9\u51fb\u548c\u6309\u952e\u90fd\u9700\u8981\u4e00\u4e2a\u5f80\u8fd4\u8fc7\u7a0b\u3002 \u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848\u4e13\u4e3a\u8f6f\u4ef6\u5f00\u53d1\u800c\u6784\u5efa\u548c\u4f18\u5316\uff0c\u8fd9\u6837\u4e00\u6765\uff0c\u6211\u4eec\u80fd\u591f\u63d0\u4f9b\u539f\u751f\u5f00\u53d1\u4f53\u9a8c\u3002<\/p>\n<p>\u8fdc\u7a0b\u670d\u52a1\u5668\u5305\u542b\u5f00\u53d1\u8005\u73af\u5883\u3002 \u60a8\u53ef\u4ee5\u4f7f\u7528\u4e91\u5f00\u53d1\u73af\u5883\u4f9b\u5e94\u5546\uff0c\u5982 GitHub Codespaces\uff0c\u81ea\u52a8\u6267\u884c\u6b64\u7c7b\u73af\u5883\u7684\u521b\u5efa\u548c\u7ba1\u7406\uff0c\u60a8\u4e5f\u53ef\u4ee5\u624b\u52a8\u914d\u7f6e\u5b83\u4eec\u3002<\/p>\n<h2>GitHub Codespaces \u4e0e Gateway \u96c6\u6210<\/h2>\n<blockquote class=\"wp-block-quote\">\n<p>GitHub Codespaces \u5728\u4e91\u7aef\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u5f3a\u5927\u7684\u3001\u53ef\u914d\u7f6e\u7684\u5f00\u53d1\u73af\u5883\uff0c\u53ef\u6839\u636e\u4ed6\u4eec\u7684 IDE \u504f\u597d\u8fdb\u884c\u4e2a\u6027\u5316\u8bbe\u7f6e\u3002 \u901a\u8fc7\u652f\u6301 JetBrains IDE\uff0cGitHub Codespaces \u4f7f\u6240\u6709\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u5728\u4f7f\u7528\u4ed6\u4eec\u719f\u6089\u548c\u559c\u7231\u7684\u5de5\u5177\u7684\u540c\u65f6\uff0c\u5145\u5206\u5229\u7528\u8fdc\u7a0b\u5f00\u53d1\u7684\u529b\u91cf\u548c\u89c4\u6a21\u3002<\/p>\n<p><cite>Nik Molnar\uff0cGitHub \u9996\u5e2d\u9879\u76ee\u7ecf\u7406<\/cite><\/p>\n<\/blockquote>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-295805\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/11\/Gateway_1680x1100.png\" alt=\"\" width=\"1680\" height=\"1100\" \/><\/figure>\n<p>GitHub Codespaces \u63d0\u4f9b\u968f\u65f6\u968f\u5730\u53ef\u7528\u7684\u4e91\u5f00\u53d1\u73af\u5883\u3002 \u501f\u52a9\u6b64\u6b21\u5408\u4f5c\uff0cGitHub Codespaces \u7528\u6237\u73b0\u5728\u53ef\u4ee5\u8fde\u63a5\u5230\u6258\u7ba1\u5728\u4e91\u7aef\u7684 JetBrains IDE\uff0c\u4f8b\u5982 IntelliJ IDEA\u3001RubyMine\u3001GoLand\u3001PyCharm\u3001PhpStorm \u548c WebStorm\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-295817\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/11\/Codespaces.png\" alt=\"\" width=\"1680\" height=\"647\" \/><\/figure>\n<p>GitHub Codespaces \u548c JetBrains Gateway \u7684\u7ec4\u5408\u7ed9\u5f00\u53d1\u8005\u5e26\u6765\u4e86\u5404\u79cd\u597d\u5904\u3002<\/p>\n<p><strong>\u7075\u6d3b\u6027<\/strong> \u2013 \u8fd9\u79cd\u7ec4\u5408\u53ef\u4ee5\u63d0\u4f9b\u66f4\u591a\u9009\u9879\u3002 \u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u81ea\u7531\u5730\u5728\u4ed6\u4eec\u5e0c\u671b\u7684\u4efb\u4f55\u5730\u65b9\u5de5\u4f5c\u5e76\u4f7f\u7528\u4ed6\u4eec\u62e5\u6709\u7684\u4efb\u4f55\u7b14\u8bb0\u672c\u7535\u8111\uff0c\u8fd9\u5bf9\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u5927\u6709\u88e8\u76ca\u3002 \u8fde\u63a5\u5230\u8fdc\u7a0b\u673a\u5668\u5c06\u4e3a\u4ed6\u4eec\u63d0\u4f9b\u6240\u9700\u7684\u6240\u6709\u529f\u80fd\uff0c\u4ed6\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u4ed6\u4eec\u66f4\u9ad8\u5174\u548c\u66f4\u6709\u6548\u7387\u7684\u5730\u65b9\u5de5\u4f5c\u3002<\/p>\n<p><strong>\u751f\u4ea7\u529b<\/strong> \u2013 \u60a8\u53ef\u4ee5\u5c06\u73af\u5883\u3001\u8fd0\u884c\u65f6\u8981\u6c42\u3001\u786c\u4ef6\u89c4\u683c\u3001\u6269\u5c55\u7a0b\u5e8f\u548c\u7f16\u8f91\u5668\u8bbe\u7f6e\u6807\u51c6\u5316\uff0c\u4f7f\u65b0\u56e2\u961f\u6210\u5458\u80fd\u591f\u8f7b\u677e\u542f\u52a8\u5e76\u8fd0\u884c\u73af\u5883\u3002 \u5f53\u53ea\u9700\u51e0\u79d2\u949f\u5c31\u80fd\u542f\u52a8\u73af\u5883\uff0c\u5e76\u5728\u56db\u4e2a\u533a\u57df\u4e4b\u95f4\u5b9e\u73b0\u4f4e\u5ef6\u8fdf\u8fde\u63a5\u65f6\uff0c\u60a8\u751a\u81f3\u4e0d\u4f1a\u6ce8\u610f\u5230\u8fd9\u4e0d\u662f\u60a8\u7684\u672c\u5730\u673a\u5668\u3002<\/p>\n<p><strong>\u5b89\u5168\u6027<\/strong> \u2013 \u6e90\u4ee3\u7801\u59cb\u7ec8\u4f4d\u4e8e\u8fdc\u7a0b\u673a\u5668\u4e0a\uff0c\u6c38\u8fdc\u4e0d\u4f1a\u88ab\u4e0b\u8f7d\u5230\u672c\u5730\u673a\u5668\u3002 \u56e0\u6b64\uff0c\u5373\u4f7f\u5f00\u53d1\u8005\u5c06\u7b14\u8bb0\u672c\u7535\u8111\u5fd8\u5728\u5496\u5561\u9986\u91cc\uff0c\u60a8\u4e5f\u4e0d\u4f1a\u6709\u5b89\u5168\u9690\u60a3\uff0c\u4e5f\u4e0d\u9700\u8981\u62c5\u5fc3\u60a8\u9879\u76ee\u7684\u6e90\u4ee3\u7801\u3002<\/p>\n<p><strong>\u540e\u7eed\u6b65\u9aa4<\/strong><\/p>\n<p>\u53ea\u9700<a href=\"https:\/\/www.jetbrains.com.cn\/remote-development\/gateway\/\" target=\"_blank\" rel=\"noopener\">\u4e0b\u8f7d JetBrains Gateway<\/a>\uff0c\u5b89\u88c5 GitHub Codespaces \u63d2\u4ef6\uff0c\u9009\u62e9\u60a8\u60f3\u4f7f\u7528\u7684\u73af\u5883\uff0c\u5373\u53ef\u5f00\u59cb\u7f16\u7801\u3002 \u652f\u6301\u8bb8\u591a IDE\uff0c\u5305\u62ec IntelliJ IDEA\u3001RubyMine\u3001GoLand\u3001PyCharm\u3001PhpStorm \u548c WebStorm\u3002 \u8fd9\u4e9b IDE \u4e2d\u7684\u8fdc\u7a0b\u5f00\u53d1\u529f\u80fd\u4f5c\u4e3a\u6d4b\u8bd5\u7248\u63d0\u4f9b\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-295830\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/11\/GatewayxCodespaces-gif.gif\" alt=\"\" width=\"1370\" height=\"1080\" \/><\/figure>\n<p>\u8981\u8be6\u7ec6\u4e86\u89e3 GitHub Codespaces\uff0c\u8bf7\u8bbf\u95ee<a href=\"https:\/\/github.com\/features\/codespaces\" target=\"_blank\" rel=\"noopener\">\u6b64\u5904<\/a>\u7684\u7f51\u9875\u3002 \u8bd5\u8bd5\u8fd9\u4e2a\u96c6\u6210\uff0c\u5e76\u5728\u4e0b\u9762\u7684\u8bc4\u8bba\u533a\u5206\u4eab\u60a8\u7684\u521d\u6b65\u5370\u8c61\uff01<\/p>\n<p>\u00a0<\/p>\n<p>\u672c\u535a\u6587\u82f1\u6587\u539f\u4f5c\u8005\uff1a<\/p>\n\n    <div class=\"about-author \">\n        <div class=\"about-author__box\">\n            <div class=\"row\">\n                <div class=\"about-author__box-img\">\n                    <img decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/?s=200&#038;r=g\" width=\"200\" height=\"200\" alt=\"\" loading=\"lazy\"  class=\"avatar avatar-200 wp-user-avatar wp-user-avatar-200 photo avatar-default\">\n                <\/div>\n                <div class=\"about-author__box-text\">\n                                                        <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n","protected":false},"author":1297,"featured_media":296438,"comment_status":"closed","ping_status":"closed","template":"","categories":[4759,89,12,7118],"tags":[6826,91,477],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/blog\/296853"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1297"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=296853"}],"version-history":[{"count":3,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/blog\/296853\/revisions"}],"predecessor-version":[{"id":296856,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/blog\/296853\/revisions\/296856"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/296438"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=296853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=296853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=296853"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=296853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}