Search code examples
eclipseintellij-ideacucumbercucumber-jvm

How do I change the syntax highlighting of feature files for Cucumber JVM Eclipse Plugin


Using Eclipse Mars, my feature files currently have very limited options for syntax coloring (refer to screenshot)

enter image description here

I would like to change the syntax highlighting to closely match that of Intellij which is so much more better (see screenshot)

enter image description here

I could not find any option to change this in Eclipse. Any suggestions on how to do this?

Details: -Eclipse Mars 4.5.2 -Cucumber JVM Plugin

-IntelliJ 2017.2.3 -plugin: Cucumber for java


Solution

  • For Eclipse Oxygen, it is under

    "Preference" - "Appearance" - "Color and fonts" - "Gherkin".

    For IntelliJ(2018.2 community), it is under

    "Settings" - "Editor" - "Color Scheme" - "Cucumber".

    Of course, only when you install the plugin.