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
在這裏插入圖片描述

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