Visual Studio 中 Eclipse 的 ALT+UP/DOWN(移动线)的等价物是什么? [英] What's the equivalent for eclipse's ALT+UP/DOWN (move line) in Visual Studio?

查看:14
本文介绍了Visual Studio 中 Eclipse 的 ALT+UP/DOWN(移动线)的等价物是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Eclipse 中,选择一条线并按 Alt + / 将上下移动该线,快捷方式以避免复制和粘贴.Visual Studio 中是否有等价物?

In Eclipse, selecting a line and pressing Alt + / will move the line up and down, a quick way to avoid copy&paste. Is there an equivalent in Visual Studio?

推荐答案

在 Visual Studio 2013 及更高版本中,此功能已内置.ALT + UP/DOWN 将向上或向下移动一行.

In Visual Studio 2013 and later, this functionality is built in. ALT + UP/DOWN will move a line up or down.

如果您在 VS2012 中需要此功能(也适用于 VS2010),请查看 MoveLine Visual Studio 扩展生产力工具套件.

If you need this functionality in VS2012 (works with VS2010 too), take a look at the MoveLine Visual Studio Extension or the Productivity Power Tools suite.

这篇关于Visual Studio 中 Eclipse 的 ALT+UP/DOWN(移动线)的等价物是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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