1. The cause of the problem is based on the previous article
, "Monkeyrunner setup steps for Eclipse Development environment under Windows (and solve the problem of online Jython configuration error)" With eclipse above the Monkeyrunner development environment, try to write a piece of code to test the next Notepad application, but found that the editor of the above comment are gray, it is difficult to see clearly, and because this blog inside the other framework uses Java, Accustomed to Java above the green comment, so on the jython above this situation always feel not fit.
2. Solve the problem before solving the problem encountered in the previous article happened to see Eclipse in window Preferrences above the configuration of Pydev editor style related options, so simply modify it and Java comment consistent.
- Step 1: Open Windo "preferrences
- Step 2: Navigate to Pydev Editor on the left navigation bar
- Step 3: The "Appearence for color options" option on the right is selected comments, then choose the color you like
- Step 4: Click "OK" button to save the settings
3. Effects
Modify the comment color of the Jython code on eclipse