Skip to content

Commit

Permalink
bump vscode extension 1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Bétrancourt <thomas@betrancourt.net>
  • Loading branch information
rclsilver committed Jul 5, 2022
1 parent 5366aa2 commit 2e851af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
22 changes: 4 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -695,26 +695,12 @@ A JSON-schema file is available to validate the syntax of task templates and fun

Validation can be performed at writing time if you are using a modern IDE or editor.

#### Validation with Visual Studio Code
#### Working with Visual Studio Code

- Install YAML extension from RedHat.
- Ctrl+P, then type `ext install redhat.vscode-yaml`
- Edit your workspace configuration (`settings.json` file) to add:
```json
{
"yaml.schemas": {
".vscode/template-schema.json": [
"/templates*/*.yaml"
],
".vscode/function-schema.json": [
"/functions/*.yaml"
]
}
}
```
- Every template will be validated real-time while editing.
- Install official µTask extension.
- Ctrl+P, then type `ext install ovh.vscode-utask`

![](./assets/img/vscode_template_validation.png)
![](./vscode/images/preview.gif)

#### Task template snippets with Visual Studio Code

Expand Down
3 changes: 3 additions & 0 deletions vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 1.0.0 (2022-06-09)

Initial release ([4cfbee8](https://github.com/ovh/utask/commit/4cfbee8))

0 comments on commit 2e851af

Please sign in to comment.