Skip to content

sgaestel/sublime-cucumber-completion

 
 

Repository files navigation

Cucumber Completion

Build Status Coverage Status

Sublime plugin to auto complete Cucumber step definitions.

Installation

Using Sublime Package Control

If you are using Will Bond's excellent Sublime Package Control, you can easily install Cucumber Completion via the Package Control: Install Package menu item. This package is listed as Cucumber Completion in the packages list.

Using Git

While inside the Sublime Packages directory (which is found inside the data directory), clone the repository using:

git clone https://github.com/krockode/sublime-cucumber-completion

Supported Step Definition Formats

Step definitions can be defined in many languages as the cucumber gherkin language is parsable in various programming languages. The examples directory contains cucumber step files in different supported formats which are tested against. The *.expected files show the completions that will be generated for sublime projects of these directories.

Specifically this has been tested and works for the examples found in:

  • cucumber/cucumber with the exception of the following:
    • i18n - languages other than the English are not supported yet
    • python - steps defined in python are not suppoerted yet
    • v8 - steps defined in javascript are not supported yet
  • groovy examples in cucumber/cucumber-jvm

Support for steps defined in different language types is planned including python, javascript as well as Java and other JVM based languages.

There are many formats so if you would like a specific flavour implemented please submit an issue for your flavour and/or a pull request with an example in the examples directory of your step definition format.

TODO

  • Support more languages

About

Autocomplete cucumber steps in feature files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.4%
  • Groovy 9.1%
  • Java 4.6%
  • Ruby 3.9%