Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Showing or hide line numbers at SSMS with shortcut?

Is it possible to use a shortcut for the showing or hide the line numbers at the SSMS ?

I know its possible to go to the settings and to do it. But is there really no shortcuts for it? If I see it right, I cant even sets shortcut keys keyboards setting for it.

Its would be very usefull, if available.

See here

like image 688
lottikkk Avatar asked Aug 31 '25 10:08

lottikkk


1 Answers

There is currently no such shortcut, but you could probably create a macro to accomplish it or use an extension that allows you to define shortcuts. The only native way to show/hide the line numbers is to do the following:

  1. Click on Tools > Options
  2. Click on Text Editor > Transact SQL
  3. Check the "Line Numbers" box

Click on Tools > Options

Go to Text Editor > Transact SQL > Check the "Line Numbers" box

Line numbers appear in the sidebar

like image 163
rinku Choudhary Avatar answered Sep 04 '25 12:09

rinku Choudhary