SourceInsight如何消除函數體花括號后面跟着的兩個問號?
可以設置:
Options -> Preferences -> Syntax Decorations
最后的 Auto Annotations 第二個勾取消掉就可以了。
http://www.cnblogs.com/bluestorm/archive/2012/10/28/2743792.html
顯示行號;
“View”-“Line numbers”。即可。此時出現行號。效果如下圖所
設置字體:
的Options一欄,在下拉列表點擊Document Options ,然后選擇screen fonts.
讓source insight支持lua:
下載Lua語言的配置文件。
下載地址: http://www.sourceinsight.com/public/languages/Lua.CLF
SourceInsight菜單中,依次選擇:Options > Preferences,然后選擇Languages選項頁。
點擊Import按鈕,選擇Lua.CLF,添加語言支持,在列表中即可看到 Lua 一項。
Perferences對話框中選中Lua一項,然后點擊Doc Types按鈕,打開Document Options對話框來添加Lua文件類型。
Add Type按鈕,文件類型名稱為Lua File,確定后,在Document Options對話框的File filter一欄中輸入*.lua,然后在Document Options對話框中的Parsing下面分別設置Language和Custom Tag Type:Language->Lua,Custom Tag Type->No Custom Parser。
最后直接關閉Document Options對話框,OK/確定按鈕,退出Perferences對話框。
SourceInsight對Lua語言的支持即設置完畢。
.括號配對高亮:
“在前括號左側,后括號左側” 雙擊鼠標左鍵,可以選定匹配括號和其中內容(<>,(),L{R},[]之間)
跳轉到定義:
ctrl+鼠標左鍵點擊
讓source insight支持多標簽
安裝TabSiPlus插件 https://github.com/inte2000/TabSiPlus
這個軟件不需要安裝,將tabsiplus.zip解壓縮到任意文件夾中,然后運行 TabSiHost.exe 即可 。這個其實就是個外掛。
或者:http://www.cnblogs.com/Red_angelX/archive/2013/01/23/2873603.html
Source Insight跳轉到函數定義
有時函數聲明寫在.h文件,函數定義寫在.cpp文件,我們想點擊聲明時自動跳到定義,怎么辦?
做法:
同步一下就可以,看下面的圖示
點擊菜單[project]->[synchrozie files]
,勾選Add new files automaticcly , force all the files to be re-paresd.
點擊ok后,就可以跳轉到定義了,參考:http://bbs.csdn.net/topics/391022477
http://www.cr173.com/html/49192_1.html
http://blog.csdn.net/cemer815/article/details/7338505