Skip to content

gherkin.mode is a gherkin (which is used for Cucumber's .feature file) syntax definition for Coda 2.

Notifications You must be signed in to change notification settings

takaxi/gherkin.mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

gherkin.mode

gherkin.mode is a gherkin (which is used for Cucumber's .feature file) syntax definition for Coda 2.

Screenshot

highlights syntax

supports i18n

Installation

Please checkout this repository into ~/Library/Application Support/Coda 2/Modes as gherkin.mode.

  • cd ~/Library/Application Support/Coda 2/Modes
  • git clone git://github.com/takaxi/gherkin.mode.git

Features

  • Highlight syntax
  • Autocomplete keywords
  • Comment lines out/in with Command+/
  • List structure in navigation bar
  • i18n support: not only "en" but other spoken languages like "ja" available

About Autocomplete

To prevent your confusion with too many candidates, gherkin.mode suggests keywords in only 10 spoken languages below by default.

  • English
  • Chinese
  • Spanish
  • Japanese
  • Portuguese
  • German
  • Arabic
  • French
  • Russian
  • Korean

Top Ten Languages Used in the Web(http://www.internetworldstats.com/stats7.htm)

If you need to enable autocomplete function in all languages, go through the following steps.

  • overwrite gherkin.mode/Contents/Resources/AutocompleteAdditions.txt with gherkin.mode/Contents/Resources/AutocompleteAdditions.txt.full
  • restart Coda 2

Author

  • Kiyotaka NAKAYAMA (@takaxi)

License

MIT

etc

Any feedbacks and pull requests are welcomed.

About

gherkin.mode is a gherkin (which is used for Cucumber's .feature file) syntax definition for Coda 2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages