Set Go to line number keyboard shortcut in visual studio

This took me longer than it should have to figure out so here you go.

To set a short cut to go to a line number in a document. I am used to pressing Ctrl + G.
If this doesn’t work your keyboard shortcuts might be set to a different setting.

Go to Tools -> Options -> Environment -> Keyboard

Type “edit.goto  in the “Show commands containing box”

Then select “press shortcut keys” and do the shortcut you would like assign eg. Ctrl + G.
Then press “Assign”

You are done.

Tags: , , , , , , ,

No comments yet.

Post Comment