Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Go to Definition" always in new tab in VSCode

I installed VSCode on MAC BigSur. Whenever I click on "Go to Definition" it should open in a new tab. How to achieve this?

Currently, only if the definition is present in another file, the definition opens in a new tab. Otherwise if present in the same file it scrolls to the definition in the same file which is not desired. In either case, function definitions should open in a new tab.

like image 410
Mohit Lamba Avatar asked Oct 29 '25 17:10

Mohit Lamba


1 Answers

As written in the official documentation, you can open the definition to the side with Ctrl+Alt+Click.

like image 92
giusepped Avatar answered Oct 31 '25 11:10

giusepped