当前位置:网站首页>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 .
边栏推荐
- Awk from getting started to digging in (20) awk parsing command line parameters
- [nuxt 3] (XI) transmission & module
- Detailed explanation of lio-sam operation process and code
- Yarn: the file yarn.ps1 cannot be loaded because running scripts is prohibited on this system.
- System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏
- 解决asp.net上传文件时文件太大导致的错误
- Is it safe for Guolian securities to buy shares and open an account?
- AS查看依赖关系和排除依赖关系的办法
- Wechat official account official environment online deployment, third-party public platform access
- Implement a simple restful API server
猜你喜欢

27 选择器的分类

【MySQL系列】-索引知多少

AS查看依赖关系和排除依赖关系的办法

Add the jar package under lib directory to the project in idea

微信公众号正式环境上线部署,第三方公众平台接入

43 盒子模型

Realsense ROS installation configuration introduction and problem solving

Melody + realsense d435i configuration and error resolution

流程控制(上)

Gameframework making games (II) making UI interface
随机推荐
二维数组赋初值你会几种方法?
Content type corresponding to office file
Kibana operation es
Quickly set up dobbo demo
PHP implements non blocking (concurrent) request mode through native curl
直播课堂系统05-后台管理系统
MySQL sort
处理ORACLE死锁
27 classification of selectors
Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud
[C题目]力扣206. 反转链表
"Ask every day" what is volatile
As methods for viewing and excluding dependencies
41 picture background synthesis - colorful navigation map
IP address classification, which determines whether a network segment is a subnet supernetwork
Examples of bio, NiO, AIO
CMake指定OpenCV版本
MySQL 45 talks about | 06 global locks and table locks: Why are there so many obstacles to adding a field to a table?
35 quick format code
Wechat official account official environment online deployment, third-party public platform access