sourceinsight使用技巧
2014-04-16 09:25
399 查看
在用sourceinsight查看linux内核源码的时候,大家会发现不能查看源码中的makefile和kconfig代码,即不能搜索到makefile和kconfig文件。这是因为sourceinsight默认是不选makefile的,也没有konfig这种类型的文件。下面就说如何让sourceinsight支持查看makefile和kconfig代码:
(1)添加makefile:
进入Options -> Document Options->点击Document Type的下拉框,然后选择Make File,在右边的FileFilter中,在原先的*.mak后面加上一个分号,即多个不同过滤规则以分号间隔开,再加上*makefile,变成*.mak;*makefile,并且选中Includewhen adding to projects就行了。
(2)添加kconfig:
点击 Add Type,填入新文件类型的名字kconfig,FileFilter中写上*kconfig;kconfig*,再选中下面的Include when adding toprojects就行了。
(3)添加支持.s:
进入Options -> Document Options->点击Document Type的下拉框,然后选择x86 Asm Source File,在右边的FileFilter中,在原先的*.asm;*.inc加上*.s和*.S,即变成*.asm;*.inc;*.s;*.S,并且选中Includewhen adding to projects就行了。
(1)添加makefile:
进入Options -> Document Options->点击Document Type的下拉框,然后选择Make File,在右边的FileFilter中,在原先的*.mak后面加上一个分号,即多个不同过滤规则以分号间隔开,再加上*makefile,变成*.mak;*makefile,并且选中Includewhen adding to projects就行了。
(2)添加kconfig:
点击 Add Type,填入新文件类型的名字kconfig,FileFilter中写上*kconfig;kconfig*,再选中下面的Include when adding toprojects就行了。
(3)添加支持.s:
进入Options -> Document Options->点击Document Type的下拉框,然后选择x86 Asm Source File,在右边的FileFilter中,在原先的*.asm;*.inc加上*.s和*.S,即变成*.asm;*.inc;*.s;*.S,并且选中Includewhen adding to projects就行了。
相关文章推荐
- source insight使用技巧
- SourceInsight 使用技巧
- source insight快捷键及使用技巧
- source insight快捷键及使用技巧
- source insight 使用技巧
- source insight快捷键及使用技巧
- sourceinsight常见使用技巧汇总
- Source Insight使用方法和技巧
- SourceInsight使用技巧
- sourceinsight使用技巧
- source insight快捷键及使用技巧
- Source Insight使用技巧
- SourceInsight使用技巧
- SourceInsight使用技巧(转)
- source insight快捷键及使用技巧
- sourceinsight使用技巧
- SourceInsight使用技巧(转)
- SourceInsight使用技巧
- SourceInsight使用技巧
- source insight快捷键及使用技巧