在C#中打开行号的快捷键 [英] Shortcut Key(s) to Turn on Line Numbers in C#

查看:190
本文介绍了在C#中打开行号的快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关如何在C#中打开/关闭行号的快捷键是什么?

What is the shortcut key(s) on how to Turn on/off Line Numbers in C#

推荐答案

有一个宏可以打开行号,并且宏以关闭行号.

这些宏称为"Samples.Utilities.TurnOnLineNumbers"和"Samples.Utilities.TurnOffLineNumbers"

要将宏分配给快捷键.
请访问此网站: http://blogs.msdn.com/b/zainnab/archive/2010/08/07/create-a-shortcut-key-for-a-macro-vstiptool0066.aspx
There is a macro to turn on Line numbers, and a macro to turn off line numbers.

The macros are called "Samples.Utilities.TurnOnLineNumbers" and "Samples.Utilities.TurnOffLineNumbers"

To assign the macros to a shortcut key.
See this site: http://blogs.msdn.com/b/zainnab/archive/2010/08/07/create-a-shortcut-key-for-a-macro-vstiptool0066.aspx




您的窗口顶部的按钮为键盘",您可以使用此按钮进行分配

Hi,
Your window has got the button on the top as "keyboard" , you can assign with this else

Right click a toolbar and select "Customize"
Select the "Commands" tab
Decide where you want to add this (Menu bar, Toolbar, context menu)
Click "Add Command..."
Under the "Macros" category there are:
"Macros.Samples.Utilties.TurnOffLineNumbers"
"Macros.Samples.Utilties.TurnOnLineNumbers"




希望对您有所帮助.




Hope it helps.


这篇关于在C#中打开行号的快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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