在Visual Studio代码中,有没有办法看到左边的资源管理器和右边的大纲?
In Visual Studio Code, is there a way to see the explorer on the left and the outline on the right?
我习惯于代码左边是文件浏览器,右边是大纲。但是,在 Visual Studio 代码中,我似乎只能将两者放在同一侧。有什么方法可以让它们位于不同的侧面(就像在来自 eclipse 的图像中)?
谢谢,
DMR
Coming to Stable v1.64, see Release Notes: Side Panel so no need for the experimental
settings.
请注意,第二个侧边栏当前称为 侧面板。
您可以将各种视图拖到侧面板中,例如大纲或 SCM 视图。我希望以后会添加更多内容。
演示:
右上角的这个图标是最近的:它是一个Layout Control
图标。
Customize Layout Control
With all these new layout options, we have been exploring ways to
better expose layout configuration for discoverability and ease of
use. That's why you might notice a new experimental layout control in
your title bar. Note this only appears if your window.titleBarStyle
setting is custom and workbench.experimental.layoutControl.enabled
is set to true. The enablement is controlled by an experiment, but if
you want to enable it manually, you can do so in the Settings editor.
The contents of the menu are still being worked on, but currently you
should see the ability to toggle the Side Bar, Panel, and Side Panel.
Additionally, you will see an entry for a new command Customize
Layout. This new command triggers a new interactive quick pick
experience allowing you to control all aspects of layout configuration
in one place.
------------ 使用 v1.65:
we are adding some options for everyone to try out with the setting
workbench.experimental.layoutControl.type
. This setting has the
following options:
Menu: This is the previous behavior with a single button that opens a
menu.
Toggles: This is a new option which shows three buttons to toggle the
panel, side bar, and side panel.
Both: This is a new option which shows the toggles followed by the
menu button which still allows you to fairly quickly access the
customize layout quick pick.
我习惯于代码左边是文件浏览器,右边是大纲。但是,在 Visual Studio 代码中,我似乎只能将两者放在同一侧。有什么方法可以让它们位于不同的侧面(就像在来自 eclipse 的图像中)?
谢谢,
DMR
Coming to Stable v1.64, see Release Notes: Side Panel so no need for the
experimental
settings.
请注意,第二个侧边栏当前称为 侧面板。
您可以将各种视图拖到侧面板中,例如大纲或 SCM 视图。我希望以后会添加更多内容。
演示:
右上角的这个图标是最近的:它是一个Layout Control
图标。
Customize Layout Control
With all these new layout options, we have been exploring ways to better expose layout configuration for discoverability and ease of use. That's why you might notice a new experimental layout control in your title bar. Note this only appears if your
window.titleBarStyle
setting is custom andworkbench.experimental.layoutControl.enabled
is set to true. The enablement is controlled by an experiment, but if you want to enable it manually, you can do so in the Settings editor.The contents of the menu are still being worked on, but currently you should see the ability to toggle the Side Bar, Panel, and Side Panel. Additionally, you will see an entry for a new command Customize Layout. This new command triggers a new interactive quick pick experience allowing you to control all aspects of layout configuration in one place.
------------ 使用 v1.65:
we are adding some options for everyone to try out with the setting
workbench.experimental.layoutControl.type
. This setting has the following options:Menu: This is the previous behavior with a single button that opens a menu.
Toggles: This is a new option which shows three buttons to toggle the panel, side bar, and side panel.
Both: This is a new option which shows the toggles followed by the menu button which still allows you to fairly quickly access the customize layout quick pick.