Eclipse Juno 和 Retina 分辨率

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13003511/
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-19 19:14:34  来源:igfitidea点击:

Eclipse Juno and Retina Resolution

eclipseretina-displayeclipse-juno

提问by ina

Is it possible to have Eclipse Juno display at retina resolution? I was able to edit info.plist for previous versions of Eclipse, but this does not work with Juno...

是否可以以视网膜分辨率显示 Eclipse Juno?我能够为以前版本的 Eclipse 编辑 info.plist,但这不适用于 Juno ...

回答by Douglas

Open the <Installation Directory>/Eclipse.app/Contents/Info.plistwith a text editor and add the following before</dict>:

<Installation Directory>/Eclipse.app/Contents/Info.plist使用文本编辑器打开并在之前添加以下内容</dict>

<key>NSHighResolutionCapable</key>
<true/>

<key>NSHighResolutionCapable</key>
<true/>

If you open the Info.plistfile with Xcode it should look like that:

如果你Info.plist用 Xcode打开文件,它应该是这样的:

Info.plist file after enabling high resolution

启用高分辨率后的 Info.plist 文件

Now make a copy of the Eclipse application (Eclipse.app). You can copy it to the same directory it already is; this step is required just to make the OS reload the changes in the Info.plistfile.

现在复制 Eclipse 应用程序 ( Eclipse.app)。您可以将其复制到它已经存在的同一目录中;这一步只是为了让操作系统重新加载Info.plist文件中的更改。

回答by Thelle

Force update the Info.plistin the Terminal by using the lsregister command:

Info.plist使用 lsregister 命令在终端中强制更新:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f /Applications/eclipse/Eclipse.app

回答by Simon O'Doherty

There is an app called Retinizer which will convert Apps to Retina mode. Easier. Only really works for fonts though.

有一个名为 Retinizer 的应用程序可以将应用程序转换为 Retina 模式。更轻松。虽然只对字体有效。

http://retinizer.mikelpr.com

http://retinizer.mikelpr.com

回答by ina

After updating High Resolution Capable to Yes in plist, make a copy of the app.

在 plist 中将 High Resolution Capable 更新为 Yes 后,制作应用程序的副本。