Reputation: 21
I'm running Eclipse 2020 for JEE dev, with Wild Web Dev plugin installed. I open .js files using Generic Text Editor (the only one I found that does formatting). However, the colors are difficult to see, and I cannot find a way to change color settings for the Generic Text editor:
Also, the colors do NOT correspond to anything set in Preferences -> Web > JavaScript or Clent-side JavaScript configurations. Thanks a lot.
Upvotes: 1
Views: 1196
Reputation: 34137
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).
The Generic Text Editor themes for languages supported by language servers can be configured in Window > Preferences: TextMate > Theme. You might also create your own theme CSS file (e.g. based on an existing theme) and add it in this preference page.
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.
Upvotes: 3