博客
关于我
如何使用 Source Insight4.0 阅读源码
阅读量:503 次
发布时间:2019-03-07

本文共 442 字,大约阅读时间需要 1 分钟。

Source Insight是一款优秀的源码阅读工具,以下是使用说明。

下载并安装完成后,打开程序,点击“新建项目”按钮,弹出如下界面:

在“项目名称”中输入所需项目名称,然后点击“浏览”选择源码文件的路径,点击“OK”进入下一步。

接着,选择需要阅读的文件夹,点击“添加文件夹”按钮即可(对于较大的项目,可选择仅需的文件夹,如Frameworks、Libcore等)。

此时,右侧栏可能未显示,勾选“Project Window”选项,右侧多出一栏,便于在此栏中搜索内容。

在右侧栏中输入需要查看的文件或类名,双击搜索结果可直接查看源码。

以下是其他常用功能和快捷键:

全局搜索可通过快捷键“Ctrl + /”或点击工具栏中的搜索图标启动。

查看行号:菜单栏“View” → “Line Numbers”。

设置快捷键:菜单栏“Options” → “Key Assignments” → 修改 searched references 关键字。

以上操作即可完成基本的源码阅读工作。

转载地址:http://tmfjz.baihongyu.com/

你可能感兴趣的文章
npm install 报错 ERR_SOCKET_TIMEOUT 的解决方法
查看>>
npm install 报错 fatal: unable to connect to github.com 的解决方法
查看>>
npm install 报错 no such file or directory 的解决方法
查看>>
npm install 权限问题
查看>>
npm install报错,证书验证失败unable to get local issuer certificate
查看>>
npm install无法生成node_modules的解决方法
查看>>
npm install的--save和--save-dev使用说明
查看>>
npm node pm2相关问题
查看>>
npm run build 失败Compiler server unexpectedly exited with code: null and signal: SIGBUS
查看>>
npm run build报Cannot find module错误的解决方法
查看>>
npm run build部署到云服务器中的Nginx(图文配置)
查看>>
npm run dev 和npm dev、npm run start和npm start、npm run serve和npm serve等的区别
查看>>
npm run dev 报错PS ‘vite‘ 不是内部或外部命令,也不是可运行的程序或批处理文件。
查看>>
npm scripts 使用指南
查看>>
npm should be run outside of the node repl, in your normal shell
查看>>
npm start运行了什么
查看>>
npm WARN deprecated core-js@2.6.12 core-js@<3.3 is no longer maintained and not recommended for usa
查看>>
npm 下载依赖慢的解决方案(亲测有效)
查看>>
npm 安装依赖过程中报错:Error: Can‘t find Python executable “python“, you can set the PYTHON env variable
查看>>
npm.taobao.org 淘宝 npm 镜像证书过期?这样解决!
查看>>