{"id":143,"date":"2009-08-18T12:50:02","date_gmt":"2009-08-18T04:50:02","guid":{"rendered":"http:\/\/tmp.xujiwei.com\/blog\/?p=143"},"modified":"2012-09-19T14:20:44","modified_gmt":"2012-09-19T06:20:44","slug":"coda-plugin-f2e-tools","status":"publish","type":"post","link":"https:\/\/xujiwei.com\/blog\/2009\/08\/coda-plugin-f2e-tools\/","title":{"rendered":"Coda \u524d\u7aef\u5f00\u53d1\u63d2\u4ef6 F2E Tools"},"content":{"rendered":"<p>\u5728\u00a0EeePC\u00a0\u4e0a\u88c5\u4e86\u4e2a\u00a0Mac\u00a0OS\u00a0X\uff0c\u76f8\u5e94\u7684\u5f00\u53d1\u5de5\u5177\u4e5f\u9009\u62e9\u4e86\u00a0Coda\u3002\u5728\u00a0Windows\u00a0\u4e0b\uff0cEditPlus\u00a0\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u81ea\u5b9a\u4e49 \u5de5\u5177\u7684\u65b9\u5f0f\u6765\u7ed9\u00a0EditPlus\u00a0\u7684\u6dfb\u52a0\u524d\u7aef\u5de5\u5177\uff0c\u4f46\u662f\u5728\u00a0Coda\u00a0\u4e0a\uff0c\u5c31\u6ca1\u6709\u8fd9\u4e48\u65b9\u4fbf\u7684\u81ea\u5b9a\u4e49\u65b9\u5f0f\u4e86\u3002\u4e4b\u524d\u5e08\u5144\u6e05\u7fbd\u7528\u00a0Python\u00a0\u5b9e\u73b0 \u4e86\u00a0Coda\u00a0\u7684\u00a0YUI\u00a0Compressor\u00a0\u548c\u00a0JS\u00a0Lint\u00a0\u4e24\u4e2a\u63d2\u4ef6\uff0c\u540e\u6765\u5728\u7fa4\u91cc\u8ba8\u8bba\u8981\u4e0d\u8981\u628a\u00a0JS\u00a0Beautify\u00a0\u4e5f\u96c6\u6210\u3002<\/p>\n<p>\u60f3 \u6cd5\u6709\u4e86\uff0c\u4e0a\u5468\u672b\u56de\u5bb6\u5c31\u5f00\u5199\uff0cCoda\u00a0\u7684\u63d2\u4ef6\u6709\u4e24\u79cd\u5f62\u5f0f\u7684\uff0c\u4e00\u79cd\u662f\u7528\u811a\u672c\u6765\u5199\uff0c\u53e6\u5916\u4e00\u79cd\u662f\u7528\u00a0Cocoa\u00a0\u6765\u5199\u3002\u4f7f\u7528\u811a\u672c\u5f88\u7b80\u5355\uff0cPython\u3001 Ruby\u00a0\u7b49\u7b49\u90fd\u53ef\u4ee5\uff0c\u53ea\u8981\u7cfb\u7edf\u4e0a\u6709\u89e3\u91ca\u5668\u3002\u76f8\u5bf9\u800c\u8a00\u8fd8\u662f\u00a0Python\u00a0\u719f\u4e00\u70b9\uff0c\u5c31\u9009\u7528\u00a0Python\u00a0\u6765\u7f16\u5199\u8fd9\u51e0\u4e2a\u63d2\u4ef6\u4e86\u3002<\/p>\n<p><a title=\"\u70b9\u51fb\u5728\u65b0\u7a97\u53e3\u4e2d\u6253\u5f00\u56fe\u7247\" rel=\"external\" href=\"http:\/\/dl.getdropbox.com\/u\/1451589\/Blog\/coda-f2etools.png\"><img loading=\"lazy\" src=\"http:\/\/dl.getdropbox.com\/u\/1451589\/Blog\/coda-f2etools.png\" alt=\"\u56fe\u7247\u9644\u4ef6\" width=\"483\" height=\"162\" \/><\/a><\/p>\n<p><strong>\u4e0b\u8f7d\uff1a<\/strong><br \/>\n<a rel=\"external\" href=\"http:\/\/dl.getdropbox.com\/u\/1451589\/Blog\/CodaF2ETools.zip\">http:\/\/dl.getdropbox.com\/u\/1451589\/Blog\/CodaF2ETools.zip<\/a><\/p>\n<p><strong>for Coda 2<\/strong>\uff1a<br \/>\n<a href='http:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2009\/08\/F2E-Tools-for-Code-2.zip'>F2E Tools for Code 2<\/a> (2.4MB)<\/p>\n<p><strong>\u5b89 \u88c5\u65b9\u6cd5\uff1a<\/strong>\u89e3\u538b\u540e\uff0c\u53cc\u51fb\u00a0F2E\u00a0Tools.codeplugin\u00a0\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n<p>\u8be5\u63d2\u4ef6\u96c6\u6210\u4e86\u4ee5\u4e0b\u00a05\u00a0\u4e2a\u524d\u7aef\u5f00\u53d1\u5de5 \u5177\uff1a<\/p>\n<p><strong>1.\u00a0YUI\u00a0Compressor<\/strong><\/p>\n<p>\u538b\u7f29\u5de5\u5177\uff0c\u53ef\u4ee5\u538b\u7f29\u00a0JS\u00a0\u548c\u00a0CSS\u00a0\u4ee3\u7801\uff0c \u53bb\u6389\u6ce8\u91ca\u3001\u7a7a\u767d\u5b57\u7b26\uff0c\u7f29\u77ed\u53d8\u91cf\u540d\u7b49\u3002<\/p>\n<p><strong>2.\u00a0JS\u00a0Lint<\/strong><\/p>\n<p>JavaScript\u00a0\u8bed\u6cd5\u68c0 \u67e5\u5de5\u5177\uff0c\u53ef\u4ee5\u8ba9\u4f60\u7684\u4ee3\u7801\u66f4\u5065\u58ee\u3002<\/p>\n<p><strong>3.\u00a0JS\u00a0Beautify<\/strong><\/p>\n<p>\u5982\u679c\u78b0\u5230\u4e86\u538b\u7f29\u8fc7\u7684\u4ee3\u7801\uff0c \u90a3\u4e48\u53ef\u4ee5\u7528\u8fd9\u4e2a\u5de5\u5177\u6765\u628a\u4ee3\u7801\u683c\u5f0f\u5316\u4e00\u4e0b\uff0c\u53ef\u4ee5\u770b\u8d77\u6765\u5f88\u6e05\u695a\uff0c\u5b83\u4e5f\u53ef\u4ee5\u683c\u5f0f\u5316\u00a0HTML\u3002<\/p>\n<p><strong>4.\u00a0HTML\u00a0Tidy<\/strong><\/p>\n<p>\u683c \u5f0f\u5316\u5e76\u68c0\u67e5\u00a0HTML\u00a0\u4ee3\u7801\uff0c\u5e76\u68c0\u67e5\u662f\u5426\u7b26\u5408\u76f8\u5e94\u7684\u89c4\u8303\uff0c\u4f8b\u5982\u00a0XHTML\u00a0\u6216\u00a0HTML\u00a0\u7b49\u3002<\/p>\n<p><strong>5.\u00a0CSS\u00a0Tidy<\/strong><\/p>\n<p>\u683c \u5f0f\u5316\u00a0CSS\u00a0\u4ee3\u7801\u3002<\/p>\n<p>\u66f4\u8be6\u7ec6\u7684\u4ecb\u7ecd\u5927\u5bb6\u53ef\u4ee5\u53bb\u7f51\u4e0a\u627e\u4e00\u627e\u3002<\/p>\n<p><strong>\u8bf4\u660e\uff1a<\/strong> YUI\u00a0Compressor\u00a0\u538b \u7f29\u65f6\u662f\u4f7f\u7528\u7684\u00a0GB18030\u00a0\u7f16\u7801\uff0c\u5982\u679c\u4f60\u5e38\u7528\u7684\u7f16\u7801\u4e0d\u662f\u00a0GB18030\uff0c\u800c\u662f\u00a0UTF-8\u00a0\u6216\u8005\u5176\u4ed6\uff0c\u90a3\u4e48\u4f60\u9700\u8981\u4fee \u6539\u00a0YUI\u00a0Compressor\u00a0\u63d2\u4ef6\u7684\u811a\u672c\uff0c\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<p>1.\u00a0\u5b9a\u4f4d\u5230\u00a0\u7528\u6237\u4e3b\u76ee\u5f55\/Library \/Application\u00a0Support\/Coda\/Plug-ins<\/p>\n<p>2.\u00a0\u627e\u5230\u00a0F2E\u00a0Tools.codeplugin\uff0c\u9f20\u6807\u53f3 \u51fb\uff0c\u9009\u62e9\u201c\u663e\u793a\u5305\u5185\u5bb9\u201d<\/p>\n<p>3.\u00a0\u5b9a\u4f4d\u5230\u00a0Content\/Resources\/yuicompressor<\/p>\n<p>4.\u00a0\u4f7f\u7528\u6587\u672c\u7f16\u8f91 \u5668\u6253\u5f00\u00a0yuicompressor.py<\/p>\n<p>5.\u00a0\u5b9a\u4f4d\u5230\u6587\u4ef6\u5e95\u90e8\uff0c\u627e\u5230\u00a0GB18030\uff0c\u6709\u4e24\u5904\uff0c\u4fee\u6539\u4e3a\u00a0UTF-8\u00a0\u6216\u4f60\u8981\u4f7f\u7528\u7684\u7f16\u7801<\/p>\n<p>6.\u00a0\u4fdd \u5b58\u5e76\u9000\u51fa\uff0c\u91cd\u65b0\u542f\u52a8\u00a0Coda\u00a0\u5373\u53ef\u751f\u6548\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u00a0EeePC\u00a0\u4e0a\u88c5\u4e86\u4e2a\u00a0Mac\u00a0OS\u00a0X\uff0c\u76f8\u5e94\u7684\u5f00\u53d1\u5de5\u5177\u4e5f\u9009\u62e9\u4e86\u00a0Coda\u3002\u5728 &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/xujiwei.com\/blog\/2009\/08\/coda-plugin-f2e-tools\/\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[100,102,101],"_links":{"self":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/143"}],"collection":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/comments?post=143"}],"version-history":[{"count":0,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/143\/revisions"}],"wp:attachment":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media?parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/categories?post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/tags?post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}