开发者

Using directives in new files

开发者 https://www.devze.com 2023-01-12 14:49 出处:网络
Is it possible to have additional \"using\" directives automatically added to my new aspx.cs files so that I do not have to keep typing the same ones over and over again (i.e. custom namespac开发者_如

Is it possible to have additional "using" directives automatically added to my new aspx.cs files so that I do not have to keep typing the same ones over and over again (i.e. custom namespac开发者_如何学Ce using directives)


You can edit the files that are used by the template. Better yet, create your own. File + Export Template.


You don't have to type them in. When writing the code, type in the name of the class (without the namespace). Then hit CTRL+.. That will open up the resolve type intellisense helper. It will add the using statement to the top of the file. No scrolling necessary.

0

精彩评论

暂无评论...
验证码 换一张
取 消