某些文件中的Eclipse中没有颜色突出显示 [英] No color highlight in Eclipse in some files

查看:87
本文介绍了某些文件中的Eclipse中没有颜色突出显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在具有多个项目的工作区中,我可以正确看到除一个标记之外的所有文件中的所有文本标记,在该标记中仅包含说明符,类型和字符串的标记.

In a workspace with several projects, I see correctly all the text markup in all files except one, where there is only the markup for specifiers, types and strings.

我已经尝试过的:

  • 检查是否使用文本编辑器而不是Java编辑器打开了文件.不是.使用Java编辑器打开文件.
  • 重新启动Eclipse.
  • 清理项目.

问题仍然存在.

问题:

我期望的是:

任何帮助都会受到高度赞赏和投票.

Any help will be highly appreciated and voted.

推荐答案

错误日志视图显示您使用了

The Error Log view shows that you use a JRE from Eclipse JustJ to run your Eclipse.

问题是您安装的是最小版本的JDK,而不是完整的.

或者,您可以 eclipse.ini中指定Java 11或更高版本的VM以运行Eclipse .

Alternatively, you can specify the Java 11 or higher VM in the eclipse.ini to run Eclipse.

JustJ OpenJDK热点JRE最小(已剥离)足以运行Eclipse Installer和Eclipse平台,但不能运行您没有错误的Eclipse Java IDE.

The JustJ OpenJDK Hotspot JRE Minimal (Stripped) is sufficient to run the Eclipse Installer and the Eclipse platform, but not to run the Eclipse Java IDE you have without errors.

Minimal 表示仅包括Eclipse平台所需的那些系统库模块,而 Complete 则表示完整的系统库.

Minimal means that only those system library modules are included that are required by the Eclipse platform and Complete means the full system library.

这篇关于某些文件中的Eclipse中没有颜色突出显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆