{"id":129,"date":"2020-09-10T20:32:16","date_gmt":"2020-09-11T03:32:16","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/java-ch\/?p=129"},"modified":"2020-09-10T20:32:16","modified_gmt":"2020-09-11T03:32:16","slug":"java-on-visual-studio-code%e7%9a%84%e6%9b%b4%e6%96%b0-2020%e5%b9%b48%e6%9c%88","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/java-ch\/java-on-visual-studio-code%e7%9a%84%e6%9b%b4%e6%96%b0-2020%e5%b9%b48%e6%9c%88\/","title":{"rendered":"Java on Visual Studio Code\u7684\u66f4\u65b0 &#8211; 2020\u5e748\u6708"},"content":{"rendered":"<p>\u6b22\u8fce\u56de\u5230\u516b\u6708\u4efdVisual Studio Code\u7684Java\u66f4\u65b0\u3002\u5728\u6b64\u66f4\u65b0\u4e2d\uff0c\u6211\u4eec\u5c06\u4e13\u6ce8\u4e8e\u6027\u80fd\u6539\u8fdb\u548c\u9879\u76ee\u7ba1\u7406\u3002<\/p>\n<h3>\u6027\u80fd\u6539\u8fdb<\/h3>\n<h4>IntelliSense\uff08\u53c8\u79f0Code Completion\uff09<\/h4>\n<p>IntelliSense\u662f\u6700\u5e38\u7528\u7684VS Code\u529f\u80fd\u4e4b\u4e00\u3002\u5728\u4ed4\u7ec6\u68c0\u67e5\u4e86\u5f53\u524d\u7684\u8bbe\u8ba1\u548c\u5b9e\u73b0\u4e4b\u540e\uff0c\u6211\u4eec\u627e\u5230\u4e86\u51e0\u4e2a\u53ef\u4ee5\u6539\u8fdb\u6027\u80fd\u7684\u5730\u65b9\u3002\u7b80\u800c\u8a00\u4e4b\uff0c\u5ba2\u6237\u7aef\u53d1\u9001\u5230\u8bed\u8a00\u670d\u52a1\u5668\u7684\u8bf7\u6c42\u6570\u91cf\u4ee5\u53ca\u8bed\u8a00\u670d\u52a1\u5668\u5904\u7406\u8fd9\u4e9b\u8bf7\u6c42\u7684\u80fd\u529b\u4f1a\u6781\u5927\u5730\u5f71\u54cdIntelliSense\u7684\u6027\u80fd\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u7684\u6539\u8fdb\u96c6\u4e2d\u5728\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5ba2\u6237\u7aef\u8bf7\u6c42\u548c\u4f18\u5316\u8bed\u8a00\u670d\u52a1\u5668\u7684\u5904\u7406\u80fd\u529b\u4e0a\u3002\u5c3d\u7ba1\u6539\u8fdb\u662f\u4e00\u4e2a\u5faa\u5e8f\u6e10\u8fdb\u7684\u8fc7\u7a0b\uff0c\u4f46\u901a\u8fc78\u6708\u4efd\u7684\u6700\u65b0\u7248\u672c\uff0c\u6211\u4eec\u5df2\u7ecf\u770b\u5230\u4e86\u975e\u5e38\u79ef\u6781\u7684\u6210\u679c\u3002\u5728\u6211\u4eec\u7684\u6d4b\u8bd5\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u6027\u80fd\u63d0\u9ad880\uff05\u4ee5\u4e0a\u3002\u6211\u4eec\u6d4b\u8bd5\u7684\u7ec6\u8282\u662f\uff1a<\/p>\n<p><strong>\u73af\u5883\uff1a<\/strong><\/p>\n<p>CPU\uff1a2.9 GHz\u53cc\u6838Intel Core i5<\/p>\n<p>\u5185\u5b58\uff1a8 GB 2133 MHz LPDDR3<\/p>\n<p>\u64cd\u4f5c\u7cfb\u7edf\uff1amacOS Catalina 10.15.6<\/p>\n<p>VS Code\u7248\u672c\uff1a1.48.2<\/p>\n<p>\u6d4b\u8bd5\u4f7f\u7528\u7684\u6269\u5c55\uff1a<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 161px;\">\n<tbody>\n<tr style=\"height: 27px;\">\n<td style=\"width: 43.0529%; height: 27px;\">\u6269\u5c55<\/td>\n<td style=\"width: 28.2866%; height: 27px;\">\u4e03\u6708\u7248\u672c<\/td>\n<td style=\"width: 28.6604%; height: 27px;\">\u516b\u6708\u7248\u672c<\/td>\n<\/tr>\n<tr style=\"height: 53px;\">\n<td style=\"width: 43.0529%; height: 53px;\">Language Support for Java(TM) by Red Hat<\/td>\n<td style=\"width: 28.2866%; height: 53px;\">0.65.0<\/td>\n<td style=\"width: 28.6604%; height: 53px;\">0.66.0<\/td>\n<\/tr>\n<tr style=\"height: 27px;\">\n<td style=\"width: 43.0529%; height: 27px;\">Java Test Runner<\/td>\n<td style=\"width: 28.2866%; height: 27px;\">0.24.0<\/td>\n<td style=\"width: 28.6604%; height: 27px;\">0.24.2<\/td>\n<\/tr>\n<tr style=\"height: 27px;\">\n<td style=\"width: 43.0529%; height: 27px;\">Project Manager for Java<\/td>\n<td style=\"width: 28.2866%; height: 27px;\">0.10.2<\/td>\n<td style=\"width: 28.6604%; height: 27px;\">0.13.0<\/td>\n<\/tr>\n<tr style=\"height: 27px;\">\n<td style=\"width: 43.0529%; height: 27px;\">Visual Studio IntelliCode<\/td>\n<td style=\"width: 28.2866%; height: 27px;\">1.2.9<\/td>\n<td style=\"width: 28.6604%; height: 27px;\">1.2.10<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u6d4b\u8bd5\uff1a <\/strong><\/p>\n<p>\u5728\u5177\u67095000\u4f59\u884c\u6d4b\u8bd5\u4ee3\u7801\u7684Java\u6587\u4ef6\u4e2d\uff0c\u901a\u8fc7\u952e\u5165\u5b57\u7b26\u201c S\u201d\u6765\u89e6\u53d1IntelliSense\uff0c\u7136\u540e\u7b49\u5230\u63d0\u793a\u5f39\u51fa\u3002\u5206\u522b\u5bf97\u6708\u548c8\u6708\u7684\u53d1\u884c\u7248\u91cd\u590d5\u6b21\u3002\u6bcf\u6b21\uff0c\u6211\u4eec\u90fd\u4f1a\u6d4b\u91cf\u5ba2\u6237\u7aef\u8bf7\u6c42\u65f6\u95f4\u548c\u8bed\u8a00\u670d\u52a1\u5668\u54cd\u5e94\u65f6\u95f4\u4e4b\u95f4\u7684\u65f6\u95f4\u95f4\u9694\u3002<\/p>\n<p><strong>\u7ed3\u679c\uff1a<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"89\"><\/td>\n<td width=\"89\">#1<\/td>\n<td width=\"89\">#2<\/td>\n<td width=\"89\">#3<\/td>\n<td width=\"89\">#4<\/td>\n<td width=\"89\">#5<\/td>\n<td width=\"89\">\u5e73\u5747<\/td>\n<\/tr>\n<tr>\n<td width=\"89\">\u4e03\u6708\u7248\u672c<\/td>\n<td width=\"89\">7420<\/td>\n<td width=\"89\">6745<\/td>\n<td width=\"89\">6653<\/td>\n<td width=\"89\">5051<\/td>\n<td width=\"89\">5063<\/td>\n<td width=\"89\">6186.4<\/td>\n<\/tr>\n<tr>\n<td width=\"89\">\u516b\u6708\u7248\u672c<\/td>\n<td width=\"89\">923<\/td>\n<td width=\"89\">412<\/td>\n<td width=\"89\">469<\/td>\n<td width=\"89\">600<\/td>\n<td width=\"89\">752<\/td>\n<td width=\"89\">631.2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: right;\">\u5355\u4f4d\uff1ams<\/p>\n<h4>Workspace\u5237\u65b0<\/h4>\n<p>\u5bf9\u4e8e\u6211\u4eec\u7684\u7528\u6237\u6765\u8bf4\uff0cworkspace\u5305\u542b\u4e0eJava\u9879\u76ee\u65e0\u5173\u7684\u5185\u5bb9\u662f\u5f88\u5e38\u89c1\u7684\u3002\u4f8b\u5982\uff0c\u5728Node\u9879\u76ee\u4e0a\u5de5\u4f5c\uff0c\u60a8\u7684\u5de5\u4f5c\u533a\u53ef\u80fd\u5305\u542b\u201c node_modules\u201d\u6587\u4ef6\u5939\uff1b\u4f7f\u7528Git\uff0c\u60a8\u7684\u5de5\u4f5c\u533a\u53ef\u80fd\u5305\u542b\u201c .git\u201d\u6587\u4ef6\u5939\u3002\u5982\u679c\u9047\u5230\u8fd9\u4e9b\u60c5\u51b5\uff0c\u60a8\u53ef\u80fd\u4f1a\u6ce8\u610f\u5230\u5237\u65b0workspace\u7684\u6027\u80fd\u53d7\u5230\u8d1f\u9762\u5f71\u54cd\uff0c\u56e0\u4e3a\u9700\u8981\u5904\u7406\u8fd9\u4e9b\u4e0d\u5fc5\u8981\u7684\u5185\u5bb9\u3002\u4e3a\u4e86\u8fdb\u884c\u6539\u8fdb\uff0c\u6211\u4eec\u5f15\u5165\u4e86\u4e00\u4e2a\u65b0\u914d\u7f6e\u201c<strong>java.project.resourceFilters<\/strong>\u201d\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u6307\u5b9a\u5e94\u4eceworkspace\u5237\u65b0\u4e2d\u6392\u9664\u7684\u6587\u4ef6\u5939\u6216\u6587\u4ef6\u3002\u9ed8\u8ba4\u8bbe\u7f6e\u4e0b\uff0c\u6392\u9664\u201c node_modules\u201d\u548c\u201c .git\u201d\u6587\u4ef6\u5939\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u5355\u51fb<strong>File-&gt;Preferences-&gt;Settings<\/strong>\u83dc\u5355\u6253\u5f00\u8bbe\u7f6e\u89c6\u56fe\uff0c\u7136\u540e\u5728\u8bbe\u7f6e\u89c6\u56fe\u4e2d\u641c\u7d22\u201c <strong>java.project.resourceFilters<\/strong>\u201d\u3002<\/p>\n<h3>\u9879\u76ee\u89c6\u56fe<\/h3>\n<p>7\u6708\uff0c\u6211\u4eec\u63a8\u51fa\u4e86\u9879\u76ee\u89c6\u56fe\u3002\u6211\u4eec\u7684\u76ee\u6807\u662f\u5141\u8bb8\u60a8\u901a\u8fc7\u6b64\u5355\u4e00\u89c6\u56fe\u8bbf\u95ee\u6240\u6709\u4e0e\u9879\u76ee\u7ba1\u7406\u76f8\u5173\u7684\u529f\u80fd\u3002 8\u6708\uff0c\u6211\u4eec\u5c06\u66f4\u591a\u529f\u80fd\u6574\u5408\u5230\u4e86\u89c6\u56fe\u4e2d\u3002<\/p>\n<h4>\u521b\u5efapackage\u548cclass<\/h4>\n<p>\u5728\u9879\u76ee\u89c6\u56fe\u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7\u53f3\u952e\u5355\u51fb\u6e90\u6587\u4ef6\u5939\u6765\u521b\u5efapackage\u548cclass\u3002\u5bf9\u4e8eclass\uff0cclass\u6a21\u677f\u6587\u4ef6\u5c06\u81ea\u52a8\u751f\u6210\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-136\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/new-class-1024x653.png\" alt=\"Image new class\" width=\"640\" height=\"408\" srcset=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/new-class-1024x653.png 1024w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/new-class-300x191.png 300w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/new-class-768x490.png 768w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/new-class-1536x979.png 1536w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/new-class-2048x1305.png 2048w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<h4>\u7f16\u8bd1\u548c\u6e05\u9664workspace<\/h4>\n<p>\u7f16\u8bd1workspace\u652f\u6301\u5b8c\u6574\u548c\u589e\u91cf\u6a21\u5f0f\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-135\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/build-and-clean-workspace-1024x653.png\" alt=\"Image build and clean workspace\" width=\"640\" height=\"408\" srcset=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/build-and-clean-workspace-1024x653.png 1024w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/build-and-clean-workspace-300x191.png 300w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/build-and-clean-workspace-768x490.png 768w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/build-and-clean-workspace-1536x980.png 1536w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/build-and-clean-workspace-2048x1306.png 2048w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<h4>Maven\u6574\u5408<\/h4>\n<p>\u9879\u76ee\u89c6\u56fe\u4f1a\u81ea\u52a8\u68c0\u6d4bMaven\u9879\u76ee\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u5355\u51fb\u9879\u76ee\u8282\u70b9\u4e0a\u7684\u6253\u5f00\u56fe\u6807\u6765\u5feb\u901f\u6253\u5f00pom.xml\u6587\u4ef6\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-137\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/open-POM-1024x654.png\" alt=\"Image open POM\" width=\"640\" height=\"409\" srcset=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/open-POM-1024x654.png 1024w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/open-POM-300x192.png 300w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/open-POM-768x491.png 768w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/open-POM-1536x981.png 1536w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/open-POM-2048x1308.png 2048w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u901a\u8fc7\u53f3\u952e\u5355\u51fb\u9879\u76ee\u8282\u70b9\u6765\u8fd0\u884cMaven\u547d\u4ee4\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-138\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/run-maven-commands-1024x652.png\" alt=\"Image run maven commands\" width=\"640\" height=\"408\" srcset=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/run-maven-commands-1024x652.png 1024w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/run-maven-commands-300x191.png 300w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/run-maven-commands-768x489.png 768w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/run-maven-commands-1536x979.png 1536w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/run-maven-commands-2048x1305.png 2048w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u901a\u8fc7\u5355\u51fb\u201cMaven Dependencies\u201d\u8282\u70b9\u4e0a\u7684\u6dfb\u52a0\u56fe\u6807\u6765\u6dfb\u52a0\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-134\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/add-Maven-dep-1024x652.png\" alt=\"Image add Maven dep\" width=\"640\" height=\"408\" srcset=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/add-Maven-dep-1024x652.png 1024w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/add-Maven-dep-300x191.png 300w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/add-Maven-dep-768x489.png 768w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/add-Maven-dep-1536x979.png 1536w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2020\/09\/add-Maven-dep-2048x1305.png 2048w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<h3>\u66f4\u591a\u6539\u8fdb<\/h3>\n<p>\u6211\u4eec\u5728\u8c03\u8bd5\u652f\u6301\u65b9\u9762\u8fdb\u884c\u4e86\u6539\u8fdb\uff0c\u4f8b\u5982\uff0c\u5728\u7f16\u8f91\u5668\u6807\u9898\u680f\u4e0a\u6dfb\u52a0\u4e86\u8fd0\u884c\u548c\u8c03\u8bd5\u6309\u94ae\u4ee5\u8fdb\u884c\u5355\u4e2a\u6587\u4ef6\u8c03\u8bd5\uff0c\u5e76\u4e3aJDWP\u6dfb\u52a0\u4e86\u65b0\u914d\u7f6e\u3002\u6709\u5173\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605<a href=\"https:\/\/marketplace.visualstudio.com\/items\/vscjava.vscode-java-debug\/changelog\">Debugger for Java<\/a>\u3002<\/p>\n<h3>\u66f4\u591a\u4fe1\u606f<\/h3>\n<p>\u8bf7\u4e0d\u8981\u72b9\u8c6b\uff0c\u5c1d\u8bd5\u4e00\u4e0b\uff01\u60a8\u7684\u53cd\u9988\u548c\u5efa\u8bae\u5bf9\u6211\u4eec\u975e\u5e38\u91cd\u8981\uff0c\u5c06\u6709\u52a9\u4e8e\u5c06\u6765\u5851\u9020\u6211\u4eec\u7684\u4ea7\u54c1\u3002<\/p>\n<ul type=\"disc\">\n<li>\u4e86\u89e3\u6709\u5173<a href=\"https:\/\/code.visualstudio.com\/docs\/languages\/java\" target=\"_blank\" rel=\"noopener noreferrer\">Visual Studio Code\u4e0aJava\u7684<\/a>\u66f4\u591a\u4fe1\u606f\u3002<\/li>\n<li><span class=\"goog-text-highlight\">\u9010\u6b65\u63a2\u7d22<\/span><a href=\"https:\/\/code.visualstudio.com\/docs\/java\/java-tutorial\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"goog-text-highlight\">\u6709\u5173Visual Studio Code\u7684Java\u6559\u7a0b<\/span><\/a><span class=\"goog-text-highlight\">\u3002<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6b22\u8fce\u56de\u5230\u516b\u6708\u4efdVisual Studio Code\u7684Java\u66f4\u65b0\u3002\u5728\u6b64\u66f4\u65b0\u4e2d\uff0c\u6211\u4eec\u5c06\u4e13\u6ce8\u4e8e\u6027\u80fd\u6539\u8fdb\u548c\u9879\u76ee\u7ba1\u7406\u3002 \u6027\u80fd\u6539\u8fdb IntelliSense\uff08\u53c8\u79f0Code Completion\uff09 IntelliSense\u662f\u6700\u5e38\u7528\u7684VS Code\u529f\u80fd\u4e4b\u4e00\u3002\u5728\u4ed4\u7ec6\u68c0\u67e5\u4e86\u5f53\u524d\u7684\u8bbe\u8ba1\u548c\u5b9e\u73b0\u4e4b\u540e\uff0c\u6211\u4eec\u627e\u5230\u4e86\u51e0\u4e2a\u53ef\u4ee5\u6539\u8fdb\u6027\u80fd\u7684\u5730\u65b9\u3002\u7b80\u800c\u8a00\u4e4b\uff0c\u5ba2\u6237\u7aef\u53d1\u9001\u5230\u8bed\u8a00\u670d\u52a1\u5668\u7684\u8bf7\u6c42\u6570\u91cf\u4ee5\u53ca\u8bed\u8a00\u670d\u52a1\u5668\u5904\u7406\u8fd9\u4e9b\u8bf7\u6c42\u7684\u80fd\u529b\u4f1a\u6781\u5927\u5730\u5f71\u54cdIntelliSense\u7684\u6027\u80fd\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u7684\u6539\u8fdb\u96c6\u4e2d\u5728\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5ba2\u6237\u7aef\u8bf7\u6c42\u548c\u4f18\u5316\u8bed\u8a00\u670d\u52a1\u5668\u7684\u5904\u7406\u80fd\u529b\u4e0a\u3002\u5c3d\u7ba1\u6539\u8fdb\u662f\u4e00\u4e2a\u5faa\u5e8f\u6e10\u8fdb\u7684\u8fc7\u7a0b\uff0c\u4f46\u901a\u8fc78\u6708\u4efd\u7684\u6700\u65b0\u7248\u672c\uff0c\u6211\u4eec\u5df2\u7ecf\u770b\u5230\u4e86\u975e\u5e38\u79ef\u6781\u7684\u6210\u679c\u3002\u5728\u6211\u4eec\u7684\u6d4b\u8bd5\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u6027\u80fd\u63d0\u9ad880\uff05\u4ee5\u4e0a\u3002\u6211\u4eec\u6d4b\u8bd5\u7684\u7ec6\u8282\u662f\uff1a \u73af\u5883\uff1a CPU\uff1a2.9 GHz\u53cc\u6838Intel Core i5 \u5185\u5b58\uff1a8 GB 2133 MHz LPDDR3 \u64cd\u4f5c\u7cfb\u7edf\uff1amacOS Catalina 10.15.6 VS Code\u7248\u672c\uff1a1.48.2 \u6d4b\u8bd5\u4f7f\u7528\u7684\u6269\u5c55\uff1a \u6269\u5c55 \u4e03\u6708\u7248\u672c \u516b\u6708\u7248\u672c Language Support for Java(TM) by Red Hat 0.65.0 0.66.0 Java Test Runner 0.24.0 0.24.2 Project Manager for Java 0.10.2 0.13.0 Visual Studio IntelliCode 1.2.9 1.2.10 \u6d4b\u8bd5\uff1a \u5728\u5177\u67095000\u4f59\u884c\u6d4b\u8bd5\u4ee3\u7801\u7684Java\u6587\u4ef6\u4e2d\uff0c\u901a\u8fc7\u952e\u5165\u5b57\u7b26\u201c S\u201d\u6765\u89e6\u53d1IntelliSense\uff0c\u7136\u540e\u7b49\u5230\u63d0\u793a\u5f39\u51fa\u3002\u5206\u522b\u5bf97\u6708\u548c8\u6708\u7684\u53d1\u884c\u7248\u91cd\u590d5\u6b21\u3002\u6bcf\u6b21\uff0c\u6211\u4eec\u90fd\u4f1a\u6d4b\u91cf\u5ba2\u6237\u7aef\u8bf7\u6c42\u65f6\u95f4\u548c\u8bed\u8a00\u670d\u52a1\u5668\u54cd\u5e94\u65f6\u95f4\u4e4b\u95f4\u7684\u65f6\u95f4\u95f4\u9694\u3002 [&hellip;]<\/p>\n","protected":false},"author":26010,"featured_media":143,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-129","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-ch"],"acf":[],"blog_post_summary":"<p>\u6b22\u8fce\u56de\u5230\u516b\u6708\u4efdVisual Studio Code\u7684Java\u66f4\u65b0\u3002\u5728\u6b64\u66f4\u65b0\u4e2d\uff0c\u6211\u4eec\u5c06\u4e13\u6ce8\u4e8e\u6027\u80fd\u6539\u8fdb\u548c\u9879\u76ee\u7ba1\u7406\u3002 \u6027\u80fd\u6539\u8fdb IntelliSense\uff08\u53c8\u79f0Code Completion\uff09 IntelliSense\u662f\u6700\u5e38\u7528\u7684VS Code\u529f\u80fd\u4e4b\u4e00\u3002\u5728\u4ed4\u7ec6\u68c0\u67e5\u4e86\u5f53\u524d\u7684\u8bbe\u8ba1\u548c\u5b9e\u73b0\u4e4b\u540e\uff0c\u6211\u4eec\u627e\u5230\u4e86\u51e0\u4e2a\u53ef\u4ee5\u6539\u8fdb\u6027\u80fd\u7684\u5730\u65b9\u3002\u7b80\u800c\u8a00\u4e4b\uff0c\u5ba2\u6237\u7aef\u53d1\u9001\u5230\u8bed\u8a00\u670d\u52a1\u5668\u7684\u8bf7\u6c42\u6570\u91cf\u4ee5\u53ca\u8bed\u8a00\u670d\u52a1\u5668\u5904\u7406\u8fd9\u4e9b\u8bf7\u6c42\u7684\u80fd\u529b\u4f1a\u6781\u5927\u5730\u5f71\u54cdIntelliSense\u7684\u6027\u80fd\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u7684\u6539\u8fdb\u96c6\u4e2d\u5728\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5ba2\u6237\u7aef\u8bf7\u6c42\u548c\u4f18\u5316\u8bed\u8a00\u670d\u52a1\u5668\u7684\u5904\u7406\u80fd\u529b\u4e0a\u3002\u5c3d\u7ba1\u6539\u8fdb\u662f\u4e00\u4e2a\u5faa\u5e8f\u6e10\u8fdb\u7684\u8fc7\u7a0b\uff0c\u4f46\u901a\u8fc78\u6708\u4efd\u7684\u6700\u65b0\u7248\u672c\uff0c\u6211\u4eec\u5df2\u7ecf\u770b\u5230\u4e86\u975e\u5e38\u79ef\u6781\u7684\u6210\u679c\u3002\u5728\u6211\u4eec\u7684\u6d4b\u8bd5\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u6027\u80fd\u63d0\u9ad880\uff05\u4ee5\u4e0a\u3002\u6211\u4eec\u6d4b\u8bd5\u7684\u7ec6\u8282\u662f\uff1a \u73af\u5883\uff1a CPU\uff1a2.9 GHz\u53cc\u6838Intel Core i5 \u5185\u5b58\uff1a8 GB 2133 MHz LPDDR3 \u64cd\u4f5c\u7cfb\u7edf\uff1amacOS Catalina 10.15.6 VS Code\u7248\u672c\uff1a1.48.2 \u6d4b\u8bd5\u4f7f\u7528\u7684\u6269\u5c55\uff1a \u6269\u5c55 \u4e03\u6708\u7248\u672c \u516b\u6708\u7248\u672c Language Support for Java(TM) by Red Hat 0.65.0 0.66.0 Java Test Runner 0.24.0 0.24.2 Project Manager for Java 0.10.2 0.13.0 Visual Studio IntelliCode 1.2.9 1.2.10 \u6d4b\u8bd5\uff1a \u5728\u5177\u67095000\u4f59\u884c\u6d4b\u8bd5\u4ee3\u7801\u7684Java\u6587\u4ef6\u4e2d\uff0c\u901a\u8fc7\u952e\u5165\u5b57\u7b26\u201c S\u201d\u6765\u89e6\u53d1IntelliSense\uff0c\u7136\u540e\u7b49\u5230\u63d0\u793a\u5f39\u51fa\u3002\u5206\u522b\u5bf97\u6708\u548c8\u6708\u7684\u53d1\u884c\u7248\u91cd\u590d5\u6b21\u3002\u6bcf\u6b21\uff0c\u6211\u4eec\u90fd\u4f1a\u6d4b\u91cf\u5ba2\u6237\u7aef\u8bf7\u6c42\u65f6\u95f4\u548c\u8bed\u8a00\u670d\u52a1\u5668\u54cd\u5e94\u65f6\u95f4\u4e4b\u95f4\u7684\u65f6\u95f4\u95f4\u9694\u3002 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/users\/26010"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/comments?post=129"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/media\/143"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}