Skip to content

Commit 91b135a

Browse files
authored
Merge pull request #4 from scanapi/fix-headers
Add missing keys and fix some completions
2 parents 5b700c5 + eaddfdd commit 91b135a

File tree

6 files changed

+1087
-20
lines changed

6 files changed

+1087
-20
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
out/

CONTRIBUTING.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Contributing
2+
3+
Thanks for taking the time to contribute! 🙇‍♀️🙇‍♂️ Every little bit of help counts!
4+
5+
## Install
6+
7+
### Requirements:
8+
- [node.js](https://nodejs.org/en/)
9+
- [Visual Studio Code](https://code.visualstudio.com/download)
10+
11+
12+
Clone the repository and enter into the project's folder:
13+
14+
```shell
15+
$ git clone [email protected]:scanapi/vscode-extension.git
16+
$ cd vscode-extension
17+
```
18+
19+
Install the dependencies:
20+
21+
```shell
22+
$ npm install
23+
```
24+
25+
## Run
26+
27+
```shell
28+
$ npm run vscode:prepublish
29+
```
30+
31+
Then, open the vscode-extension folder inside the editor:
32+
33+
```shell
34+
$ code .
35+
```
36+
37+
Select the file `src/extension.ts` and press `F5`. Select the option `VS Code Extension Development (Preview)`.
38+
39+
This will compile and run the extension in a new Extension Development Host window. There you can test the extension running locally.

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
![](https://github.com/scanapi/design/raw/master/images/github-hero-dark.png)
22

3-
# Scanapi - IntelliSense
3+
# ScanAPI
44

5-
An extension that provides code completion for the [ScanApi](https://github.com/scanapi/scanapi) specification.<bR>
6-
Check Scanapi's [documentation](https://github.com/scanapi/scanapi) for futher information about the specification.
5+
An extension that provides code completion for the [ScanAPI](https://github.com/scanapi/scanapi) specification.
6+
7+
Check ScanAPI's [documentation](https://github.com/scanapi/scanapi) for futher information about the specification.
78

89
## Installing
910

10-
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>
11-
Install it using:<br>
11+
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).
12+
13+
Install it using:
14+
1215
`code --install-extension file_name_here.vsix`
1316

1417
## Snippets
@@ -27,5 +30,5 @@ ${custom_var} or ${ENV_VAR}
2730
### `pycode`
2831

2932
```python
30-
${{assert 1 + 1 = 2}}
33+
${{ assert 1 + 1 == 2 }}
3134
```

0 commit comments

Comments
 (0)