0

我使用UML规划了我的项目。所以,当实际编写代码时,我会花很多时间添加一些类文件。我在这个过程中变得相当快,但我觉得它可以得到改进(并且VS 2017可能有一些工具可以帮助)。Visual Studio 2017 Bulk Bulk加法器

现在,我做的方式是:

1- Ctrl+Shift+A -> add new item 
2- (it's usually already specified the template I'd like to use, so I don't have to search for it. 
3- Shift+Tab x3 -> to move the selection to the name of the class 
4- Type the name 
5- Enter 

虽然这是相当快的,我想知道是否有某种Visual Studio中的工具,可以让你增添不少快速连续的课程。较好的是:

(asks you for the first class name) 
1- type the class name 
2- Enter 
(asks you for the second class name.. repeat) 

回答

0

你可以尝试用Add New File extension,它可以使用Shift + F2快捷键来快速添加文件。

而且你也无法每次选择文件类型。添加文件时,只需在文件名后面键入文件后缀。