{"id":21409,"date":"2024-11-19T10:31:08","date_gmt":"2024-11-19T02:31:08","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21409\/"},"modified":"2024-11-19T10:31:08","modified_gmt":"2024-11-19T02:31:08","slug":"vscode%e6%80%8e%e4%b9%88%e6%9b%b4%e6%94%b9%e8%83%8c%e6%99%af%e8%89%b2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21409\/","title":{"rendered":"vscode\u600e\u4e48\u66f4\u6539\u80cc\u666f\u8272"},"content":{"rendered":"<blockquote><p>\n  \u5728 visual studio code \u4e2d\u66f4\u6539\u80cc\u666f\u8272\uff1a\u6253\u5f00\u8bbe\u7f6e\u83dc\u5355\u5e76\u641c\u7d22 &#8220;workbench.colorcustomizations&#8221;\u3002\u627e\u5230\u8981\u66f4\u6539\u7684\u80cc\u666f\u8272\u8bbe\u7f6e\uff08\u4f8b\u5982\uff0cworkbench.background \u6216 editor.background\uff09\u3002\u8f93\u5165\u6240\u9700\u7684\u80cc\u666f\u8272\u503c\uff08\u5341\u516d\u8fdb\u5236\u4ee3\u7801\u3001rgb \u503c\u6216\u989c\u8272\u540d\u79f0\uff09\u3002\u5355\u51fb &#8220;\u4fdd\u5b58&#8221; \u6309\u94ae\u4ee5\u5e94\u7528\u66f4\u6539\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202405\/27\/2024052715122375133.jpg\" class=\"aligncenter\" title=\"vscode\u600e\u4e48\u66f4\u6539\u80cc\u666f\u8272\u63d2\u56fe\" alt=\"vscode\u600e\u4e48\u66f4\u6539\u80cc\u666f\u8272\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728 Visual Studio Code \u4e2d\u66f4\u6539\u80cc\u666f\u8272<\/strong><\/p>\n<p>Visual Studio Code\uff08VSCode\uff09\u662f\u4e00\u6b3e\u6d41\u884c\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u5b83\u63d0\u4f9b\u4e86\u8bb8\u591a\u81ea\u5b9a\u4e49\u9009\u9879\uff0c\u5305\u62ec\u66f4\u6539\u80cc\u666f\u8272\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u64cd\u4f5c\uff1a<\/p>\n<p><strong>1. \u6253\u5f00\u8bbe\u7f6e\u83dc\u5355<\/strong><\/p>\n<ul>\n<li>Windows\uff1a\u6309 Ctrl+\uff0c\uff08\u9017\u53f7\uff09<\/li>\n<li>Mac\uff1a\u6309 Cmd+\uff0c\uff08\u9017\u53f7\uff09<\/li>\n<li>Linux\uff1a\u6309 Ctrl+\uff0c\uff08\u9017\u53f7\uff09<\/li>\n<\/ul>\n<p><strong>2. \u641c\u7d22\u201cworkbench.colorCustomizations&#8221;<\/strong><\/p>\n<p>\u5728 &#8220;\u8bbe\u7f6e&#8221; \u641c\u7d22\u680f\u4e2d\uff0c\u8f93\u5165 &#8220;workbench.colorCustomizations&#8221;\u3002<\/p>\n<p><strong>3. \u627e\u5230\u8981\u66f4\u6539\u7684\u80cc\u666f\u8272\u8bbe\u7f6e<\/strong><\/p>\n<p>\u5728 &#8220;workbench.colorCustomizations&#8221; \u4e0b\uff0c\u627e\u5230\u4ee5\u4e0b\u8bbe\u7f6e\u4e4b\u4e00\uff1a<\/p>\n<ul>\n<li> <strong>workbench.background<\/strong>\uff1a\u7f16\u8f91\u5668\u5de5\u4f5c\u533a\u7684\u80cc\u666f\u8272\u3002<\/li>\n<li> <strong>editor.background<\/strong>\uff1a\u6587\u672c\u7f16\u8f91\u5668\u533a\u57df\u7684\u80cc\u666f\u8272\u3002<\/li>\n<\/ul>\n<p><strong>4. \u8f93\u5165\u65b0\u7684\u989c\u8272\u503c<\/strong><\/p>\n<p>\u5728\u6240\u9009\u8bbe\u7f6e\u7684\u53f3\u4fa7\uff0c\u8f93\u5165\u6240\u9700\u7684\u80cc\u666f\u8272\u503c\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u683c\u5f0f\uff1a<\/p>\n<ul>\n<li>\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\uff08\u4f8b\u5982\uff0c#000000 \u8868\u793a\u9ed1\u8272\uff09<\/li>\n<li>RGB \u503c\uff08\u4f8b\u5982\uff0crgb(0, 0, 0) \u8868\u793a\u9ed1\u8272\uff09<\/li>\n<li>\u989c\u8272\u540d\u79f0\uff08\u4f8b\u5982\uff0c&#8221;black&#8221;\uff09<\/li>\n<\/ul>\n<p><strong>5. \u5355\u51fb\u201c\u4fdd\u5b58\u201d<\/strong><\/p>\n<p>\u5b8c\u6210\u66f4\u6539\u540e\uff0c\u5355\u51fb &#8220;\u4fdd\u5b58&#8221; \u6309\u94ae\u4ee5\u5e94\u7528\u65b0\u80cc\u666f\u8272\u3002<\/p>\n<p><strong>\u793a\u4f8b<\/strong><\/p>\n<p>\u4ee5\u4e0b\u4ee3\u7801\u793a\u4f8b\u6f14\u793a\u5982\u4f55\u5c06\u6574\u4e2a\u7f16\u8f91\u5668\u5de5\u4f5c\u533a\u7684\u80cc\u666f\u8272\u66f4\u6539\u4e3a\u9ed1\u8272\uff1a<\/p>\n<pre>\"workbench.colorCustomizations\": {\n  \"workbench.background\": \"#000000\"\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>\u63d0\u793a\uff1a<\/strong><\/p>\n<ul>\n<li>\u60a8\u53ef\u4ee5\u5728\u6b64\u5904\u7684\u6587\u6863\u4e2d\u627e\u5230\u6709\u5173\u7279\u5b9a\u989c\u8272\u8bbe\u7f6e\u7684\u66f4\u591a\u4fe1\u606f\uff1ahttps:\/\/code.visualstudio.com\/docs\/getstarted\/theme-color-reference\u3002<\/li>\n<li>\u60a8\u8fd8\u53ef\u4ee5\u5b89\u88c5\u6269\u5c55\u7a0b\u5e8f\u6765\u81ea\u5b9a\u4e49\u5176\u4ed6\u989c\u8272\u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u66f4\u6539\u80cc\u666f\u8272\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>\u5728 visual studio code \u4e2d\u66f4\u6539\u80cc\u666f\u8272\uff1a\u6253\u5f00\u8bbe\u7f6e\u83dc\u5355\u5e76\u641c\u7d22 &#8220;workbench.colorcustomizations&#8221;\u3002\u627e\u5230\u8981\u66f4\u6539\u7684\u80cc\u666f\u8272\u8bbe\u7f6e\uff08\u4f8b\u5982\uff0cworkbench.background \u6216 editor.background\uff09\u3002\u8f93\u5165\u6240\u9700\u7684\u80cc\u666f\u8272\u503c\uff08\u5341\u516d\u8fdb\u5236\u4ee3\u7801\u3001rgb \u503c\u6216\u989c\u8272\u540d\u79f0\uff09\u3002\u5355\u51fb &#8220;\u4fdd\u5b58&#8221; \u6309\u94ae\u4ee5\u5e94\u7528\u66f4\u6539\u3002 \u5982\u4f55\u5728 Visual Studio Code \u4e2d\u66f4\u6539\u80cc\u666f\u8272 Visual Studio Code\uff08VSCode\uff09\u662f\u4e00\u6b3e\u6d41\u884c\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u5b83\u63d0\u4f9b\u4e86\u8bb8\u591a\u81ea\u5b9a\u4e49\u9009\u9879\uff0c\u5305\u62ec\u66f4\u6539\u80cc\u666f\u8272\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u64cd\u4f5c\uff1a 1. \u6253\u5f00\u8bbe\u7f6e\u83dc\u5355 Windows\uff1a\u6309 Ctrl+\uff0c\uff08\u9017\u53f7\uff09 Mac\uff1a\u6309 Cmd+\uff0c\uff08\u9017\u53f7\uff09 Linux\uff1a\u6309 Ctrl+\uff0c\uff08\u9017\u53f7\uff09 2. \u641c\u7d22\u201cworkbench.colorCustomizations&#8221; \u5728 &#8220;\u8bbe\u7f6e&#8221; \u641c\u7d22\u680f\u4e2d\uff0c\u8f93\u5165 &#8220;workbench.colorCustomizations&#8221;\u3002 3. \u627e\u5230\u8981\u66f4\u6539\u7684\u80cc\u666f\u8272\u8bbe\u7f6e \u5728 &#8220;workbench.colorCustomizations&#8221; \u4e0b\uff0c\u627e\u5230\u4ee5\u4e0b\u8bbe\u7f6e\u4e4b\u4e00\uff1a workbench.background\uff1a\u7f16\u8f91\u5668\u5de5\u4f5c\u533a\u7684\u80cc\u666f\u8272\u3002 editor.background\uff1a\u6587\u672c\u7f16\u8f91\u5668\u533a\u57df\u7684\u80cc\u666f\u8272\u3002 4. \u8f93\u5165\u65b0\u7684\u989c\u8272\u503c \u5728\u6240\u9009\u8bbe\u7f6e\u7684\u53f3\u4fa7\uff0c\u8f93\u5165\u6240\u9700\u7684\u80cc\u666f\u8272\u503c\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u683c\u5f0f\uff1a \u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\uff08\u4f8b\u5982\uff0c#000000 \u8868\u793a\u9ed1\u8272\uff09 RGB \u503c\uff08\u4f8b\u5982\uff0crgb(0, 0, 0) \u8868\u793a\u9ed1\u8272\uff09 \u989c\u8272\u540d\u79f0\uff08\u4f8b\u5982\uff0c&#8221;black&#8221;\uff09 5. \u5355\u51fb\u201c\u4fdd\u5b58\u201d \u5b8c\u6210\u66f4\u6539\u540e\uff0c\u5355\u51fb &#8220;\u4fdd\u5b58&#8221; [&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-21409","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21409","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=21409"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21409\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}