{"id":28411,"date":"2024-11-24T16:25:18","date_gmt":"2024-11-24T08:25:18","guid":{"rendered":"https:\/\/fwq.ai\/blog\/28411\/"},"modified":"2024-11-24T16:25:18","modified_gmt":"2024-11-24T08:25:18","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8-webstorm-%e6%a0%bc%e5%bc%8f%e5%8c%96%e4%bb%a3%e7%a0%81%ef%bc%8c%e5%ae%9e%e7%8e%b0%e6%a0%87%e7%ad%be%e6%8d%a2%e8%a1%8c%e4%bd%86%e5%b1%9e%e6%80%a7%e4%b8%8d%e6%8d%a2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/28411\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528 WebStorm \u683c\u5f0f\u5316\u4ee3\u7801\uff0c\u5b9e\u73b0\u6807\u7b7e\u6362\u884c\u4f46\u5c5e\u6027\u4e0d\u6362\u884c\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173166121562577.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u4f7f\u7528 WebStorm \u683c\u5f0f\u5316\u4ee3\u7801\uff0c\u5b9e\u73b0\u6807\u7b7e\u6362\u884c\u4f46\u5c5e\u6027\u4e0d\u6362\u884c\uff1f\u63d2\u56fe\" alt=\"\u5982\u4f55\u4f7f\u7528 WebStorm \u683c\u5f0f\u5316\u4ee3\u7801\uff0c\u5b9e\u73b0\u6807\u7b7e\u6362\u884c\u4f46\u5c5e\u6027\u4e0d\u6362\u884c\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728  \u4e2d\u683c\u5f0f\u5316\u4ee3\u7801\u5b9e\u73b0\u6807\u7b7e\u6362\u884c\uff0c\u6807\u7b7e\u5c5e\u6027\u4e0d\u6362\u884c\uff1f<\/strong><\/p>\n<p>\u5728 WebStorm \u4e2d\u5bf9\u4ee3\u7801\u8fdb\u884c\u683c\u5f0f\u5316\u65f6\uff0c\u6709\u65f6\u9700\u8981\u8c03\u6574\u6807\u7b7e\u548c\u6807\u7b7e\u5c5e\u6027\u7684\u6362\u884c\u65b9\u5f0f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u5c06 <\/p>\n<\/p>\n<p> \u6807\u7b7e\u6362\u884c\uff0c\u4f46\u4fdd\u6301\u6807\u7b7e\u5c5e\u6027\u5728\u540c\u4e00\u884c\u3002 <\/p>\n<p>\u8981\u5b9e\u73b0\u8fd9\u4e2a\u76ee\u6807\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<ol>\n<li>\u5728 WebStorm \u4e2d\u6253\u5f00\u9700\u8981\u683c\u5f0f\u5316\u7684\u4ee3\u7801\u3002<\/li>\n<li>\u53f3\u952e\u5355\u51fb\u4ee3\u7801\u5e76\u9009\u62e9 &#8220;Format Code&#8221;\u3002<\/li>\n<li>\u5728\u5f39\u51fa\u7684 &#8220;Format Code&#8221; \u7a97\u53e3\u4e2d\uff0c\u5c55\u5f00 &#8220;Code Style&#8221; \u90e8\u5206\u3002<\/li>\n<li>\u5728 &#8220;Line Breaks&#8221; \u9009\u9879\u5361\u4e2d\uff0c\u627e\u5230 &#8220;HTML&#8221; \u90e8\u5206\u3002<\/li>\n<li>\u5c06 &#8220;HTML tags&#8221; \u4e0b\u62c9\u83dc\u5355\u8bbe\u7f6e\u4e3a &#8220;Split multiline tags if needed&#8221;\u3002<\/li>\n<li>\u5c06 &#8220;HTML Attributes&#8221; \u4e0b\u62c9\u83dc\u5355\u8bbe\u7f6e\u4e3a &#8220;Do not wrap (unless it&#8217;s an assignment)&#8221;.<\/li>\n<li>\u70b9\u51fb &#8220;OK&#8221; \u6309\u94ae\u3002<\/li>\n<\/ol>\n<p>\u73b0\u5728\uff0cWebStorm \u4f1a\u5c06 <\/p>\n<\/p>\n<p> \u6807\u7b7e\u6362\u884c\uff0c\u540c\u65f6\u4fdd\u6301\u6807\u7b7e\u5c5e\u6027\u5728\u540c\u4e00\u884c\u3002\u4f8b\u5982\uff1a <\/p>\n<pre>&lt;p&gt;\n  This is a paragraph that spans multiple lines.\n&lt;\/p&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u4f7f\u7528 WebStorm \u683c\u5f0f\u5316\u4ee3\u7801\uff0c\u5b9e\u73b0\u6807\u7b7e\u6362\u884c\u4f46\u5c5e\u6027\u4e0d\u6362\u884c\uff1f\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>\u5982\u4f55\u5728 \u4e2d\u683c\u5f0f\u5316\u4ee3\u7801\u5b9e\u73b0\u6807\u7b7e\u6362\u884c\uff0c\u6807\u7b7e\u5c5e\u6027\u4e0d\u6362\u884c\uff1f \u5728 WebStorm \u4e2d\u5bf9\u4ee3\u7801\u8fdb\u884c\u683c\u5f0f\u5316\u65f6\uff0c\u6709\u65f6\u9700\u8981\u8c03\u6574\u6807\u7b7e\u548c\u6807\u7b7e\u5c5e\u6027\u7684\u6362\u884c\u65b9\u5f0f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u5c06 \u6807\u7b7e\u6362\u884c\uff0c\u4f46\u4fdd\u6301\u6807\u7b7e\u5c5e\u6027\u5728\u540c\u4e00\u884c\u3002 \u8981\u5b9e\u73b0\u8fd9\u4e2a\u76ee\u6807\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a \u5728 WebStorm \u4e2d\u6253\u5f00\u9700\u8981\u683c\u5f0f\u5316\u7684\u4ee3\u7801\u3002 \u53f3\u952e\u5355\u51fb\u4ee3\u7801\u5e76\u9009\u62e9 &#8220;Format Code&#8221;\u3002 \u5728\u5f39\u51fa\u7684 &#8220;Format Code&#8221; \u7a97\u53e3\u4e2d\uff0c\u5c55\u5f00 &#8220;Code Style&#8221; \u90e8\u5206\u3002 \u5728 &#8220;Line Breaks&#8221; \u9009\u9879\u5361\u4e2d\uff0c\u627e\u5230 &#8220;HTML&#8221; \u90e8\u5206\u3002 \u5c06 &#8220;HTML tags&#8221; \u4e0b\u62c9\u83dc\u5355\u8bbe\u7f6e\u4e3a &#8220;Split multiline tags if needed&#8221;\u3002 \u5c06 &#8220;HTML Attributes&#8221; \u4e0b\u62c9\u83dc\u5355\u8bbe\u7f6e\u4e3a &#8220;Do not wrap (unless it&#8217;s an assignment)&#8221;. \u70b9\u51fb &#8220;OK&#8221; \u6309\u94ae\u3002 \u73b0\u5728\uff0cWebStorm \u4f1a\u5c06 \u6807\u7b7e\u6362\u884c\uff0c\u540c\u65f6\u4fdd\u6301\u6807\u7b7e\u5c5e\u6027\u5728\u540c\u4e00\u884c\u3002\u4f8b\u5982\uff1a &lt;p&gt; This is [&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-28411","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/28411","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=28411"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/28411\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=28411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=28411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=28411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}