一个项目的 Android Studio 多窗口

我想知道是否有人知道如何在同一个项目下打开 Android Studio 的两个窗口。我知道您可以拖动标签出来,但这只允许您编辑一个文件。我想要两个 fully-featured窗口,每个都能够看到项目文件/结构。

我不想只是分割编辑器,我想要一个单独的窗口。

我想要两个这样的窗口,都“看”在同一个项目: enter image description here

我不想要另一个这样的窗口,因为我无法查看项目结构并改变它,而且很难在这个视图中将其改变为另一个文件: enter image description here

60645 次浏览

右键点击文件的标签,然后点击“分割垂直/水平”

enter image description here

After splitting, you can just drag one of the tab titles to the second monitor - it will open up a new window. You can then edit the same file in two separate windows

If you click and drag a file's tab out of your current window (over onto the desktop, for example), the file will open in a new window. However, this window doesn't seem to have the whole package explorer, console etc.

不过,如果你点击任何一个模块上的装备,你可以取消选择“固定”模式,你可以像上面创建的窗口一样自由地在两个显示器上移动它们。

If you want to split tabs of android studio project beetween monitors, you can rigthclick to tab(项目、调试、终端等) and check the “浮动模式”选项.

请看图片: Floating mode tab option

之后,您可以将此选项卡作为新窗口在显示器之间拖动。

Window -> Editor Tabs -> Split Vertically

如果你不使用文件标签

enter image description here

只需将选项卡拖到当前窗口之外。

右键点击标签,点击窗口模式,它会打开一个新的窗口。

这样做的一个古怪的方法(但是您不能在同一个项目中保存)是制作一个 copy of the project folder and open it in Android Studio

你能不能复制一份 android 工作室,然后侧面或侧面运行?您可以运行不同版本的 android 工作室侧/侧。.也许这是个选择。