Modify the Comment color of Jython code on Eclipse, jythoncomment
1. cause of the problem according to the previous article 《Build MonkeyRunner In the Eclipse development environment under Windows (and solve the problem of Jython configuration error on the Internet)With the MonkeyRunner development environment in Eclipse, I tried to write a piece of code to test the notepad application, but I found that the comments above the editor are gloomy and hard to see clearly, besides, because other frameworks in this blog use Java and get used to the green comment in Java, I always feel uncomfortable with the situation above jython.
2. problem Analysis solves the problem encountered in the previous article. It happens that Eclipse configures the Editor-style options of Pydev ON Window Preferrences, so we can simply modify it to be consistent with the Java comment.
- Step 1: Open Windo Preferrences
- Step 2: Go to PyDev Editor on the left navigation bar.
- Step 3: Select Comments in the "Appearence for color options" option on the right, and then select your preferred color.
- Step 4: click "OK" to save settings
3. Results
How does Eclipse change the background color?
Windows> peferences> General> Editors> Text Editor
Appearance color options:
Select Background color, remove System default, select color in color, and then apply
Eclipse java code color
Windows-> Perference and click Restore Default.