{"id":21676,"date":"2024-11-19T15:24:45","date_gmt":"2024-11-19T07:24:45","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21676\/"},"modified":"2024-11-19T15:24:45","modified_gmt":"2024-11-19T07:24:45","slug":"vscode%e6%80%8e%e4%b9%88%e5%8f%98%e7%99%bd","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21676\/","title":{"rendered":"vscode\u600e\u4e48\u53d8\u767d"},"content":{"rendered":"<blockquote><p>\n  \u60a8\u53ef\u4ee5\u901a\u8fc7\u4e09\u79cd\u65b9\u6cd5\u5c06 vs code \u4e3b\u9898\u53d8\u4e3a\u767d\u8272\uff1a\u66f4\u6539\u8bbe\u7f6e\u4e2d\u7684\u914d\u8272\u65b9\u6848\u4e3a &#8220;light+ (default light)&#8221;\u3002\u5728 marketplace \u4e2d\u5b89\u88c5\u767d\u8272\u4e3b\u9898\uff0c\u5982 white carbon\u3001light night\u6216 tomorrow night light\u3002\u4f7f\u7528\u4e3b\u9898\u7f16\u8f91\u5668\u5c06 &#8220;tokencolors&#8221; \u90e8\u5206\u4e2d\u7684 &#8220;foreground&#8221; \u548c &#8220;background&#8221; \u503c\u66f4\u6539\u4e3a\u767d\u8272\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202407\/31\/2024073120244585264.jpg\" class=\"aligncenter\" title=\"vscode\u600e\u4e48\u53d8\u767d\u63d2\u56fe\" alt=\"vscode\u600e\u4e48\u53d8\u767d\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5c06 VS Code \u4e3b\u9898\u53d8\u4e3a\u767d\u8272<\/strong><\/p>\n<p><strong>\u65b9\u6cd5 1\uff1a\u66f4\u6539\u8bbe\u7f6e<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00 VS Code \u8bbe\u7f6e\uff08<strong>Ctrl + ,<\/strong> \u6216 <strong>Cmd + ,<\/strong>\uff09\u3002<\/li>\n<li>\u5728\u641c\u7d22\u680f\u4e2d\u8f93\u5165 &#8220;theme&#8221;\u3002<\/li>\n<li>\u5728 &#8220;\u914d\u8272\u65b9\u6848&#8221; \u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9 &#8220;Light+ (default light)&#8221;\u3002<\/li>\n<\/ul>\n<p><strong>\u65b9\u6cd5 2\uff1a\u5b89\u88c5\u767d\u8272\u4e3b\u9898<\/strong><\/p>\n<ul>\n<li>\n<p>\u5728 VS Code Marketplace \u4e2d\u641c\u7d22\u767d\u8272\u4e3b\u9898\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li><strong>White Carbon<\/strong><\/li>\n<li><strong>Light Night<\/strong><\/li>\n<li><strong>Tomorrow Night Light<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>\u5728 Marketplace \u4e2d\u627e\u5230\u4e00\u4e2a\u60a8\u559c\u6b22\u7684\u4e3b\u9898\uff0c\u7136\u540e\u70b9\u51fb &#8220;Install&#8221; \u6309\u94ae\u3002<\/li>\n<li>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00 VS Code \u8bbe\u7f6e\u5e76\u9009\u62e9 &#8220;Light+ (default light)&#8221;\u3002<\/li>\n<\/ul>\n<p><strong>\u65b9\u6cd5 3\uff1a\u4f7f\u7528\u4e3b\u9898\u7f16\u8f91\u5668<\/strong><\/p>\n<ul>\n<li>\n<p>\u6253\u5f00 VS Code \u4e3b\u9898\u7f16\u8f91\u5668\uff1a<\/p>\n<ul>\n<li> <strong>Windows\/Linux\uff1a<\/strong> <strong>Ctrl + Shift + P<\/strong>\uff0c\u8f93\u5165 &#8220;Preferences: Open Theme JSON&#8221;\u3002<\/li>\n<li> <strong>MacOS\uff1a<\/strong> <strong>Cmd + Shift + P<\/strong>\uff0c\u8f93\u5165 &#8220;Preferences: Open Theme JSON&#8221;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u5728 JSON \u6587\u4ef6\u4e2d\u627e\u5230 &#8220;tokenColors&#8221; \u90e8\u5206\u3002<\/li>\n<li>\u5c06 &#8220;foreground&#8221; \u548c &#8220;background&#8221; \u53d8\u91cf\u7684\u503c\u66f4\u6539\u4e3a\u767d\u8272\uff0c\u4f8b\u5982\uff1a<\/li>\n<\/ul>\n<pre>\"tokenColors\": [\n  {\n    \"name\": \"Foreground\",\n    \"scope\": [],\n    \"settings\": {\n      \"foreground\": \"#ffffff\"\n    }\n  },\n  {\n    \"name\": \"Background\",\n    \"scope\": [],\n    \"settings\": {\n      \"background\": \"#ffffff\"\n    }\n  }\n]<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ul>\n<li>\u4fdd\u5b58 JSON \u6587\u4ef6\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u53d8\u767d\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u4e09\u79cd\u65b9\u6cd5\u5c06 vs code \u4e3b\u9898\u53d8\u4e3a\u767d\u8272\uff1a\u66f4\u6539\u8bbe\u7f6e\u4e2d\u7684\u914d\u8272\u65b9\u6848\u4e3a &#8220;light+ (default light)&#8221;\u3002\u5728 marketplace \u4e2d\u5b89\u88c5\u767d\u8272\u4e3b\u9898\uff0c\u5982 white carbon\u3001light night\u6216 tomorrow night light\u3002\u4f7f\u7528\u4e3b\u9898\u7f16\u8f91\u5668\u5c06 &#8220;tokencolors&#8221; \u90e8\u5206\u4e2d\u7684 &#8220;foreground&#8221; \u548c &#8220;background&#8221; \u503c\u66f4\u6539\u4e3a\u767d\u8272\u3002 \u5982\u4f55\u5c06 VS Code \u4e3b\u9898\u53d8\u4e3a\u767d\u8272 \u65b9\u6cd5 1\uff1a\u66f4\u6539\u8bbe\u7f6e \u6253\u5f00 VS Code \u8bbe\u7f6e\uff08Ctrl + , \u6216 Cmd + ,\uff09\u3002 \u5728\u641c\u7d22\u680f\u4e2d\u8f93\u5165 &#8220;theme&#8221;\u3002 \u5728 &#8220;\u914d\u8272\u65b9\u6848&#8221; \u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9 &#8220;Light+ (default light)&#8221;\u3002 \u65b9\u6cd5 2\uff1a\u5b89\u88c5\u767d\u8272\u4e3b\u9898 \u5728 VS Code Marketplace \u4e2d\u641c\u7d22\u767d\u8272\u4e3b\u9898\uff0c\u4f8b\u5982\uff1a White Carbon Light [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-21676","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=21676"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21676\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}