- Cmd+Y 查看定义
- Cmd+U 查看并定位到父类
- Cmd+P 查看参数信息
- Cmd+Shift+E 最近修改的文件
- Cmd+E 最近访问的文件
- Alt+上/下 扩大/缩小选区
- Cmd+F12 文件结构弹窗
恢复某个被删除的文件 git checkout $commit~1 filename
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KEYWORDS="TODO:|FIXME:|\?\?\?:|\!\!\!:" | |
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | perl -p -e "s/($KEYWORDS)/ warning: \$1/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://medium.com/@bogdan.bolchis/custom-xcode-behaviors-c9085d9eb7c1 | |
.... | |
chmod +x openTerm.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<type>(<scope>): <subject> | |
<BLANK LINE> | |
<body> | |
<BLANK LINE> | |
<footer> | |
///////////////////// | |
Type | |
提交类型,必须是下列之一: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KEYWORDS="TODO:|FIXME:|\?\?\?:|\!\!\!:" | |
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | perl -p -e "s/($KEYWORDS)/ warning: \$1/" |