Visual Studio 2022调用堆栈与搜索窗口文件打开位置调整求助
解决Visual Studio 2022中调用堆栈/搜索窗口打开文件位置的问题
要让双击调用堆栈项或搜索结果时,文件直接在上方主代码窗格打开,按以下步骤修改设置:
- 打开Visual Studio,点击顶部菜单栏的工具 -> 选项
- 在左侧面板展开环境,选择选项卡和窗口
- 在右侧找到**"在工具窗口中打开文档"的下拉选项,将其改为"从不"**
- 点击确定保存设置
修改后,所有从调用堆栈、搜索结果这类工具窗口触发打开的文件,都会直接在主代码窗格的选项卡中打开,无需手动拖拽。
环境信息(供参考)
Microsoft Visual Studio Professional 2022 Version 17.2.8 VisualStudio.17.Release.LTSC.17.2/17.2.8+32901.213 Microsoft .NET Framework Version 4.8.04084 Installed Version: Professional Visual C++ 2022 00476-80000-00000-AA770 Microsoft Visual C++ 2022 .NET Core Debugging with WSL 1.0 .NET Core Debugging with WSL ASP.NET and Web Tools 2019 17.2.393.26812 ASP.NET and Web Tools 2019 Azure App Service Tools v3.0.0 17.2.393.26812 Azure App Service Tools v3.0.0 Azure Functions and Web Jobs Tools 17.2.393.26812 Azure Functions and Web Jobs Tools C# Tools 4.2.0-4.22281.5+8d3180e5f00d42f0f0295165f756f368f0cbfa44 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used. Common Azure Tools 1.10 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools. Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines NuGet Package Manager 6.2.1 NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/ Razor (ASP.NET Core) 17.0.0.2218101+885a343b00bcab620a90c1550c37dafd730ce984 Provides languages services for ASP.NET Core Razor. SQL Server Data Tools 17.0.62204.01010 Microsoft SQL Server Data Tools Test Adapter for Boost.Test 1.0 Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory. Test Adapter for Google Test 1.0 Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory. TypeScript Tools 17.0.10418.2001 TypeScript Tools for Microsoft Visual Studio Visual Basic Tools 4.2.0-4.22281.5+8d3180e5f00d42f0f0295165f756f368f0cbfa44 Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used. Visual F# Tools 17.1.0-beta.22329.1+702b8e77f5fbfe21e6743324c1750503e02f182d Microsoft Visual F# Tools Visual Studio IntelliCode 2.2 AI-assisted development for Visual Studio.
内容的提问来源于stack exchange,提问作者Eric
相关产品推荐
相关产品推荐

