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


macOS

找到設置中的如圖條目

設置如下內容:
============================================================
Copyright (C) ${Year} WSE All Rights Reserved.
Organization: Wall Steet English
FileName:    ${FileNameWithoutExtension}
Version:      $V1.0.0.0
Create By:    ${AuthorName}
Email:        jerry.qi@wallstreetenglish.com
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:        jerry.qi@wallstreetenglish.com
 * Create Time:  $time$
 
 * Description:
 *
 *============================================================
 * Modify Mark
 * Modify Time:  $time$
 * Modify By:    $username$
 * Version:      $V1.0.0.0
 * Description:
 *
 
 ********************************************************************************/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM