简体   繁体   中英

What is VS code Keyboard shortcut to open a peeked file into a tab

When I press f12 on a method there is a peeked editor(default setting for Go to Definition is peek in visual studio code) showing the code. We can open that code into new tab by click on peeked file name. Is there any keyboard shortcut to do it without using mouse ?

Note: What I am looking is quite similar to "Promote the definition window to a regular document tab" in Visual Studio. In Visual Studio after Alt+F12 there will be a Peeked Editor showing definition of symbol. When you press Ctrl+Alt+Home, it would open the file into a new tab.

Just Enter key is the keyboard shortcut to open the peeked editor file into new tab. If Ctrl+Enter pressed it would open a vertically Splited Tab

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM