1. 将.cc 文件添加到Source Insight中: 1) “Options” --> “Document Options” 2) “Document Options” : "Document Type" 列表中 选择 "C++ Source File" 选 项 --> Add “;*.cc” in “File filter” --> “Close” 2. 将.tcl文件添加到Source Insight中: 1) Download tcl language file from: http://www./public/languages/TCL.CLF 2) “Options” Menu --> “Preferences” --> “Languages” 3) In “Languages” Tab: Click “import” --> Select “TCL.CLF” --> Select “TCL” in “Language” --> Click “Doc Types?” Button in “Languages” --> “Document Options” 4) In “Document Options” Dialog: Click “Add Type?” --> Type “tcl” as Document Type Name --> Type “*.tcl” in “File filter” --> Select “TCL” in “Language” Droplist --> Select "Include when adding to projects" Checkbox --> Click “Close” Button 3. 导入 NS2 源代码 1) Click "Project" Menu --> New Project --> Type “NS2” as the project name --> Click “OK” Button --> Click “OK” Button in “New Project Setting” Dialog --> “Add and Remove Project Files” Dialog 2) In “Add and Remove Project Files” Dialog: Select the NS2 source code file folder --> Click “Add All” Button --> Select “Recursively add lower sub- directories” --> Click “OK” Button --> Click “OK” for importing source code --> Click “Close” Button in “Add and Remove Project Files” Dialog
|
|