Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scanapi/vscode-extension

Provides code completion for the ScanAPI YAML specification.
https://github.com/scanapi/vscode-extension

scanapi vs-code-extenstion yaml

Last synced: about 2 months ago
JSON representation

Provides code completion for the ScanAPI YAML specification.

Awesome Lists containing this project

README

        

![](https://github.com/scanapi/design/raw/main/images/github-hero-dark.png)

# ScanAPI

An extension that provides code completion for the [ScanAPI](https://github.com/scanapi/scanapi) specification.

Check ScanAPI's [documentation](https://github.com/scanapi/scanapi) for futher information about the specification.

## Installing

Preferably, install it from the VS Code Marketplace, but if for some reason you can't, you can download the latest stable version [here](https://github.com/scanapi/vscode-extension/releases).

Install it using:

`code --install-extension file_name_here.vsix`

## Snippets

| Name | Result |
| -------: | ------------------------------------------------ |
| `cvar` | `Produces a custom var / ENV var interpolation.` |
| `pycode` | `Produces a python code interpolation.` |

### `cvar`

```
${custom_var} or ${ENV_VAR}
```

### `pycode`

```python
${{ assert 1 + 1 == 2 }}
```