Source Insight - Creating a New Project - 新建工程

Source Insight - Creating a New Project - 新建工程

1. Project -> New Project

在这里插入图片描述

C:\Users\cheng\Documents\Source Insight\Projects\Untitled Project
New project name 请使用英文。
在这里插入图片描述

D:\si_workspace\darknet
在这里插入图片描述

在这里插入图片描述

  • New project name

Enter the name of your project. Source Insight will create several files that start with this name and have dif­ferent extensions.
输入您的项目名称。Source Insight 将创建几个以该名称开头且具有不同扩展名的文件。

  • Where do you want to store the project data files?

Enter the full path to the folder where you want to save the project data files that are created by Source Insight. They can either be in the same folder as your source files, or in a separate location. By default, they are created under your Source Insight user directory in the Projects folder.
输入要保存由 Source Insight 创建的项目数据文件的文件夹的完整路径。 它们可以与源文件位于同一文件夹中,也可以位於单独的位置。 默认情况下,它们是在 Projects 文件夹中的 Source Insight 用户目录下创建的。

We recommend that your data directory be on a local, non-networked drive for reliability and best perfor­mance.
我们建议您将数据目录放在本地,非网络驱动器上,以确保可靠性和最佳性能。

2. New Project Settings

在这里插入图片描述

3. Add and Remove Project Files

取消选择 Show only know document types
Add All
OK

Add - 基本的文件添加操作。
Add All - 添加整个工程所有的源文件 (选择递归添加子目录中的源文件)。
Add Tree - 添加指定的文件夹及其子目录下的源代码文件。
Remove Tree - 与 Add Tree 的功能相反。
Include top level sub-directories - 添加子目录中的文件。
Recursively add lower sub-directoris - 递归的加入底层的子目录。
在这里插入图片描述

确定
在这里插入图片描述

4. Darknet Project - Source Insight

在这里插入图片描述

5. Source Insight 工程与源代码工程同步

Project -> Synchronize Files -> Start
在这里插入图片描述

Force all files to be re-parsed
在这里插入图片描述

在这里插入图片描述
Source Insight 工程与源代码工程同步,在 Source Insight 工程中的修改,也是对源代码工程的修改。

6. Options -> Document Options -> C Source File

File filter: *.c;*.h;*.s;*.S
在这里插入图片描述

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