当前位置:网站首页>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 .
边栏推荐
- 阿里云技术专家邓青琳:云上跨可用区容灾和异地多活最佳实践
- LeetCode_ String_ Medium_ 151. Reverse the words in the string
- Spark 参数配置的几种方法
- "How to use" observer mode
- Realsense ROS installation configuration introduction and problem solving
- 河源市区推出消防安全主题奶茶 助推夏季火灾防控
- "Ask every day" briefly talk about JMM / talk about your understanding of JMM
- sql to linq 之存储过程偏
- D2. picking carrots (hard version) (one question per day)
- Log4j2 basic configuration
猜你喜欢

45padding won't open the box

变分(Calculus of variations)的概念及运算规则

41 图片背景综合-五彩导航图

Melody + realsense d435i configuration and error resolution

SQL优化的一些建议,希望可以帮到和我一样被SQL折磨的你

Sudo rosdep init error ROS installation problem solution

The concept and operation rules of calculus of variations

Gameframework making games (I)

L1和L2正则化
![[Nacos] what does nacosclient do during service registration](/img/76/3c2e8f9ba19e36d9581f34fda65923.png)
[Nacos] what does nacosclient do during service registration
随机推荐
41 picture background synthesis - colorful navigation map
44 Sina navigation, Xiaomi sidebar exercise
Leetcode-198- house raiding
Number of high-quality number pairs [bit operation characteristics + abstract ability evaluation + grouping fast statistics]
gson与fastjson
Qt connect 中, SIGNAL,SLOT 与 lambda 对比
Client error: invalid param endpoint is blank
安装EntityFramework方法
解决asp.net上传文件时文件太大导致的错误
When using jetty to run items, an error is reported: form too large or form too many keys
Awk from getting started to digging in (20) awk parsing command line parameters
06、类神经网络
Yes, UDP protocol can also be used to request DNS server
Quickly set up dobbo demo
SQL优化的一些建议,希望可以帮到和我一样被SQL折磨的你
oracle_12505错误解决方法
"Ask every day" reentrantlock locks and unlocks
SSH服务器拒绝了密码
Gameframework making games (I)
51 single chip microcomputer learning notes (1)