Modify the Comment color of Jython code on Eclipse, jythoncomment

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.