<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>以太之内 生存之上 &#187; 快捷键</title> <atom:link href="http://ixhan.com/tag/%e5%bf%ab%e6%8d%b7%e9%94%ae/feed/" rel="self" type="application/rss+xml" /><link>http://ixhan.com</link> <description>Live in your world, get owned in mine</description> <lastBuildDate>Wed, 08 Feb 2012 10:38:57 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Xcode4 作战效率提升手册</title><link>http://ixhan.com/2011/12/high-efficiency-xcode/</link> <comments>http://ixhan.com/2011/12/high-efficiency-xcode/#comments</comments> <pubDate>Thu, 08 Dec 2011 13:52:58 +0000</pubDate> <dc:creator>xhan</dc:creator> <category><![CDATA[奇巧淫技]]></category> <category><![CDATA[工作效率]]></category> <category><![CDATA[快捷键]]></category> <category><![CDATA[xcode4]]></category> <guid
isPermaLink="false">http://ixhan.com/?p=684</guid> <description><![CDATA[<a
href="http://ixhan.com/2011/12/high-efficiency-xcode/" title="Xcode4 作战效率提升手册"></a>周一参加了 iOS Tech Talk Bejing 有个session中演示了一招加快debug效率的方式, 觉得非常好. 在此也分享下我常用的技巧方便提升大家的工作效率 基础篇 control +command + arrow up / down            切换 当前文件头文件和实现文件 control + command + arrow left/right             切换历史上/下一个文件 command B/R     &#8230;<p
class="read-more"><a
href="http://ixhan.com/2011/12/high-efficiency-xcode/">Read more &#187;</a></p>]]></description> <content:encoded><![CDATA[<a
href="http://ixhan.com/2011/12/high-efficiency-xcode/" title="Xcode4 作战效率提升手册"></a><blockquote><p>周一参加了 iOS Tech Talk Bejing 有个session中演示了一招加快debug效率的方式, 觉得非常好. 在此也分享下我常用的技巧方便提升大家的工作效率</p></blockquote><h3 style="padding-left: 30px;">基础篇</h3><ul><li>control +command + arrow up / down            切换 当前文件头文件和实现文件</li><li>control + command + arrow left/right             切换历史上/下一个文件</li><li>command B/R                                               编译 / 运行</li><li>command +  left click   on word                      可以在 方法的声明/实现, 变量的定义, 类的定义中跳转</li><li>option  + left click  on word                            对当前内容做 快速帮助</li><li>shift + command + Y                                     显示 debug工作区</li><li>command + f   / option + command + f           搜索/替换  (搜索后 command + G 可以跳到下一个结果)</li><li>shift + command + F                                      是全局搜索,非常方便</li><li>(esc)                                                             自动完成菜单</li></ul><p
style="padding-left: 90px;"><span
style="font-size: small;">PS. 还有几个OSX系统通用的命令也很有效率</span></p><div
style="padding-left: 60px;"><ul><li><span
class="Apple-style-span" style="font-size: 12px;">option + arrow left / right                以单词为单位移动光标</span></li><li><span
class="Apple-style-span" style="font-size: 12px;">command + arrow left /right             移动光标到行头,行尾 </span></li></ul></div><h3 style="padding-left: 30px;">进阶篇</h3><ul><li>shift + command + o            快速定位文件</li><li>shift + command + j             在项目导航中显示当前文件 (在大项目中尤其好用,推荐!)</li><li>option + click 项目导航中的文件      可以在辅助编辑器里打开该文件, 方便同时查看多个源文件 (默认的辅助编辑器功能很弱,这样基本能找回xcode3的 split screen功能了)</li><li>command  + L                      定为到文件的指定行</li><li>shift + command +L              跳到光标所在位置 (当然更多时候我比较喜欢点下箭头来定位)</li><li>control + i                             对选中文字 重新格式化缩进</li></ul><h3 style="padding-left: 30px;">Debug篇</h3><blockquote><p>Xcode4 启用一体化IDE后, 调试程序有时候变得非常讨厌, 有同感的同学请继续往下看吧. (此内容学习至 ios tech talk ! )</p></blockquote><ol><li>新建一个tab(cmd + t) 双击tab名修改名字为 CONSOLE     #不知道tab可以改名吧! 这弱爆的体验呐</li><li>调整 CONSOLE tab为你喜欢的调试外观, 我喜欢有个大大的log窗口(shift+cmd+c), 左边显示debug栏,不显示右侧栏 , 留一点空间给编辑器, 方便断点时候跟踪 , 最后效果附图</li><li>可以将console tab关闭了 (xcode会自动记忆此tab的设置, 这下应该明白你调试时候经常有时候有log窗口,有时候又需要自己打开的原因了吧 )</li><li>在设置中打开 behavior 这选项</li><li>选择 run start , 只勾选 `show tab CONSOLE` 和 `show navigator Debug`</li><li>把 run complete 里的选项全关了.   # 这样调试结束我们还能继续看log,而不是默认的log也被关闭</li><li>完成, 运行 !  如果你有多个屏幕, 还可将console tab 拖出放置,效果更好!</li></ol><div><span
style="font-size: small;"><a
href="http://ixhan.com/wp-content/uploads/2011/12/xcode4_console.jpg"><img
class="alignnone size-full wp-image-685" title="xcode4_console" src="http://ixhan.com/wp-content/uploads/2011/12/xcode4_console.jpg" alt="" width="715" height="539" /></a></span></div><div></div><div><span
style="font-size: small;"><br
/> </span></div><h3  class="related_post_title">Related Posts</h3><ul
class="related_post"><li><a
href="http://ixhan.com/2011/08/xcode4-document-show-toc/" title="XCode4 文档中激活文档目录功能">XCode4 文档中激活文档目录功能</a></li><li><a
href="http://ixhan.com/2009/11/osx-terminal-keyshort/" title="OSX Terminal(终端) 使用快捷键">OSX Terminal(终端) 使用快捷键</a></li></ul>]]></content:encoded> <wfw:commentRss>http://ixhan.com/2011/12/high-efficiency-xcode/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>OSX Terminal(终端) 使用快捷键</title><link>http://ixhan.com/2009/11/osx-terminal-keyshort/</link> <comments>http://ixhan.com/2009/11/osx-terminal-keyshort/#comments</comments> <pubDate>Mon, 02 Nov 2009 13:10:37 +0000</pubDate> <dc:creator>xhan</dc:creator> <category><![CDATA[Knowledge]]></category> <category><![CDATA[快捷键]]></category> <category><![CDATA[分享]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[c]]></category> <category><![CDATA[终端]]></category> <category><![CDATA[svn]]></category> <category><![CDATA[terminal]]></category> <guid
isPermaLink="false">http://ixhan.com/?p=144</guid> <description><![CDATA[<a
href="http://ixhan.com/2009/11/osx-terminal-keyshort/" title="OSX Terminal(终端) 使用快捷键"></a>之前唯一会用的终端快捷键只有 up 和 down 。碰到长串命令中打错几个字母就很麻烦了，今天学到几个快捷键分享下。 首先勾选设置-》键盘-》使用 option 键作为 meta 键。 然后就可以使用如下快捷键了： control + a / e    回到命令行头/尾 option + b / f     向前/后跳一个单词 control +u /k    删除光标前/后 所有单词 control + y       撤销上个操作 Enjoy It ! 最后有个好玩的命令，查看最常用的10个命令（最近500个命令） awk &#8216;{print $1}&#8217; ~/.bash_history &#8230;<p
class="read-more"><a
href="http://ixhan.com/2009/11/osx-terminal-keyshort/">Read more &#187;</a></p>]]></description> <content:encoded><![CDATA[<a
href="http://ixhan.com/2009/11/osx-terminal-keyshort/" title="OSX Terminal(终端) 使用快捷键"></a><p>之前唯一会用的终端快捷键只有 up 和 down 。碰到长串命令中打错几个字母就很麻烦了，今天学到几个快捷键分享下。</p><p>首先勾选设置-》键盘-》使用 option 键作为 meta 键。</p><p>然后就可以使用如下快捷键了：</p><ul><li>control + a / e    回到命令行头/尾</li><li>option + b / f     向前/后跳一个单词</li><li>control +u /k    删除光标前/后 所有单词</li><li>control + y       撤销上个操作</li></ul><p>Enjoy It !</p><p>最后有个好玩的命令，查看最常用的10个命令（最近500个命令）</p><p>awk &#8216;{print $1}&#8217; ~/.bash_history | sort | uniq -c | sort -gr | head<span
id="more-144"></span></p><p>我的结果</p><blockquote><p>100 ls<br
/> 68 git<br
/> 63 cd<br
/> 54 svn<br
/> 28 fq<br
/> 20 find<br
/> 18 open<br
/> 18 curl<br
/> 16 ssh<br
/> 10 rm</p></blockquote><p>终于不再全是 ls + cd 了。</p><h3  class="related_post_title">Related Posts</h3><ul
class="related_post"><li><a
href="http://ixhan.com/2010/02/fake-version/" title="Fake Version">Fake Version</a></li><li><a
href="http://ixhan.com/2009/12/2009-2010/" title="2009-2010 ">2009-2010 </a></li><li><a
href="http://ixhan.com/2009/10/redmine-images-manager-system/" title="用 Redmine 管理iPhone项目中过多的图片文件">用 Redmine 管理iPhone项目中过多的图片文件</a></li><li><a
href="http://ixhan.com/2009/10/iphone-stencil/" title="iPhone 组件模板（设计用）分享">iPhone 组件模板（设计用）分享</a></li></ul>]]></content:encoded> <wfw:commentRss>http://ixhan.com/2009/11/osx-terminal-keyshort/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
