jadu / sublime-behat-completions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Behat Completions for Sublime Text 2

Demo

Installation

Mac OS X

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone https://github.com/jadu/sublime-behat-completions.git Behat\ Completions

Configuration

Create the user settings file

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User
open Behat\ Completions.sublime-settings

Set the paths:

{
    "behat_executable_path": "/path/to/behat",
    "behat_config_path": "/path/to/behat.yml"
}

Now restart Sublime Text

Usage

To use the completions simply type Given, When, Then, And or But and hit tab to open the quick panel with a listing of all available steps. Type in the quick panel to filter the steps and hit enter to select a step.

About

License:University of Illinois/NCSA Open Source License


Languages

Language:Python 100.0%