The drop-down list of events in VISUAL STUDIO did not appear - visual-studio

In my visual studio the dropdown menu of events does not appear, I add an image to show what should go:
How I can enable this menu, appears to me again?
Thanks.

You can show it again by going to the Tools menu -> Option then in Text Editor -> (You language) -> General check the "Navigation Bar" checkbox:

Related

Visual Studio Solution Explorer, selected file changes when I click into Main Coding View [duplicate]

In my Visual Studio 2012 Solution Explorer, when I single click a filename it opens it. This was different from Visual Studio 2010 (required a double click). Is there a way to make double-click the 'view file' command?
This is called the Preview Tab feature. To change that behavior, go to:
Tools -> Options -> Environment -> Tabs and Windows
Then look for the "Preview Tab" section, and uncheck the options therein:
Option 1: Using icon in Solution Explorer
You can enable or disable the feature in Solution Explorer using the "Preview Selected Items" button.
The icon is a Tab aligned to the right.
Option 2: Using the Options window
You can enable or disable the feature by going into Tools > Options and then Environment > Tabs and Windows.
The Single-click opens files in the preview tab text mentioned in rubber boots' answer is missing in VS 2015. Mysteriously, a search for "single click" still brings up the Environment > Tabs and Windows option.
So for VS2015 and VS2017, either click the button in Vinicius's answer, or uncheck the Preview selected files in Solution Explorer box shown in the screenshot below.
In Visual studio 12/13, easiest way is to type "single click" in quick search and than select Tabs and Windows.
And in Tabs and Windows dialogue ,uncheck "Preview selected files in solutions explorer"
Shortcut Ctrl+Alt+Home.
If you press that in a document that was just opened, it will be opened permanently.
Item -> right click -> Open With -> Source Code (Text) Editor -> press Set as Default button
It's no longer there in VS2019. You enable/disable it through "preview selected Items" in Solution Explorer.

Hide Visual Studio toolbars (without fullscreen)

the previous answers to this question are about going fullscreen or the navigation bar, but I want all toolbars removed without fullscreen. Isn't there a simple way to do this? (Visual Studio Express 2015)
Ok so I found the (embarrassingly simple) answer:
View -> Toolbars
Deselect all toolbars.
To also hide the navigation bar go to Tools -> Options -> Text Editor -> All languages

Enable method navigation bar in Visual Studio 2013

In the past in Visual Studio I saw a dropdown that showed in which method my mouse cursor is currently placed in the code editor. This entire dropdown is now no longer visible (editing a .aspx.vb file for example). I can't find anywhere how to enable it again.
I already checked here.
It is the 'Navigation Bar' checkbox in Options -> Text Editor -> All languages -> General.

How to Restore Navigate To Dialog in Visual Studio After Resharper Installation

After installing Resharper 7.1.2 for Visual Studio 2010, when I press Ctrl+, I no longer see the Navigate To dialog. Instead a Resharper dialog Recent Files appears. My question is, is there another key binding that I am not aware for the Navigate To dialog or how can I configure Resharper/VS to show the Navigate To dialog upon pressing Ctrl+,. In the Resharper options I have selected Visual Studio for the key bindings since that is what I am accustomed to, but for some reason this one has changed.
It sounds like you will need to remove the ReSharper keybinding and add the Visual Studio one again. Try the following:
From Visual Studio 2010, go to Tools -> Options -> Environment -> Keyboard.
In the textbox below "Show commands containing:" enter "gotorecent".
This should bring up one match and you can see the Ctrl+, shortcut applied:
Click the Remove button. This should remove the keybinding.
In the textbox below "Show commands containing:" enter "edit.navigateto" (or for VS2017 "edit.gotoall").
This should bring up two matches. We are only concerned with the first one so make sure it is selected.
Click the texbox below "Press shortcut keys:" and press Ctrl+,
Click the Assign button.
Click the OK button.
You may have to restart Visual Studio but that should do it.
Edit: Just in case it helps anyone else, in order to track down the command names, I exported the keyboard settings via Tools -> Import/Export settings -> Export selected environment settings -> select only Options -> Environment -> Keyboard.
In the resulting .vssettings file, the Command attribute of each Shortcut element contains the text that should be typed into the "Show commands containing:" textbox.
It should be noted that the command for ReSharper's navigate to dialogue is "Ctrl + T"
In Visual Studio 2017, you need to assign Ctrl+, to Edit.GoToAll (rather than Edit.NavigateTo).
UPDATED:
Go to the Options->Environment->Keyboard, Make sure that (Default) is chosen in the top dropdown, type in Edit.GoToAll in the "Show comands..." textbox. Remove the existing shortcut. Type Ctrl+, in the "Press Shortcut Keys:" textbox. Click assign.
#Malice explained really well, but here is just one more tip:
When you are in the Keyboard Options menu, you don't need to export all commands in order to see which command corresponds to a particular shortcut, you can click on the "Press shortcut keys" text box and type your keyword to see what it is assigned to.
So you could:
go to the Keyboard Options menu,
type Ctrl+, to see what it is assigned to,
unassign it,
then type Ctrl+T to see what that "Navigate To" dialog is called within VS
reassign that function to Ctrl+,

How to stop Visual Studio from opening a file on single click?

In my Visual Studio 2012 Solution Explorer, when I single click a filename it opens it. This was different from Visual Studio 2010 (required a double click). Is there a way to make double-click the 'view file' command?
This is called the Preview Tab feature. To change that behavior, go to:
Tools -> Options -> Environment -> Tabs and Windows
Then look for the "Preview Tab" section, and uncheck the options therein:
Option 1: Using icon in Solution Explorer
You can enable or disable the feature in Solution Explorer using the "Preview Selected Items" button.
The icon is a Tab aligned to the right.
Option 2: Using the Options window
You can enable or disable the feature by going into Tools > Options and then Environment > Tabs and Windows.
The Single-click opens files in the preview tab text mentioned in rubber boots' answer is missing in VS 2015. Mysteriously, a search for "single click" still brings up the Environment > Tabs and Windows option.
So for VS2015 and VS2017, either click the button in Vinicius's answer, or uncheck the Preview selected files in Solution Explorer box shown in the screenshot below.
In Visual studio 12/13, easiest way is to type "single click" in quick search and than select Tabs and Windows.
And in Tabs and Windows dialogue ,uncheck "Preview selected files in solutions explorer"
Shortcut Ctrl+Alt+Home.
If you press that in a document that was just opened, it will be opened permanently.
Item -> right click -> Open With -> Source Code (Text) Editor -> press Set as Default button
It's no longer there in VS2019. You enable/disable it through "preview selected Items" in Solution Explorer.

Resources