Click here to Skip to main content
15,898,995 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is the shortcut key(s) on how to Turn on/off Line Numbers in C#
Posted

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
 
Share this answer
 
v2
Comments
Gishisoft 14-Jul-13 23:52pm    
Alright Reserved!
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900