{"id":21487,"date":"2024-11-19T17:51:39","date_gmt":"2024-11-19T09:51:39","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21487\/"},"modified":"2024-11-19T17:51:39","modified_gmt":"2024-11-19T09:51:39","slug":"webstorm%e6%80%8e%e4%b9%88%e8%b0%83%e5%bf%ab%e6%8d%b7%e9%94%ae","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21487\/","title":{"rendered":"webstorm\u600e\u4e48\u8c03\u5feb\u6377\u952e"},"content":{"rendered":"<blockquote><p>\n  webstorm \u63d0\u4f9b\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\u7684\u529f\u80fd\uff0c\u8ba9\u5f00\u53d1\u4eba\u5458\u53ef\u4f18\u5316 ide\u3002\u6b65\u9aa4\u5982\u4e0b\uff1a\u6253\u5f00\u5feb\u6377\u952e\u8bbe\u7f6e\uff1b\u641c\u7d22\u5e76\u627e\u5230\u8981\u66f4\u6539\u7684\u5feb\u6377\u952e\uff1b\u5355\u51fb\u8981\u66f4\u6539\u7684\u5feb\u6377\u952e\uff0c\u9009\u62e9&#8221;add keyboard shortcut&#8221;\u6dfb\u52a0\u65b0\u5feb\u6377\u952e\uff1b\u6309\u4e0b\u60a8\u8981\u4f7f\u7528\u7684\u5feb\u6377\u952e\u7ec4\u5408\uff1b\u70b9\u51fb&#8221;apply&#8221;\u5e94\u7528\u66f4\u6539\uff0c&#8221;ok&#8221;\u9000\u51fa\u8bbe\u7f6e\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202405\/30\/2024053022250680934.jpg\" class=\"aligncenter\" title=\"webstorm\u600e\u4e48\u8c03\u5feb\u6377\u952e\u63d2\u56fe\" alt=\"webstorm\u600e\u4e48\u8c03\u5feb\u6377\u952e\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728 WebStorm \u4e2d\u81ea\u5b9a\u4e49\u5feb\u6377\u952e<\/strong><\/p>\n<p>WebStorm \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\u7684\u529f\u80fd\uff0c\u4f7f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u6839\u636e\u81ea\u5df1\u7684\u559c\u597d\u8c03\u6574 IDE\u3002\u4ee5\u4e0b\u662f\u81ea\u5b9a\u4e49 WebStorm \u5feb\u6377\u952e\u7684\u6b65\u9aa4\uff1a<\/p>\n<p><strong>1. \u6253\u5f00\u5feb\u6377\u952e\u8bbe\u7f6e<\/strong><\/p>\n<ul>\n<li>Windows\/Linux\uff1aFile -&gt; Settings -&gt; Keymap<\/li>\n<li>macOS\uff1aWebStorm -&gt; Preferences -&gt; Keymap<\/li>\n<\/ul>\n<p><strong>2. \u641c\u7d22\u5feb\u6377\u952e<\/strong><\/p>\n<p>\u5728 Keymap \u8bbe\u7f6e\u4e2d\uff0c\u4f7f\u7528\u641c\u7d22\u680f\u67e5\u627e\u8981\u81ea\u5b9a\u4e49\u7684\u7279\u5b9a\u5feb\u6377\u952e\u3002<\/p>\n<p><strong>3. \u66f4\u6539\u5feb\u6377\u952e<\/strong><\/p>\n<ul>\n<li>\u5355\u51fb\u8981\u66f4\u6539\u7684\u5feb\u6377\u952e\u3002<\/li>\n<li>\u5728 &#8220;Keymap&#8221; \u90e8\u5206\uff0c\u5355\u51fb &#8220;Add Keyboard Shortcut&#8221;\uff08\u6dfb\u52a0\u952e\u76d8\u5feb\u6377\u952e\uff09\u3002<\/li>\n<li>\u6309\u4e0b\u60a8\u5e0c\u671b\u4f7f\u7528\u7684\u5feb\u6377\u952e\u7ec4\u5408\u3002<\/li>\n<\/ul>\n<p><strong>4. \u5e94\u7528\u81ea\u5b9a\u4e49<\/strong><\/p>\n<ul>\n<li>\u5355\u51fb &#8220;Apply&#8221;\uff08\u5e94\u7528\uff09\u4ee5\u4fdd\u5b58\u66f4\u6539\u3002<\/li>\n<li>\u5355\u51fb &#8220;OK&#8221;\uff08\u786e\u5b9a\uff09\u9000\u51fa Keymap \u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<p><strong>\u63d0\u793a\uff1a<\/strong><\/p>\n<ul>\n<li>WebStorm \u8fd8\u5141\u8bb8\u60a8\u5bfc\u51fa\u548c\u5bfc\u5165\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\u65b9\u6848\u3002<\/li>\n<li>\u5982\u679c\u60a8\u4e0d\u786e\u5b9a\u67d0\u4e2a\u5feb\u6377\u952e\u7684\u540d\u79f0\uff0c\u8bf7\u5728 IDE \u4e2d\u6267\u884c\u8be5\u64cd\u4f5c\u3002\u5feb\u6377\u952e\u7684\u540d\u79f0\u5c06\u663e\u793a\u5728\u72b6\u6001\u680f\u4e2d\u3002<\/li>\n<li>\u6709\u5173\u53ef\u7528\u7684\u5feb\u6377\u952e\u7684\u5b8c\u6574\u5217\u8868\uff0c\u8bf7\u53c2\u8003 WebStorm \u6587\u6863\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8c03\u5feb\u6377\u952e\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>webstorm \u63d0\u4f9b\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\u7684\u529f\u80fd\uff0c\u8ba9\u5f00\u53d1\u4eba\u5458\u53ef\u4f18\u5316 ide\u3002\u6b65\u9aa4\u5982\u4e0b\uff1a\u6253\u5f00\u5feb\u6377\u952e\u8bbe\u7f6e\uff1b\u641c\u7d22\u5e76\u627e\u5230\u8981\u66f4\u6539\u7684\u5feb\u6377\u952e\uff1b\u5355\u51fb\u8981\u66f4\u6539\u7684\u5feb\u6377\u952e\uff0c\u9009\u62e9&#8221;add keyboard shortcut&#8221;\u6dfb\u52a0\u65b0\u5feb\u6377\u952e\uff1b\u6309\u4e0b\u60a8\u8981\u4f7f\u7528\u7684\u5feb\u6377\u952e\u7ec4\u5408\uff1b\u70b9\u51fb&#8221;apply&#8221;\u5e94\u7528\u66f4\u6539\uff0c&#8221;ok&#8221;\u9000\u51fa\u8bbe\u7f6e\u3002 \u5982\u4f55\u5728 WebStorm \u4e2d\u81ea\u5b9a\u4e49\u5feb\u6377\u952e WebStorm \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\u7684\u529f\u80fd\uff0c\u4f7f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u6839\u636e\u81ea\u5df1\u7684\u559c\u597d\u8c03\u6574 IDE\u3002\u4ee5\u4e0b\u662f\u81ea\u5b9a\u4e49 WebStorm \u5feb\u6377\u952e\u7684\u6b65\u9aa4\uff1a 1. \u6253\u5f00\u5feb\u6377\u952e\u8bbe\u7f6e Windows\/Linux\uff1aFile -&gt; Settings -&gt; Keymap macOS\uff1aWebStorm -&gt; Preferences -&gt; Keymap 2. \u641c\u7d22\u5feb\u6377\u952e \u5728 Keymap \u8bbe\u7f6e\u4e2d\uff0c\u4f7f\u7528\u641c\u7d22\u680f\u67e5\u627e\u8981\u81ea\u5b9a\u4e49\u7684\u7279\u5b9a\u5feb\u6377\u952e\u3002 3. \u66f4\u6539\u5feb\u6377\u952e \u5355\u51fb\u8981\u66f4\u6539\u7684\u5feb\u6377\u952e\u3002 \u5728 &#8220;Keymap&#8221; \u90e8\u5206\uff0c\u5355\u51fb &#8220;Add Keyboard Shortcut&#8221;\uff08\u6dfb\u52a0\u952e\u76d8\u5feb\u6377\u952e\uff09\u3002 \u6309\u4e0b\u60a8\u5e0c\u671b\u4f7f\u7528\u7684\u5feb\u6377\u952e\u7ec4\u5408\u3002 4. \u5e94\u7528\u81ea\u5b9a\u4e49 \u5355\u51fb &#8220;Apply&#8221;\uff08\u5e94\u7528\uff09\u4ee5\u4fdd\u5b58\u66f4\u6539\u3002 \u5355\u51fb &#8220;OK&#8221;\uff08\u786e\u5b9a\uff09\u9000\u51fa Keymap \u8bbe\u7f6e\u3002 \u63d0\u793a\uff1a WebStorm \u8fd8\u5141\u8bb8\u60a8\u5bfc\u51fa\u548c\u5bfc\u5165\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\u65b9\u6848\u3002 \u5982\u679c\u60a8\u4e0d\u786e\u5b9a\u67d0\u4e2a\u5feb\u6377\u952e\u7684\u540d\u79f0\uff0c\u8bf7\u5728 IDE \u4e2d\u6267\u884c\u8be5\u64cd\u4f5c\u3002\u5feb\u6377\u952e\u7684\u540d\u79f0\u5c06\u663e\u793a\u5728\u72b6\u6001\u680f\u4e2d\u3002 \u6709\u5173\u53ef\u7528\u7684\u5feb\u6377\u952e\u7684\u5b8c\u6574\u5217\u8868\uff0c\u8bf7\u53c2\u8003 [&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-21487","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21487","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=21487"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21487\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}