Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio vb.net go to line short key (Ctrl + G) is not working?

Tags:

I use to work in C# and use Ctrl + G for go to line but it is not working in vb.net. Can you please. Edit menu > Go to even not show any short key. If I press Ctrl + G it opens immidiate window. Is there any thing I need to do in order to enable go to short key or is it different when working with vb.net ? Please guide me.

Note:I ma working in Visual Studio 2010.

Thanks

like image 496
user576510 Avatar asked Mar 18 '13 22:03

user576510


People also ask

How do I enable shortcut keys in Visual Studio?

On the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard. Optional: Filter the list of commands by entering all or part of the name of the command, without spaces, in the Show commands containing box. In the list, choose the command to which you want to assign a keyboard shortcut.

How do you go to a specific line in Visual Studio?

The Go To Line dialog box lets you move to a specific line in the active document. To access this dialog box, open a document for editing, and then select Edit > Go To > Go To Line or press Ctrl+G.

What is the output of Ctrl G?

Ctrl+G in most text editors and IDEs In most text editors and IDEs, Ctrl + G shortcut is used to go to a specific line in the file. For example, you could press Ctrl + G to open the Go To Line window, type 100, and press Enter to move the cursor to the 100th line.

How do I select a line using keyboard in Visual Studio?

Shift + End = Select the entire line from start to end. Shift + Home = Select the entire line from end to start.


1 Answers

Make sure that ctrl+g is not being used anywhere else. If it is, delete it from those areas:

  1. First type in your shortcut
  2. If it appears in the "currently used by"
  3. then type it into "Show commands containing"
  4. Remove it from "Show commands containing"

enter image description here

like image 141
Ian R. O'Brien Avatar answered Oct 27 '22 00:10

Ian R. O'Brien