Skip to content

Commit

Permalink
update changelog and readme
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Vydolob <[email protected]>
  • Loading branch information
evidolob committed Sep 10, 2020
1 parent fa7a4bc commit b2b2576
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#### 0.11.0

- Make yaml-language-server available as ESM and UMD modules in the `/lib` directory [#305](https://github.com/redhat-developer/yaml-language-server/pull/305)
- Fix: `yaml.schemas` configuration doesn't work on windows with full path [#347](https://github.com/redhat-developer/vscode-yaml/issues/347)

#### 0.10.1

Expand Down
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ and that will associate the composer schema with myYamlFile.yaml.

When associating a schema it should follow the format below

```
```json
yaml.schemas: {
"url": "globPattern",
"Kubernetes": "globPattern"
Expand All @@ -104,29 +104,45 @@ yaml.schemas: {

e.g.

```
```json
yaml.schemas: {
"https://json.schemastore.org/composer": "/*"
}
```

e.g.

```
```json
yaml.schemas: {
"kubernetes": "/myYamlFile.yaml"
}
```

e.g.

```
```json
yaml.schemas: {
"https://json.schemastore.org/composer": "/*",
"kubernetes": "/myYamlFile.yaml"
}
```

On Windows with full path:

```json
yaml.schemas: {
"C:\\Users\\user\\Documents\\custom_schema.json": "someFilePattern.yaml",
}
```

On Mac/Linux with full path:

```json
yaml.schemas: {
"/home/user/custom_schema.json": "someFilePattern.yaml",
}
```

#### Multi root schema association:

You can also use relative paths when working with multi root workspaces.
Expand Down

0 comments on commit b2b2576

Please sign in to comment.