Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the command for promoting a peek preview to document?

When I'm in peek preview, I sometimes wish to promote it to document. It's done by mousing on the icon as shown below.

enter image description here

On occasion (most of the occasion, in fact), my mouse is tired and wants me to use my keyboard for such promotion to document. According to the wisdom on the net, it's achieved by CtrlAltHome.

In my VS, there's nothing assigned to the key combination, so I'm guessing someone snack in and changed that without my permission. However, to restore it, I need to know what the command in Tools | Options | Environment |Keyboard is called.

I can't find anything appropriate there (I've tried different variations of the MS's description of the command: "Promote the Peek Definition window to a regular document tab").

So, what is it called? If it differs between versions, I'd like to know the name for each, where the peeking is avaialble (started in VS13, if I'm not mistaken).

Given the meaningful effort I've put into composing the image, every and each can clearly see that it's a crucial and important matter, given the circumstances.

like image 795
Konrad Viltersten Avatar asked Aug 27 '15 06:08

Konrad Viltersten


2 Answers

In Visual Studio 2013 the command name is Window.KeepTabOpen.

like image 161
Sergey Vlasov Avatar answered Sep 18 '22 13:09

Sergey Vlasov


I had the same issue but on reverse. I hate the Peek Definition and didn't know how to get rid of it. Well, I found it. In Visual Studio 2017 you need to go to Tools -> Options -> Productivity Power Tools -> General -> Control click options. There you need to check/uncheck the Control click shows definitions in Peek enter image description here

Hope it helps!

PS. In order to see Productivity Power Tools you need to get it first using NuGet

like image 26
Gabriel Marius Popescu Avatar answered Sep 17 '22 13:09

Gabriel Marius Popescu