简体   繁体   English

Eclipse 2020 Wild Web Dev - 问题 Javascript colors

[英]Eclipse 2020 with Wild Web Dev - problem with Javascript colors

I'm running Eclipse 2020 for JEE dev, with Wild Web Dev plugin installed.我正在为 JEE dev 运行 Eclipse 2020,安装了 Wild Web Dev 插件。 I open.js files using Generic Text Editor (the only one I found that does formatting).我使用通用文本编辑器(我发现的唯一一个进行格式化的编辑器)打开 .js 文件。 However, the colors are difficult to see, and I cannot find a way to change color settings for the Generic Text editor:但是,很难看到 colors,而且我找不到更改通用文本编辑器颜色设置的方法:

看快照

Also, the colors do NOT correspond to anything set in Preferences -> Web > JavaScript or Clent-side JavaScript configurations.此外,colors 不对应于 Preferences -> Web > JavaScript 或客户端 JavaScript 配置中的任何设置。 Thanks a lot.非常感谢。

In the editor right-click and choose Switch to Theme... > Light (which which is more similar to the default Java color scheme than the default Solarized Light theme shown in your screenshot).在编辑器中右键单击并选择切换到主题... > Light (与屏幕截图中显示的默认 Solarized Light主题相比,它更类似于默认的 Java 配色方案)。

The Generic Text Editor themes for languages supported by language servers can be configured in Window > Preferences: TextMate > Theme .语言服务器支持的语言的通用文本编辑器主题可以在Window > Preferences: TextMate > Theme中配置。 You might also create your own theme CSS file (eg based on an existing theme ) and add it in this preference page.您也可以创建自己的主题 CSS 文件(例如,基于现有主题)并将其添加到此首选项页面中。

Note, the Web > (Client-side) JavaScript preferences pages refer to the WTP JavaScript editor , not to the JavaScript editor of Eclipse Wild Web Developer you are using.请注意, Web > (Client-side) JavaScript首选项页面是指WTP JavaScript 编辑器,而不是 JavaScript 编辑器Eclipse Wild Web您正在使用的开发人员。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM