如何在 Xcode 中全屏显示?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4334772/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 19:57:45  来源:igfitidea点击:

How to go fullscreen in Xcode?

xcode

提问by LolaRun

Is there a way to go fullscreen in Xcode? similarly to VS.net ? and if there is, how?

有没有办法在 Xcode 中全屏显示?类似于 VS.net ?如果有,如何?

采纳答案by GreenAsJade

FWIW, the modern answer to this old question has two parts:

FWIW,这个老问题的现代答案有两个部分:

1) Use View->Fullscreen to go full screen

1) 使用 View->Fullscreen 进入全屏

and ... so you don't end up with one fullscreen window per file (which would be ridiculous) ...

并且......所以你最终不会为每个文件提供一个全屏窗口(这太荒谬了)......

2a) Use Shift-Option-click to open new files in the same window

2a) 使用 Shift-Option-单击在同一窗口中打开新文件

2b) Use Navigation Preferences to specify that files always open in a new tab

2b) 使用导航首选项指定文件始终在新选项卡中打开

回答by gcamp

With Xcode 4.1, a build-in full screen mode in included.

在 Xcode 4.1 中,包含一个内置的全屏模式。

It works pretty well if you don't use multiple monitors.

如果您不使用多台显示器,它的效果会很好。

回答by Angus Fretwell

I believe the newest version of Xcode is in an application window, so that would be able to 'go fullscreen'. Are you using the newest version of XCcde? http://developer.apple.com/technologies/tools/whats-new.html

我相信最新版本的 Xcode 位于应用程序窗口中,因此可以“全屏显示”。您使用的是最新版本的 XCcde 吗?http://developer.apple.com/technologies/tools/whats-new.html

回答by w-m

You could use the SIMBLplugin Megazoomerfor that. That's a plugin that will add a zoom menu item to every Cocoa application which will show the app's content in full screen.

您可以为此使用SIMBL插件Megazoomer。这是一个插件,它将向每个 Cocoa 应用程序添加一个缩放菜单项,以全屏显示应用程序的内容。

Slight problem though, it doesn't work with Xcode out of the box. Building the old version for 32Bit with GC enabled works when running Xcode 3.2.4 in 32-Bit mode. But unfortunately, Ian did not release the sources for the 64Bit version. So if you really really want it, ask him for the sources and build a version that runs in 64Bit Xcode.

不过有一个小问题,它不适用于开箱即用的 Xcode。在 32 位模式下运行 Xcode 3.2.4 时,为 32Bit 构建旧版本并启用 GC 工作。但不幸的是,Ian 没有发布 64Bit 版本的源代码。因此,如果您真的很想要它,请向他索取源代码并构建一个在 64 位 Xcode 中运行的版本。

回答by LolaRun

it doesn't seem there's a decent one

似乎没有一个像样的

Edit: This was for XCode 3 and earlier, XCode 4 and later came in one window. Please refer to other answers

编辑:这适用于 XCode 3 及更早版本,XCode 4 及更高版本出现在一个窗口中。请参考其他答案