SI的基礎操作

*1 添加類型支持

1.1 添加makefile支持
Options -> Document Options-> 點擊Document Type的下拉框,然後選擇Make File,在右邊的File Filter中,在原先的.mak後面加上一個分號,即多個不同過濾規則以分號間隔開,再加上*makefile,變成 .mak;*makefile,並且選中Include when adding to projects,這樣,以後再新建工程的時候(當前工程同步下makefile就有了),就可以識別makefile或Makefile了。
1.2 添加*.S支持
Options->Document Options->Doucment Types->選擇x86 Assemble,再在右邊File Filter裏輸入*.S。這樣以後再new一個工程,在添加文件時,就可以把文件夾中的*.S添加進去了。
參考文章:http://www.cnblogs.com/myblesh/articles/2452030.html*
1.3 添加.tcl文件
1.3.1 下載tcl語言軟件包
下載地址: http://www.sourceinsight.com/public/languages/TCL.CLF,進入這個網站後,點擊“Languages” –>下載“TCL.CLF”並保存。
1.3.2 在SourceInsight選擇菜單“Preferences”–>”Languages”選擇“import” –> 選擇TCL語言軟件包“TCL.CLF”
1.3.3 在“Language”內選擇“TCL” –> 雙擊“Doc Types…”–> “Document Options”–> “Add Type…” –> 輸入“TCL Script File”作爲文件類型名–> 在“File filter”內輸入“*.tcl”–> 在語言欄“Language”選擇 “TCL”–> 選擇”Include when adding to projects” –>“Close”.
參考文章:http://blog.sina.com.cn/s/blog_72eb2e9a0100timn.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章