How to disable peek on go to definition

Check the Visual Studio options:

  • Disable “Control click shows definitions in Peek” option in:
    OptionsProductivity Power ToolsOther Extentions.
  • Disable “Allow new files to be opened in preview tab” in: OptionsEnvironmentTabs and Windows.
  • Ensure you have F12 key assigned to Edit.GoToDefinition per Global
    scope in: OptionsEnvironmentKeyboard.

UPDATE: It works for Visual Studio 2017 as well.

Leave a Comment