eclipse工具栏图标太小了,笔记本一般屏幕比较小,尤其是现在的超薄笔记本尺寸普遍比较小;安装的Eclipse的工具栏会很小;这是由于Eclipse对高分屏没有作适配导致的;
1、打开注册表(win+R快捷键打开运行窗口,输入regedit,点击确定即可打开),
定位到目录:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\,
然后在右边空白处点击右键,选择新建->DWORD(32位)值,名称为PreferExternalManifest,值为1。
2:把下面的XML内容保存为eclipse.exe.manifest放到eclipse.exe同目录下: (如果是MyEclipse,文件名则为myeclipse.exe.manifest,以此类推,前一部分与IDE的执行文件名一致) 复制代码;
<?xml version="1.0" encoding="utf-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0">
<description>eclipse</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3" level="asInvoker" ms_asmv3:uiAccess="false"> </requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
3:重启Eclipes,图标大了许多;