gpt4 book ai didi

visual-studio - 在不更改 View 的情况下转到新选项卡中的定义

转载 作者:行者123 更新时间:2023-12-04 17:30:30 25 4
gpt4 key购买 nike

当我在 Visual Studio 上执行命令 + 单击或右键单击并“转到定义”时,包含定义的文件会在新选项卡中打开,我会自动看到该文件。因此,如果包含定义的文件是另一个文件,我会更改 View 。

当我执行此命令以保持在同一个文件上同时仍在另一个选项卡中打开另一个文件时,是否有可能?

谢谢你的回答。

最佳答案

取自:
https://code.visualstudio.com/docs/editor/editingevolved#_go-to-definition

If a language supports it, you can go to the definition of a symbol by pressing F12.
If you press Ctrl and hover over a symbol, a preview of the declaration will appear.
Tip: You can jump to the definition with Ctrl+Click or open the definition to the side >with Ctrl+Alt+Click.

关于visual-studio - 在不更改 View 的情况下转到新选项卡中的定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50879459/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com