Skip to content

Commit

Permalink
Merge pull request #4 from scanapi/fix-headers
Browse files Browse the repository at this point in the history
Add missing keys and fix some completions
  • Loading branch information
camilamaia authored Sep 2, 2020
2 parents 5b700c5 + eaddfdd commit 91b135a
Show file tree
Hide file tree
Showing 6 changed files with 1,087 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
out/
39 changes: 39 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Contributing

Thanks for taking the time to contribute! 🙇‍♀️🙇‍♂️ Every little bit of help counts!

## Install

### Requirements:
- [node.js](https://nodejs.org/en/)
- [Visual Studio Code](https://code.visualstudio.com/download)


Clone the repository and enter into the project's folder:

```shell
$ git clone [email protected]:scanapi/vscode-extension.git
$ cd vscode-extension
```

Install the dependencies:

```shell
$ npm install
```

## Run

```shell
$ npm run vscode:prepublish
```

Then, open the vscode-extension folder inside the editor:

```shell
$ code .
```

Select the file `src/extension.ts` and press `F5`. Select the option `VS Code Extension Development (Preview)`.

This will compile and run the extension in a new Extension Development Host window. There you can test the extension running locally.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
![](https://github.com/scanapi/design/raw/master/images/github-hero-dark.png)

# Scanapi - IntelliSense
# ScanAPI

An extension that provides code completion for the [ScanApi](https://github.com/scanapi/scanapi) specification.<bR>
Check Scanapi's [documentation](https://github.com/scanapi/scanapi) for futher information about the specification.
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 VSCode Marketplace, but if for some reason you can't, you can download the latest stable version [here](https://github.com/scanapi/vscode-extension/releases).<br>
Install it using:<br>
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
Expand All @@ -27,5 +30,5 @@ ${custom_var} or ${ENV_VAR}
### `pycode`

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

0 comments on commit 91b135a

Please sign in to comment.