简体   繁体   English

Visual Studio - 如何向左侧面板添加元素?

[英]Visual Studio - How to add elements to left panel?

Basically I want to add Toolbox and SQL Server Object Explorer to my VS to be added to my left panel. 基本上我想将我的VS添加工具箱和SQL Server对象资源管理器添加到我的左侧面板。

Right now it looks like this: 现在它看起来像这样:

在此输入图像描述

I want this (disregard the colors of course): 我想要这个(当然不理会颜色):

在此输入图像描述

I cannot figure out how to do it - been messing with this for a good 30 minutes now. 我无法弄明白该怎么做 - 现在已经搞好了30分钟。

Try reading this link: How to Arrange and Dock Windows ... 尝试阅读此链接: 如何安排和停靠Windows ...

To dock tool windows and document windows: 停靠工具窗口和文档窗口:

Click the tool window or document window you want to dock. 单击要停靠的工具窗口或文档窗口。

Drag the window toward the middle of the IDE. 将窗口拖向IDE的中间。

A guide diamond appears. 出现指南钻石。 The four arrows of the diamond point toward the four sides of the editing pane. 钻石的四个箭头指向编辑窗格的四个边。 If the window is a tool window, an additional four arrows point to the four edges of the IDE. 如果窗口是工具窗口,则另外四个箭头指向IDE的四个边缘。

When the window you are dragging reaches the location where you want to dock it, move the pointer over the corresponding portion of the guide diamond. 当您拖动的窗口到达要停靠的位置时,将指针移到导向菱形的相应部分上。 The designated area is shaded. 指定区域有阴影。

To dock the window in the position indicated, release the mouse button. 要将窗口停靠在指示的位置,请释放鼠标按钮。

For example, if Solution Explorer is docked on the right edge of the IDE and you want to dock it on the left edge, drag Solution Explorer toward the middle of the IDE, move the pointer over the far left arrow of the guide diamond, and then release the mouse button. 例如,如果解决方案资源管理器停靠在IDE的右边缘,并且您希望将其停靠在左边缘,请将解决方案资源管理器拖到IDE的中间,将指针移到导向菱形的最左箭头上,然后然后释放鼠标按钮。

Alternatively, you can dock a tool window to a portion of one of the side walls of the IDE by dragging it to the side until you see a secondary guide diamond. 或者,您可以将工具窗口停靠到I​​DE的一个侧壁的一部分,方法是将其拖到侧面,直到看到辅助导向钻石。 Click one of the four arrows to dock the tool window to that portion of the side wall. 单击四个箭头中的一个,将工具窗口停靠在侧壁的该部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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