1.Document Type& File Filter
Document Type
File Filter
C Source File
*.h;*.c;*.m;*.pch
C++ Source File
*.cpp;*.hpp;*.cxx;*.hxx
X86 Asm Source File
*.asm;*.inc;*.s;*.S
Make File
*.mak;*makefile
(1)FileFilter之间以半角分号(;)隔开。
(2)默认已勾选“Include when adding to projects”,每次“Project->Add and Remove ProjectFiles”时,勾选“Show only known document types”。
2.EditingOptions
(1)默认已勾选“Allow auto-complete”、“Enter key->new line”和“SymbolWindow”;默认“Tab width”=4(一个Tab键折合四个空格键宽) ,“Margin width”=80。
(2)勾选“Allow Smart Paste”。
(3)如果要将一个Tab键展开ab width为个空格键,则勾选“Expand Tabs”;不勾选则保留tab键。一般取决于公司的代码对齐规范。
(4)勾选“Show line numbers”,将显示代码行号。
(5)勾选“Show right margin”,将在“Margin width”处显示分割线(line breaks)。
3.Auto Indent
(1)AutoIndent Type:选择Smart
(2)SmartIndent Options:去掉Indent Open Brace和Indent Close Brace
Source Insight使用配置
最新推荐文章于 2022-10-24 17:24:06 发布
一.
Options->DocumentOptions