This is Craig N. Caroon's Gherkin Language add-on with a few minor modifications.
Forked from here:
https://github.com/ccaroon/gherkin_language
UDL-based Komodo extension for the Gherkin language.
https://github.com/gherkin/gherkin/wiki/Gherkin
Should work with Komodo 7-9.
Listed below are the various types of Gherkin Syntax and the Komodo Element Type that defines it's color:
- Comments --> comments -->
# this is a comment
- Tags --> identifier -->
@tag1 @tag2 @example_tags
- Strings --> strings -->
'Single', "Double" or """Doc Strings"""
- Numbers --> numbers -->
1.0, 123
- Placeholders --> variables -->
<input>, <output>
- Data Tables --> variables -->
| value1 | value2 |
- Keywords --> keywords -->
Feature, Background, Given, When, Then, etc...
- Tags --> Triggered when you type an At Sign (@)
- Placeholders --> Triggered when you type a left Angle Bracket (<)
- Keywords --> Triggered when you start typing something that looks like a Gherkin keyword.
Manual completion also supported for the above.
None supported.
Assuming you have Komodo installed, you can use the koext
tool to build the
extention:
- cd to the source code directory
koext build
gherkin_language-X.Y.Z-ko.xpi
should have been created.
Drag the .XPI file onto Komodo. You should then see the extension in the Add-Ons list and be prompted to restart.