Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/euclidity/vscode-cucumber
Code snippets to write scenarios faster + Syntax highlight for .feature files
https://github.com/euclidity/vscode-cucumber
cucumber gherkin hacktoberfest snippets visual-studio-code-extension
Last synced: 23 days ago
JSON representation
Code snippets to write scenarios faster + Syntax highlight for .feature files
- Host: GitHub
- URL: https://github.com/euclidity/vscode-cucumber
- Owner: euclidity
- License: mit
- Archived: true
- Created: 2015-11-13T22:49:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-01T12:57:49.000Z (about 2 years ago)
- Last Synced: 2024-08-09T13:17:34.913Z (4 months ago)
- Topics: cucumber, gherkin, hacktoberfest, snippets, visual-studio-code-extension
- Language: Shell
- Homepage: https://marketplace.visualstudio.com/items?itemName=stevejpurves.cucumber
- Size: 387 KB
- Stars: 25
- Watchers: 7
- Forks: 13
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Cucumber (Gherkin) Syntax and Snippets
[![Build Status](https://travis-ci.org/euclidity/vscode-cucumber.svg?branch=master)](https://travis-ci.org/euclidity/vscode-cucumber)
A [Visual Studio Code](https://code.visualstudio.com/) [extension](https://marketplace.visualstudio.com/items?itemName=stevejpurves.cucumber) for [Cucumber](https://cucumber.io/) projects that:
- enables syntax highlight for `.feature` files;
- offers code snippets or templates to write `Gherkin` scenarios faster.## How to use
The syntax highlight is applied automatically to `.feature` files. If that doesn't happen, you can open the **Command Pallete**, type **Change Language Mode** and select the `Gherkin`.
To use snippets you just need to type the prefix and press `Tab`. These are the snippets we provide:
- `fea` - Feature
- `sc` - Scenario heading
- `sce` - Scenario
- `sco` - Scenario Outline
- `steps`- Multiline steps
- `giv` - Given step
- `whe` - When step
- `the` - Then step## Install
Given you have [Visual Studio Code](https://code.visualstudio.com/) installed:
1. Open the command palette `Ctrl-Shift-P` (Windows, Linux) or `Cmd-Shift-P` (macOS).
2. Select **Install Extension**, search for **Cucumber (Gherkin) Syntax and Snippets**, install it.
3. Finally, reload Visual Studio Code.## Contribute
Feature requests or issue reports should be done [here](https://github.com/stevejpurves/vscode-cucumber/issues).
Feel free to help us improve this extension with pull requests at our [official repository](https://github.com/stevejpurves/vscode-cucumber).
## Acknowledgements
👏 Our big thanks to our contributors and to other libraries and resources we used to develop this extension 👏
### Team
- Author: [Steve Purves](mailto:[email protected])
- Maintainer: [Diogo Nunes](https://github.com/dialex)
- Contributors: [(these amazing people)](https://github.com/stevejpurves/vscode-cucumber/graphs/contributors)### Dependencies
- [TextMate Syntax and Snippet definitions for Cucumber](https://github.com/cucumber/cucumber-tmbundle)