在Visual Studio中选择多个? [英] Multiple select in Visual Studio?
本文介绍了在Visual Studio中选择多个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种方法可以在VS中选择多个不相邻(完全分开)的文本?我可以在MS Word中通过按住Ctrl按钮分别选择文本来做到这一点,就像这样:
Is there a way to select multiple non-adjoining (totally separate) texts in VS? I can do it in MS Word by selecting the texts separately by holding the Ctrl button, like this:
我的版本是11.
编辑:我不是在说Alt+Select
块选择.我也很想看看Notepad ++中是否存在一种技术.
I'm not talking about Alt+Select
block selection. Also I would love to see if there exist a technique in Notepad++.
推荐答案
从版本2017 Update 8开始,Visual Studio本机支持多光标编辑.这是文档:
Multi cursor edit is natively supported in Visual Studio starting from version 2017 Update 8. Here is the documentation:
这是可用命令的屏幕截图:
and here is a screenshot of available command:
这篇关于在Visual Studio中选择多个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文