Visual Studio / ** /注释快捷方式? [英] Visual Studio /**/ comment shortcut?

查看:121
本文介绍了Visual Studio / ** /注释快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何通过快捷方式放置 / ** / 注释。我知道 // 注释的 Ctrl + K + C 快捷方式,但它注释了整行。有时在调试时,我想做一些类似的事情,例如 ref string / * char [] * / lengthValue

I want to know how to put the /**/ comments through shortcut. I know the Ctrl+K+C shortcut for the // comments but it comments the whole line. Sometimes while debugging, I want to do something like "ref string /* char[] */ lengthValue" while trying something out.

我希望能够通过快捷方式注释一行的特定部分(而不是整个行),例如在 string / * char [] * / lengthValue ,即通过快捷方式仅注释喜欢的特定部分

I want to be able to comment a specific part of a line (not the whole line) through a shortcut e.g in "string /* char[] */ lengthValue" i-e comment out only a specific part of a like by shortcut

我正在使用Visual Studio 2013

I am using Visual Studio 2013

请帮助

推荐答案

我认为Visual Studio中没有为此目的使用的快捷键,但是如果您使用 ReSharper 可以使用 Ctrl + < kbd> Shift + /

I think there is no shortcut key for this purpose in Visual Studio but If you use ReSharper you can use Ctrl + Shift + /.

看看 可能有用。

Have a look at this may useful.

这篇关于Visual Studio / ** /注释快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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