{"id":289364,"date":"2021-01-17T15:14:03","date_gmt":"2021-01-17T07:14:03","guid":{"rendered":"http:\/\/4563.org\/?p=289364"},"modified":"2021-01-17T15:14:03","modified_gmt":"2021-01-17T07:14:03","slug":"java-on-visual-studio-code-%e7%9a%84%e6%9b%b4%e6%96%b0-2020-%e5%b9%b4-12-%e6%9c%88","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=289364","title":{"rendered":"Java on Visual Studio Code \u7684\u66f4\u65b0 \u2013 2020 \u5e74 12 \u6708"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Java on Visual Studio Code \u7684\u66f4\u65b0 \u2013 2020 \u5e74 12 \u6708               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : winffee <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6b22\u8fce\u6765\u5230 Visual Studio Code \u5341\u4e8c\u6708\u7684 Java \u66f4\u65b0\u3002\u5f53\u6b64\u535a\u5ba2\u53d1\u5e03\u65f6\uff0c\u6211\u4eec\u5df2\u7ecf\u5230\u4e86 2021 \u5e74\uff0c\u6240\u4ee5\uff0c\u9996\u5148\u795d\u5927\u5bb6\u65b0\u5e74\u5feb\u4e50\u3002\u8fd9\u6b21\u9664\u4e86\u5206\u4eab\u6700\u65b0\u7684\u529f\u80fd\u5916\uff0c\u6211\u4eec\u8fd8\u60f3\u9080\u8bf7\u60a8\u53c2\u4e0e\u6211\u4eec\u7684<strong>\u7ebf\u4e0a\u95ee\u5377\u8c03\u67e5<\/strong> \uff08\u95ee\u5377\u53f3\u4e0a\u89d2\u6709\u5207\u6362\u5230\u4e2d\u6587\u9009\u9879\uff09\uff0c\u8be5\u8c03\u67e5\u5c06\u82b1\u8d39\u4e0d\u5230 2 \u5206\u949f\u7684\u65f6\u95f4\uff0c\u4f46\u53ef\u4ee5\u4f7f\u6211\u4eec\u66f4\u597d\u4e86\u89e3\u60a8\u5728 2021 \u5e74\u5bf9\u6211\u4eec\u7684\u671f\u671b\u3002\u5e0c\u671b\u80fd\u591f\u5f97\u5230\u60a8\u7684\u652f\u6301\u548c\u53c2\u4e0e\u3002\u6211\u4eec\u8fd9\u5c31\u5f00\u59cb\u5427\u3002<\/p>\n<h1>\u65b0\u529f\u80fd<\/h1>\n<p> <\/p>\n<p>\u5728 7 \u6708\u7684\u535a\u5ba2\u4e2d\uff0c\u6211\u4eec\u9996\u6b21\u5f15\u5165\u4e86 JAVA PROJECTS Explorer \uff08\u4e5f\u79f0\u4e3a\u9879\u76ee\u89c6\u56fe\uff09\uff0c\u5b83\u4e3a\u60a8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u8bbf\u95ee\u9879\u76ee\u7ba1\u7406\u76f8\u5173\u529f\u80fd\u7684\u5165\u53e3\u3002\u4ece\u90a3\u4ee5\u540e\uff0c\u6211\u4eec\u4e00\u76f4\u5728\u4e0d\u65ad\u6539\u8fdb JAVA PROJECTS Explorer \u3002<\/p>\n<h1>\u8fd0\u884c\u7a0b\u5e8f<\/h1>\n<p> <\/p>\n<p>\u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u4ece JAVA PROJECT Explorer \u8fd0\u884c\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u5c1d\u8bd5\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u5b89\u88c5\u4e86\u6700\u65b0\u7248\u672c\u7684Debugger for Java \u6269\u5c55\u3002 <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/01\/20210118_6004ef6096bcb.gif\" alt=\"Java on Visual Studio Code \u7684\u66f4\u65b0 \u2013 2020 \u5e74 12 \u6708\" \/><\/p>\n<h1>\u66f4\u65b0\u9879\u76ee<\/h1>\n<p> <\/p>\n<p>\u4fee\u6539 Maven \u6216 Gradle \u4f9d\u8d56\u9879\u540e\uff0c\u6216\u8005\u4e3a\u4e86\u786e\u4fdd\u9879\u76ee\u5185\u90e8\u7684\u4e00\u81f4\u6027\u65f6\uff0c\u60a8\u53ef\u80fd\u4f1a\u4f7f\u7528\u66f4\u65b0\u9879\u76ee\u529f\u80fd\u3002\u4ee5\u524d\uff0c\u8981\u8fdb\u884c\u8be5\u64cd\u4f5c\uff0c\u5fc5\u987b\u4f7f\u7528 VS Code File Explorer (\u6587\u4ef6\u6d4f\u89c8\u5668)\u3002\u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u5728 JAVA PROJECTS Explorer \u53f3\u952e\u5355\u51fb\u9879\u76ee\u8282\u70b9\u6765\u66f4\u65b0\u9879\u76ee\u3002 <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/01\/20210118_6004ef6602dd2.png\" alt=\"Java on Visual Studio Code \u7684\u66f4\u65b0 \u2013 2020 \u5e74 12 \u6708\" \/><\/p>\n<h1>\u5bfc\u822a\u5230\u4f9d\u8d56\u9879\u7684 POM \u6587\u4ef6<\/h1>\n<p> <\/p>\n<p>\u53f3\u952e\u5355\u51fb POM \u6587\u4ef6\u7684\u4f9d\u8d56\u9879\uff0c\u7136\u540e\u9009\u62e9\u201cGo to Definition\u201d\uff0c\u6253\u5f00\u4f9d\u8d56\u9879\u7684 POM \u6587\u4ef6\u3002 <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/01\/20210118_6004ef6c5b48c.gif\" alt=\"Java on Visual Studio Code \u7684\u66f4\u65b0 \u2013 2020 \u5e74 12 \u6708\" \/><\/p>\n<h1>\u65b0\u5feb\u6377\u952e<\/h1>\n<p> <\/p>\n<p>\u6211\u4eec\u6dfb\u52a0\u4e86\u65b0\u5feb\u6377\u952e\uff0c\u73b0\u5728\u60a8\u53ef\u4ee5\u4f7f\u7528\u5feb\u6377\u952e\u4ece JAVA PROJECT Explorer \u4e2d\u66f4\u8f7b\u677e\u5730\u4e0e\u6587\u4ef6\u8fdb\u884c\u4ea4\u4e92\u3002 <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/01\/20210118_6004ef7190cb5.png\" alt=\"Java on Visual Studio Code \u7684\u66f4\u65b0 \u2013 2020 \u5e74 12 \u6708\" \/><\/p>\n<h1>\u7ebf\u4e0a\u95ee\u5377\u8c03\u67e5<\/h1>\n<p> <\/p>\n<p>\u6700\u540e\uff0c\u8bf7\u4e0d\u8981\u5fd8\u8bb0\u5e2e\u52a9\u586b\u5199<strong>\u7ebf\u4e0a\u95ee\u5377\u8c03\u67e5<\/strong>\uff08\u95ee\u5377\u53f3\u4e0a\u89d2\u6709\u5207\u6362\u5230\u4e2d\u6587\u9009\u9879\uff09\u3002\u8c22\u8c22\uff01<\/p>\n<h1>\u66f4\u591a\u4fe1\u606f<\/h1>\n<p> <\/p>\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<p>\u4e86\u89e3\u6709\u5173Visual Studio Code \u4e0a Java\u7684\u66f4\u591a\u4fe1\u606f\u3002 \u9010\u6b65\u63a2\u7d22\u6709\u5173 Visual Studio Code \u7684 Java \u6559\u7a0b\u3002<\/p>\n<p>\u70b9\u51fb\u9605\u8bfb\u539f\u6587<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>13<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4967203\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u57fa\u672c\u4e0a\u628a Eclipse \u4e00\u4e9b\u57fa\u7840\u529f\u80fd\u642c\u8fc7\u53bb\uff0c\u8fde\u914d\u7f6e\u90fd\u662f\u7528 Eclipse \u683c\u5f0f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967204\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4\u5b9e\u65bd\uff0c\u76ee\u524d\u611f\u89c9 VSCode \u7684 Explorer \u7a97\u53e3\u6709\u70b9\u4e71\uff0c\u4ec0\u4e48\u63d2\u4ef6\u90fd\u5f80\u91cc\u9762\u52a0\u4e1c\u897f\u3002\u63d2\u4ef6\u4e00\u591a\u540e\uff0c\u5c31\u611f\u89c9\u6574\u4e2a\u754c\u9762\u4e0d\u597d\u53d7\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967205\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lonelymarried <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6b63\u5728\u7528\uff0c\u6bd4 idea \u786e\u5b9e\u7701\u8d44\u6e90                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967206\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : msg7086 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5de6\u8fb9\u6587\u4ef6\u7ba1\u7406\u5668\uff0c\u53f3\u8fb9 gradle\uff0c\u80fd\u505a\u5230\u4e48\u3002\u6211\u968f\u4fbf\u641c\u4e86\u4e0b\u53d1\u73b0 issue \u597d\u50cf\u8fd8\u5f00\u7740\u6ca1\u5b9e\u73b0\u7684\u6837\u5b50\uff1f<br \/>\u6700\u8fd1\u5728\u5165\u95e8 Java\uff0c\u4f46\u662f\u4e00\u6253\u5f00\u9879\u76ee\u7a97\u53e3\u5c31\u662f\u65e0\u7a77\u65e0\u5c3d\u7684 import project \u548c update\uff0c\u770b\u7740\u8981\u8dd1\u597d\u4e45\uff0c\u4e5f\u4e0d\u77e5\u9053\u662f\u6211\u54ea\u91cc\u6ca1\u641e\u5bf9\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967207\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tsui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bd5\u4e86\u4e00\u4e0b\uff0c\u5f00\u7a0d\u5fae\u5927\u4e00\u70b9\u7684 project indexing \u6c38\u8fdc\u7ed3\u675f\u4e0d\u4e86\uff1f\u4ee3\u7801\u9ad8\u4eae\u8fdf\u8fdf\u4e0d\u51fa\u73b0\uff0c\u5185\u5b58\u4e5f\u4e0d\u6bd4 IntelliJ \u4f4e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967208\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kergee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tsui \u95ee\u9898 IntelliJ \u8981\u94b1\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967209\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tsui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @kergee \u793e\u533a\u7248\u514d\u8d39\uff0cUltimate \u516c\u53f8\u51fa\u94b1\uff0c\u4e3a\u5565\u4e0d\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967210\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : douglarek <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u652f\u6301\u81ea\u5b9a\u4e49\u683c\u5f0f\u5316\u5f88\u5c34\u5c2c\uff0c\u6bd5\u7adf\u4e0d\u662f\u6240\u6709\u4eba\u90fd\u7528 eclipse \u672c\u8eab\u7684\u683c\u5f0f\u5316                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967211\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lanten <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy \u4e0d\u60f3\u770b\u5230\u7684\u8bdd\u53ef\u4ee5\u62d6\u51fa\u6765\u81ea\u884c\u5206\u7ec4\uff0c\u4e5f\u53ef\u4ee5\u9690\u85cf\u6389                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967212\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : winffee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tsui \u8c22\u8c22\u4f60\u7684\u53cd\u9988\uff0c\u6211\u4f1a\u53cd\u6620\u8fd9\u4e2a\u95ee\u9898\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967213\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : winffee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy \u591a\u8c22\u53cd\u9988\uff0c\u6211\u4eec\u4f1a\u6ce8\u610f\u4fee\u6539\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967214\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76ee\u524d\u611f\u89c9\u8fd8\u662f\u5199 JS\uff0cTS \u597d\u4e00\u70b9\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4967215\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fpure <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u76f4\u5728\u7528 vscode \u5199 Java\uff0c\u4e0d\u6d89\u53ca tomcat \u5bb9\u5668\u7684\u8bdd\u66ff\u4ee3 eclipse \u5b8c\u5168\u6ca1\u6709\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Java on Visual St&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/289364"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=289364"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/289364\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=289364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=289364"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=289364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}