Autocompletes gherkin steps in your feature files based on other feature files in your project.
Simply start typing a step in a feature file. Any line that starts with Given, When, Then, or And will trigger the autocomplete.
It recursively scans all
.feature files in all directories under the
feature path you provide in the package settings.
Not yet, it will soon though.
You probably don't have your
feature path set right in the settings the default is
/features make sure you point it to where your top level feature directory is.
By default the package looks in the
/features directory of your project. If you use a different convention you can change it in the package settings.
You will see all autocomplete results from all steps you have defined in feature files. Future plans will maintain context and try to know you are looking for Given steps (for example).
Yes! This package was designed from the ground up to be asynchronous, uses the atom file structures for reading files, and has a broader vision for features.
This package is based in part on the
atom-cucumber-autocomplete package by Tom Kadwill.
I welcome pull requests. Feel free to add issues for things you'd like to add, questions that you have, or gripes about how the package works.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.