在SourceInsight中添加【.cc】和【.tcl】类型文件
2015-01-23 10:36
351 查看
由于ns2 的源代码主要是用.cc和.tcl编写的,而SourceInsight默认并不支持【.cc】和【.tcl】文件,下面介绍如何在SourceInsight中添加【.cc】和【.tcl】类型文件。
(1)添加.cc文件
在SourceInsight选择【Options】 --> 【Document Options】--> 【Document Type】 内选择【C++ Source File】--> 在【File filter】添加【;*.cc】--> 点击【Close】。如下图示。
![](https://oscdn.geek-share.com/Uploads/Images/Content/201908/15/ec9e0200c04c7c151ee73fd10d65fdac)
(2)添加.tcl文件
1. 下载tcl语言软件包,下载地址: http://www.sourceinsight.com/public/languages/TCL.CLF。
2. 在SourceInsight选择菜单【Options】 --> 【Preferences】--> 【Languages】--> 选择【Import】 --> 选择TCL语言软件包“TCL.CLF” -->在【Language】内选择【TCL】 --> 点击【Doc Types…】--> 【Document Options】--> 【Add Type…】 --> 输入【TCL Script File】作为文件类型名-->
在“File filter”内输入【*.tcl】--> 【Language】下拉框中选择 【TCL】--> 选择【Include when adding to projects】 -->【Close】。如下图示。
注:下图中步骤【2】与【3】之间选择语言包的过程未截图。
![](https://oscdn.geek-share.com/Uploads/Images/Content/201908/15/44ff0eb7354d8df6392440b6e12e6762)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201908/15/32a8afc87466d305999347d4f5f1a8e7)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201908/15/acee8626607453528b8a274ad4efa03b)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201908/15/933d1d0e2480b0d45ef45f3af3ff6f4f)
参考:《在SourceInsight添加.cc文件和.tcl文件》, http://blog.sina.com.cn/s/blog_72eb2e9a0100timn.html
(1)添加.cc文件
在SourceInsight选择【Options】 --> 【Document Options】--> 【Document Type】 内选择【C++ Source File】--> 在【File filter】添加【;*.cc】--> 点击【Close】。如下图示。
(2)添加.tcl文件
1. 下载tcl语言软件包,下载地址: http://www.sourceinsight.com/public/languages/TCL.CLF。
2. 在SourceInsight选择菜单【Options】 --> 【Preferences】--> 【Languages】--> 选择【Import】 --> 选择TCL语言软件包“TCL.CLF” -->在【Language】内选择【TCL】 --> 点击【Doc Types…】--> 【Document Options】--> 【Add Type…】 --> 输入【TCL Script File】作为文件类型名-->
在“File filter”内输入【*.tcl】--> 【Language】下拉框中选择 【TCL】--> 选择【Include when adding to projects】 -->【Close】。如下图示。
注:下图中步骤【2】与【3】之间选择语言包的过程未截图。
参考:《在SourceInsight添加.cc文件和.tcl文件》, http://blog.sina.com.cn/s/blog_72eb2e9a0100timn.html
相关文章推荐
- sourceinsight设置.cc类型的文件
- sourceinsight 添加新的文件类型
- vim、gvim添加不识别的文件类型
- 利用JDIC添加文件类型关联
- 【转载】如何给IIS添加能访问的文件类型
- 给source insight添加.cc的C++文件后缀识别
- 为sourceinsight添加makefile和kconfig文件
- 在tomcat中添加类型如xls的文件以支持直接在url中打开
- 为sourceinsight添加makefile和kconfig文件
- souseinsight添加文件类型
- 给zend studio添加.ctp, .tpl等可以识别的php文件类型
- 给source insight添加.cc的C++文件后缀识别
- 在UltraEdit中添加文件着色类型
- ASP.NET FCKeditor 上传修改,添加对文件的类型以及大小的限制
- WordPress 2添加自定义文件上传类型(允许上传rar文件方法)
- Source Insight中添加自定义的源文件类型(如*.hh)
- FCKeditor 上传修改,添加对文件的类型以及大小的限制(ASP.NET C#)
- FCKeditor 上传修改,添加对文件的类型以及大小的限制(ASP.NET C#)
- ASP.NET : 如何为网站添加自定义的文件类型
- 为sourceinsight添加makefile、kconfig、*.S文件支持