{"id":9278,"date":"2021-03-04T11:58:39","date_gmt":"2021-03-04T03:58:39","guid":{"rendered":"https:\/\/jpuyy.com\/?p=9278"},"modified":"2023-04-24T20:42:42","modified_gmt":"2023-04-24T12:42:42","slug":"vscode-learning","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=9278","title":{"rendered":"VSCode Notes"},"content":{"rendered":"<p>https:\/\/code.visualstudio.com\/docs\/setup\/mac<\/p>\n<p># \u5c3d\u91cf\u7528\u5feb\u6377\u952e<br \/>\ncommand + shift + E \u6d4f\u89c8\u6253\u5f00\u7684\u4ee3\u7801\u53ca\u6587\u4ef6\u76ee\u5f55 \u53cd\u590d\u6309\u53ef\u5207\u6362<\/p>\n<p># Are you using a screen reader to operate VS Code? (word wrap is disabled when using a screen reader)<\/p>\n<p># Golang env:<br \/>\nGo to View menu; select **Command Palette**<br \/>\ncommand + shift + p, type<\/p>\n<p>Go: install\/update tools =&gt; select all<\/p>\n<p>Tools environment: GOPATH=\/Users\/yang.yang\/go<br \/>\nInstalling 8 tools at \/Users\/yang.yang\/go\/bin in module mode.<br \/>\ngopkgs<br \/>\ngo-outline<br \/>\ngotests<br \/>\ngomodifytags<br \/>\nimpl<br \/>\ngoplay<br \/>\nstaticcheck<br \/>\ngopls<\/p>\n<p># shell<br \/>\n# Golang env:<br \/>\nGo to View menu; select **Command Palette**<br \/>\ncommand + shift + p, type<br \/>\nshell<br \/>\n_&#8221;Install &#8216;code&#8217; command in PATH&#8221;_<\/p>\n<p># preferences<br \/>\ncommand + shift + p, type<\/p>\n<p>preferences<\/p>\n<p># install Gitlens<\/p>\n<p>Extentions<br \/>\nCode Runner<\/p>\n<p># Set tab indentation<br \/>\nSettings, search `Tab Size`, set to 4<\/p>\n<p># Improve the word spell, grammarly<br \/>\nhttps:\/\/marketplace.visualstudio.com\/items?itemName=znck.grammarly<\/p>\n<p># Set max line width alert: 80, 120<br \/>\n&#8220;editor.rulers&#8221;: [80, 120]<\/p>\n<p># Set Word Wrap<br \/>\nEditor: Word Wrap, use `wordWrapColumn`<br \/>\nEditor: Word Wrap Column 80<\/p>\n<p># collapse all the folders in the explorer<br \/>\nCommand + <left arrow=\"\"><\/left><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/code.visualstudio.com\/docs\/setup\/mac # \u5c3d\u91cf\u7528\u5feb\u6377\u952e command + shift + E \u6d4f\u89c8\u6253\u5f00\u7684\u4ee3\u7801\u53ca\u6587\u4ef6\u76ee\u5f55 \u53cd\u590d\u6309\u53ef\u5207\u6362 # Are you using a screen reader to operate VS Code? (word wrap is disabled when using a screen reader) # Golang env: Go to View menu; select **Command Palette** command + shift + p, type Go: install\/update tools =&gt; select all Tools environment: GOPATH=\/Users\/yang.yang\/go [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[200],"tags":[],"class_list":["post-9278","post","type-post","status-publish","format-standard","hentry","category-vscode"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/9278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9278"}],"version-history":[{"count":18,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/9278\/revisions"}],"predecessor-version":[{"id":9747,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/9278\/revisions\/9747"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}