当前位置:网站首页>Automatically set the template for VS2010 and add header comments
Automatically set the template for VS2010 and add header comments
2022-07-25 15:03:00 【Kimizhou_ blog】
A lot of programmers Will need header comments .. For example, who is the author ...
First you find your own VS2010 The installation directory


Finally open Class.cs Edit with comments ...

There are different kinds , Respectively Class.zip、Interface.zip、Form.zip Etc ( We are based on Class.zip For example , That is, based on classes )
Besides :
here $var$ Are system variables , Template parameters are case sensitive , You have to be careful . The available parameters provided by the system are as follows :
Parameters explain
clrversion
Common language runtime (CLR) The current version of .
GUID [1-10]
Used to replace the project in the project file GUID Of GUID. You can specify at most 10 The only one GUID( for example ,guid1)).
itemname
The name provided by the user in the Add New Item dialog box .
machinename
Current computer name ( for example ,Computer01).
projectname
The name provided by the user in the New Project dialog box .
registeredorganization
HKLM/Software/Microsoft/Windows NT/CurrentVersion/RegisteredOrganization Registry key value in .
rootnamespace
The root namespace of the current project . This parameter is used to replace the namespace in the item being added to the project .
safeitemname
The user is in “ Add a new item ” The name provided in the dialog , All unsafe characters and spaces have been removed from the name .
safeprojectname
The user is in “ New projects ” The name provided in the dialog , All unsafe characters and spaces have been removed from the name .
time
With DD/MM/YYYY 00:00:00 The current time represented by the format .
userdomain
Current user domain .
username
Current user name .
year
With YYYY The current year represented by the format .
边栏推荐
- @Scheduled source code analysis
- LeetCode_字符串_中等_151.颠倒字符串中的单词
- 【JS高级】js之正则相关函数以及正则对象_02
- gson与fastjson
- "How to use" agent mode
- How to use the random number function of JMeter
- LeetCode-198-打家劫舍
- easygui使用的语法总结
- 32 use of chrome debugging tools
- Yarn: the file yarn.ps1 cannot be loaded because running scripts is prohibited on this system.
猜你喜欢
随机推荐
Unable to start web server when Nacos starts
冈萨雷斯 数字图像处理 第一章绪论
Live classroom system 05 background management system
Go语言创始人从Google离职
河源市区推出消防安全主题奶茶 助推夏季火灾防控
MySQL sort
Spark 参数配置的几种方法
Go language founder leaves Google
How to use the random number function of JMeter
"Ask every day" reentrantlock locks and unlocks
D2. picking carrots (hard version) (one question per day)
C#,C/S升级更新
(original) customize a scrolling recyclerview
06、类神经网络
awk从入门到入土(21)awk脚本调试
32 chrome调试工具的使用
Is it safe for Guolian securities to buy shares and open an account?
L1和L2正则化
"How to use" decorator mode
[C topic] Li Kou 206. reverse the linked list









