2

Is there an extension or a keyboard shortcut like MoreUnit for Eclipse in Visual Studio that would allow me to quick switch between a source file and a unit testing file.

Also in Eclipse, I used to create a file (test or source) and then hit CTRL+J and it would suggest me to create to opposite file and then allow me to switch between them with CTRL+J.

4

2 回答 2

3

我不知道 Eclipse 是否有这样的扩展。通常我使用Ctrl+Tab在当前文件和最后一个文件之间切换。当然,这仅在我先打开测试文件然后打开实现时才有效,但我通常那样工作。

我想这可能是一个新扩展的想法。

于 2013-05-14T13:37:08.830 回答
0

在 Visual Studio 中安装 TestDriven.NET,您就可以使用这个很棒的快捷键Alt+G来做到这一点。此外,编辑器的上下文菜单中还会显示一个等效选项。

您可以在http://www.testdriven.net/download.aspxhttp://www.heise.de/download/testdriven.net-1149771.html上下载 TestDriven.Net 。

于 2014-01-08T15:40:32.010 回答