简体   繁体   English

重命名Visual Studio 2017中所有选定的内容

[英]Rename all selected in Visual Studio 2017

Let's say we have declared a shortcut in the using section of visual studio c# file: 假设我们已经在Visual Studio c#文件的using部分中声明了一个快捷方式:

using P = Project.Person;

When I double click the P it will select all appearances in the file. 当我双击P时,它将选择文件中的所有外观。 How do I change all of them at a time? 如何一次更改所有这些? Ctrl + . Ctrl +。 does not work, rename all also behaves strangely. 不起作用,重命名也表现异常。 Thanks. 谢谢。

选择您的P然后Ctrl+R Ctrl+R并将其全部重命名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM