Since yours image shows a Java editor.
You have to go to Windows->Preferences->Java->Editor-Syntax coloring to change the text colors.
For any text editors you can go to Windows->Preferences->General->Editors->Text editors to change the foreground color.
Hope this helps.
cheers,
Saurav
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.