如何在 Visual Studio 2017 中一次编辑多行 [英] How to Edit multiple lines in Visual studio 2017 at once

查看:82
本文介绍了如何在 Visual Studio 2017 中一次编辑多行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 如何关注 Youtube 上的一系列视频使用引导程序开发仪表板.该系列中的开发人员使用 Sublime Text 编辑器.

I'm following a series of videos on Youtube on how to develop a dashboard using bootstrap. The developer in that series uses the Sublime Text editor.

我注意到有时他会单击多个位置(一个接一个)然后开始输入,而他输入的任何内容都会出现在所有这些位置上.我认为这样可以节省很多时间.

I've noticed that sometimes he clicks on multiple places (one after another) then start typing, and whatever he's typing appears on all these places. I think that saves a lot of time.

在 VS 和 SSMS 中,可以按 ALT 然后选择要修改的矩形.但是这个不同,你可以随机选择几个地方,然后开始输入.

In VS and SSMS, one can press ALT then select a rectangle that will be modified. But this one is different as you can just select randomly several places, then start typing.

我们在 Visual Studio 2017 中是否具有相同的功能?

Do we have the same functionality in Visual Studio 2017?

推荐答案

您可以在左键单击时使用 Shift+Alt,但这只适用于多行选择

You can use Shift+Alt while left clicking, but that will only be good for multiple lines selection

这篇关于如何在 Visual Studio 2017 中一次编辑多行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆