CubeIDE 代码提示,字体大小 主题设置

261 阅读1分钟

代码助手

参考blog.csdn.net/Wu_HuaJie/a…

修改字体

  1. 修改字体大小

修改 Eclipse/plugins/org.eclipse.ui.themes_1.2.2300.v20230807-1354/css/e4_basestyle.css (windows 对应 ) e4_default_mac.css 最后增加css代码

/*Project Explorer字体样式修改*/
#org-eclipse-jdt-ui-PackageExplorer Tree,
#org-eclipse-ui-navigator-ProjectExplorer Tree,
#org-eclipse-ui-views-ContentOutline Tree,
#PerspectiveSwitcher ToolBar {
  font-size: 18px;
  font-family: "YaHei Consolas Hybrid";/*字体类型根据喜好自定*/
}
/** 所有大小 可以控制代码提示的大小
* {
  font-size: 18px;
  font-family: "YaHei Consolas Hybrid";
}