{"id":98,"date":"2024-05-07T20:04:30","date_gmt":"2024-05-07T12:04:30","guid":{"rendered":"https:\/\/www.aberlt.com\/?p=98"},"modified":"2024-05-07T20:04:30","modified_gmt":"2024-05-07T12:04:30","slug":"xcode%e8%87%aa%e5%ae%9a%e4%b9%89%e5%bf%ab%e6%8d%b7%e9%94%ae%ef%bc%88%e5%90%91%e4%b8%8b%e6%88%96%e5%90%91%e4%b8%8a%e6%96%b0%e5%a2%9e%e4%b8%80%e8%a1%8c%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.aberlt.com\/index.php\/2024\/05\/07\/xcode%e8%87%aa%e5%ae%9a%e4%b9%89%e5%bf%ab%e6%8d%b7%e9%94%ae%ef%bc%88%e5%90%91%e4%b8%8b%e6%88%96%e5%90%91%e4%b8%8a%e6%96%b0%e5%a2%9e%e4%b8%80%e8%a1%8c%ef%bc%89\/","title":{"rendered":"Xcode\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\uff08\u5411\u4e0b\u6216\u5411\u4e0a\u65b0\u589e\u4e00\u884c\uff09"},"content":{"rendered":"<p>\u4f7f\u7528\u5176\u5b83 IDE \u53ef\u4ee5\u5728\u7f16\u8f91\u5668\u4efb\u610f\u4f4d\u7f6e\u5411\u4e0a\u6216\u5411\u4e0b\u65b0\u589e\u4e00\u884c\uff0c\u5728\u7f16\u7801\u65f6\u975e\u5e38\u5b9e\u7528\uff0c\u800c Xcode \u6ca1\u6709\u63d0\u4f9b\u8fd9\u6837\u7684\u529f\u80fd\u548c\u5feb\u6377\u952e\u3002\u56e0\u6b64\u840c\u751f\u4e86\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\u7684\u60f3\u6cd5\uff0c\u4e5f\u627e\u5230\u4e86\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h3>\u4fee\u6539\u6743\u9650<\/h3>\n<p>Xcode\u7684\u5feb\u6377\u952e\u5b58\u50a8\u5728\u4e00\u4e2a plist \u683c\u5f0f\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u9700\u8981\u4fee\u6539\u6743\u9650\u624d\u80fd\u8fdb\u884c\u7f16\u8f91\u3002\u5728\u7ec8\u7aef\u4e2d\u901a\u8fc7\u4ee5\u4e0b\u4e24\u6761\u547d\u4ee4\u4fee\u6539\u6743\u9650\uff1a<\/p>\n<pre><code>sudo chmod 666 \/Applications\/Xcode.app\/Contents\/Frameworks\/IDEKit.framework\/Resources\/IDETextKeyBindingSet.plist\nsudo chmod 777 \/Applications\/Xcode.app\/Contents\/Frameworks\/IDEKit.framework\/Resources\/<\/code><\/pre>\n<p>\u901a\u8fc7 open \u547d\u4ee4\u6253\u5f00\u6587\u4ef6\u5c31\u53ef\u4ee5\u8fdb\u884c\u4fee\u6539\u4e86\uff1a<\/p>\n<pre><code>open \/Applications\/Xcode.app\/Contents\/Frameworks\/IDEKit.framework\/Resources\/IDETextKeyBindingSet.plist<\/code><\/pre>\n<h3>\u7f16\u8f91\u6587\u4ef6\uff0c\u65b0\u589e\u64cd\u4f5c\u6307\u4ee4<\/h3>\n<p>\u5728 plist \u6587\u4ef6\u4e2d\u65b0\u589e\u9700\u8981\u7684\u6307\u4ee4\uff0c\u6839\u636e\u9700\u6c42\u6211\u65b0\u589e\u4e86\u4e24\u6761\u6307\u4ee4\uff0c\u5176\u4e2d key \u662f\u64cd\u4f5c\u6307\u4ee4\u7684\u540d\u79f0\uff0c\u4f1a\u5c55\u793a\u5728\u5feb\u6377\u952e\u5217\u8868<\/p>\n<pre><code>&lt;key&gt;Insert Line Above&lt;\/key&gt;\n&lt;string&gt;moveUp:, moveToEndOfLine:, insertNewline:&lt;\/string&gt;\n\n&lt;key&gt;Insert Line Below&lt;\/key&gt;\n&lt;string&gt;moveToEndOfLine:, insertNewline:&lt;\/string&gt;<\/code><\/pre>\n<p>\u4fdd\u5b58\u5e76\u91cd\u542f Xcode\uff0c\u5728\u5feb\u6377\u952e\u5217\u8868\u641c\u7d22<code>Insert Line<\/code>\u53ef\u4ee5\u770b\u5230\u65b0\u589e\u7684\u64cd\u4f5c\u6307\u4ee4\uff0c\u6839\u636e\u4e60\u60ef\u81ea\u5df1\u6dfb\u52a0\u76f8\u5e94\u7684\u5feb\u6377\u952e\u5373\u53ef\u3002<br \/>\n<a href=\"http:\/\/www.aberlt.com\/wp-content\/uploads\/2024\/05\/2024_05_07Xcode_Key_binding.png\"><img decoding=\"async\" src=\"http:\/\/www.aberlt.com\/wp-content\/uploads\/2024\/05\/2024_05_07Xcode_Key_binding-300x95.png\" alt=\"\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528\u5176\u5b83 IDE \u53ef\u4ee5\u5728\u7f16\u8f91\u5668\u4efb\u610f\u4f4d\u7f6e\u5411\u4e0a\u6216\u5411\u4e0b\u65b0\u589e\u4e00\u884c\uff0c\u5728\u7f16\u7801\u65f6\u975e\u5e38\u5b9e\u7528\uff0c\u800c Xcode \u6ca1\u6709\u63d0\u4f9b\u8fd9\u6837\u7684\u529f\u80fd &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.aberlt.com\/index.php\/2024\/05\/07\/xcode%e8%87%aa%e5%ae%9a%e4%b9%89%e5%bf%ab%e6%8d%b7%e9%94%ae%ef%bc%88%e5%90%91%e4%b8%8b%e6%88%96%e5%90%91%e4%b8%8a%e6%96%b0%e5%a2%9e%e4%b8%80%e8%a1%8c%ef%bc%89\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cXcode\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\uff08\u5411\u4e0b\u6216\u5411\u4e0a\u65b0\u589e\u4e00\u884c\uff09\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,19],"tags":[22,28],"_links":{"self":[{"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/posts\/98"}],"collection":[{"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":1,"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions\/100"}],"wp:attachment":[{"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aberlt.com\/index.php\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}