1. 程式人生 > >VS2019(Windows+Mac)編輯文件模板

VS2019(Windows+Mac)編輯文件模板

tee mod temp without 找到 script bsp ide otn

macOS

找到設置中的如圖條目

技術分享圖片

設置如下內容:
============================================================
Copyright (C) ${Year} WSE All Rights Reserved.
Organization: Wall Steet English
FileName:    ${FileNameWithoutExtension}
Version:      $V1.0.0.0
Create By:    ${AuthorName}
Email:        [email protected]
Create Time:  ${Date} ${Time}

Description:

============================================================ Modify Mark Modify Time: ${Date} ${Time} Modify By: ${AuthorName} Version: $V1.0.0.0 Description: ============================================================

Windows

打開如下文件夾路徑(C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\ItemTemplates\CSharp\Code\1033\Class)

技術分享圖片

設置內容如下

/********************************************************************************
 * Copyright (C) $year$ WSE All Rights Reserved.
 * CLR Version:  $clrversion$
 * Machine Name: $machinename$
 * Organization: Wall Steet English
 * NameSpace:    $rootnamespace$
 * FileName:     $safeitemname$
 * Version:      $V1.0.0.0
 * GUID:         $guid10$
 * User Domain:  $userdomain$
 * Create By:    $username$
 * Email:        [email protected]
 * Create Time:  $time$
 
 * Description:
 *
 *============================================================
 * Modify Mark
 * Modify Time:  $time$
 * Modify By:    $username$
 * Version:      $V1.0.0.0
 * Description:
 *
 
 *******************************************************************************
*/

VS2019(Windows+Mac)編輯文件模板