快捷键
F4: 继承树
F3: 查看变量、方法、类的定义, 跳到光标所在标识符的定义代码。(Ctrl+左键)
Ctrl+Shift+G: 在工作空间中查找引用了光标所在标识符的位置。与F3相反的快捷键。当按类定义进行阅读时,当前类方法或者函数在被哪些地方调用
control+TAB: 切换.h/.cpp文件
control+option(ALT)+H: 查看call stack:
ctrl+shift+R /cmmand+shift+R(MAC): 打开Open Resource
ctrl+H: 打开搜索
cmmand+[ 或 cmmand+] 前移/后移,通过代码跳转后,可以通过该移动
安装vim
工具栏,Help->Eclipse Marketplace,搜索vim,如下图,点击“Install”安装即可
安装color theme
http://www.eclipsecolorthemes.org/
https://github.com/eclipse-color-theme/eclipse-color-theme
https://marketplace.eclipse.org/content/eclipse-color-theme
手动
http://eclipse-color-theme.github.io/update/
在官网中下载更新包,解压后将features和plugins放在eclipse安装目录下的dropins中;
报错:
The resource could not be loaded because the App Transport Security policy requires the use of a sec
- 在项目的Info.plist,文件中添加添加NSAppTransportSecurity类型为Dictionary
- 在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean —- >为: YES
MAX地址:/Applications/Eclipse.app/Contents/Info.plist
<key>NSAppTransportSecurity</key><dict><key>NSAllowsArbitraryLoads</key><true/></dict>
参考
研读代码必须掌握的Eclipse快捷键