Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
1c502e7
updated eslint version
msivasubramaniaan Feb 23, 2025
7006161
Merge pull request #1099 from redhat-developer/1078-use-replaceall-in…
msivasubramaniaan Mar 3, 2025
1d143a7
changelog updated for the release v1.17.0
msivasubramaniaan Mar 5, 2025
e7e06ed
Merge pull request #1104 from msivasubramaniaan/release-1.17.0
msivasubramaniaan Mar 5, 2025
5b827d2
add language 'github-actions-workflow'
albertocavalcante Mar 7, 2025
8977a4d
bumped v1.18.0
msivasubramaniaan Mar 10, 2025
28c9412
Merge pull request #1106 from msivasubramaniaan/bump-1.18.0
msivasubramaniaan Mar 10, 2025
7f3d512
Merge pull request #1105 from albertocavalcante/main
msivasubramaniaan Mar 11, 2025
2c637a9
updated chagelog for the release 1.18.0
msivasubramaniaan Apr 28, 2025
665bba2
Merge pull request #1113 from msivasubramaniaan/release-1.18.0
msivasubramaniaan Apr 28, 2025
61421c5
bump version 1.19.0
msivasubramaniaan Apr 29, 2025
0a252ff
Merge pull request #1115 from msivasubramaniaan/bump-1.19.0
msivasubramaniaan Apr 29, 2025
20134b5
Fix build failure due to prettier error
datho7561 Apr 29, 2025
78c3e0c
Stabilize UI tests
datho7561 Apr 29, 2025
0533ac7
Merge pull request #1118 from datho7561/prettier-build-failure
msivasubramaniaan Apr 30, 2025
ff4606f
Merge pull request #1120 from datho7561/stabilize-ui-tests
msivasubramaniaan Apr 30, 2025
cc15df6
Add formatting option for trailing comma
datho7561 May 5, 2025
84d4516
update settings.json as default formatter as yaml
msivasubramaniaan May 19, 2025
bae67c0
send vscode configured language to LS
msivasubramaniaan Jun 23, 2025
471326e
upstream node
msivasubramaniaan Jun 23, 2025
db9fc02
handled locale on YAML LS side
msivasubramaniaan Jun 27, 2025
ab81a02
removed yarn dependency and added npm
msivasubramaniaan Jul 15, 2025
3aebaab
fixed build issue
msivasubramaniaan Jul 15, 2025
7d4e680
removed .yarnrc
msivasubramaniaan Jul 17, 2025
d0e1ff4
check yarn availability
msivasubramaniaan Jul 17, 2025
c910baf
removed yarn
msivasubramaniaan Jul 17, 2025
bb4de66
removed yarn completely
msivasubramaniaan Jul 17, 2025
50fc9c4
removed yarn.lock
msivasubramaniaan Jul 17, 2025
76e939c
check yarn
msivasubramaniaan Jul 17, 2025
508396a
removed the yarn
msivasubramaniaan Jul 17, 2025
bbd6e7e
add -force instead of -f
msivasubramaniaan Jul 17, 2025
01894eb
removed yarn based on OS
msivasubramaniaan Jul 17, 2025
5188f39
fix winows CI build issue
msivasubramaniaan Jul 17, 2025
2b5c630
removed -y(yarn) in the script
msivasubramaniaan Jul 17, 2025
4b17304
Merge pull request #1136 from msivasubramaniaan/move-to-npm-and-remov…
msivasubramaniaan Jul 18, 2025
70b0aca
CHANGELOG for 1.19.0
datho7561 Sep 24, 2025
3fee6db
l10n missing from .vsix
datho7561 Sep 25, 2025
b9fbe94
Upversion to 1.20.0
datho7561 Sep 25, 2025
2e69ade
Publish prereleases
datho7561 Sep 29, 2025
ef16f01
Revert "update settings.json as default formatter as yaml"
datho7561 Sep 29, 2025
00533c5
Fix prerelease GitHub Action
datho7561 Oct 1, 2025
81449fb
Don't tag prereleases
datho7561 Oct 1, 2025
b306979
Add languages `yaml-textmate` & `yaml-tmlanguage` (#1093)
RedCMD Oct 1, 2025
9e452d7
Fix scheduled prerelease skipping publish step
datho7561 Oct 2, 2025
c802997
Another fix for prereleases
datho7561 Oct 3, 2025
f87d343
CHANGELOG for 1.19.1
datho7561 Oct 7, 2025
fec0920
Upversion to 1.20.0
datho7561 Oct 7, 2025
2a4d165
feat: Register `ansible` and `ansible-jinja` languages for formatter …
lqhuang Dec 1, 2025
619d427
Don't syntax highlight `1.4.0` as a float
datho7561 Dec 11, 2025
9b164e0
Update CODEOWNERS
datho7561 Dec 12, 2025
7e825fd
Fix macOS CI UI tests (#1186)
shin19991207 Dec 19, 2025
0a8fb7d
Improve documentation for the `yaml.schemas` setting
datho7561 Dec 12, 2025
07af862
Settings for "auto-detect Kubernetes crd schema" (#1192)
datho7561 Jan 13, 2026
c126488
Add new setting to enable/disable anchor hover support
datho7561 Jan 7, 2026
2bea998
Fix running as a web extension, add smoke tests to prevent another re…
datho7561 Jan 19, 2026
d3d3d93
Fix resolving schema content on web
datho7561 Feb 5, 2026
ff6010e
Remove debug notification
datho7561 Feb 9, 2026
a07b746
CHANGELOG for 1.20.0
datho7561 Feb 5, 2026
92a9b4f
Upversion to 1.21.0
datho7561 Feb 17, 2026
8441e86
Switch to 1.20.1
datho7561 Feb 18, 2026
834c236
Fix documentation of `yaml.schemas` setting
datho7561 Feb 19, 2026
562ba14
Replaced the asterisk based file matching with explicit YAML language…
shin19991207 Feb 20, 2026
e387347
make yaml.validate and yaml.format.enable language overridable
shin19991207 Feb 20, 2026
973a227
switch back to 1.21.0
shin19991207 Feb 24, 2026
c441922
Add yaml-lint-disable comment to suppress diagnostics per-line
Feb 13, 2026
bc58ae3
Refine tests and JSDocs
Feb 13, 2026
03124f3
Remove code
Feb 21, 2026
c73ef8e
Rename yaml-lint-disable to yaml-language-server-disable
Feb 23, 2026
0dddba4
CHANGELOG for 1.21.0 (#1215)
datho7561 Feb 26, 2026
51a7796
Upversion to 1.22.0
datho7561 Feb 26, 2026
70ffcc4
Merge branch 'main' of https://github.com/redhat-developer/vscode-yam…
phunguyenmurcul Mar 5, 2026
e31942a
feat(yaml): add YAML language service features
phunguyenmurcul Mar 5, 2026
2aa309a
fix: outdate config
phunguyenmurcul Mar 6, 2026
d5c5f1c
feat: add support for .eyaml and .eyml file extensions
phunguyenmurcul Mar 8, 2026
bb25adc
Merge branch 'ebuilder-yaml' of https://github.com/macrosreply/vscode…
phunguyenmurcul Mar 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
'prettier',
],
rules: {
'prettier/prettier': 'error',
'prettier/prettier': 'warn',
'@typescript-eslint/no-use-before-define': ['error', { functions: false, classes: false }],
'@typescript-eslint/no-unused-vars': ['warn'],
'@typescript-eslint/explicit-function-return-type': [1, { allowExpressions: true }],
Expand Down
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# Global Owners
* @evidolob
* @msivasubramaniaan
* @datho7561
34 changes: 34 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,37 @@ jobs:
path: |
test-resources/screenshots/*.png
retention-days: 2

Smoke-Test-Web:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Update yaml-language-server
run: npm i yaml-language-server@next
- name: Build extension
run: npm run build
- name: Run tests on web
run: xvfb-run npm run smoke-test-web

Smoke-Test-Desktop:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Update yaml-language-server
run: npm i yaml-language-server@next
- name: Build extension
run: npm run build
- name: Run tests on web
run: xvfb-run npm run smoke-test
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,10 @@ jobs:
if-no-files-found: error
- name: Publish to GH Release Tab
uses: "marvinpinto/action-automatic-releases@919008cf3f741b179569b7a6fb4d8860689ab7f0"
if: ${{ github.event_name != 'schedule' && inputs.publishPreRelease != 'true' }}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ github.event_name != 'schedule' && inputs.publishPreRelease != 'true' && env.EXT_VERSION || null }}"
automatic_release_tag: "${{ env.EXT_VERSION }}"
draft: true
files: |
vscode-yaml-${{ env.EXT_VERSION }}-${{github.run_number}}*.vsix
Expand Down
6 changes: 6 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/smoke-test/**/*.test.js',
workspaceFolder: './smoke-test/',
});
2 changes: 2 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionDevelopmentKind=web"
],
"sourceMaps": true,
"env": {
"DEBUG_VSCODE_YAML": "true",
"VSCODE_REDHAT_TELEMETRY_DEBUG":"true"
},
"outFiles": ["${workspaceRoot}/dist/**/*.js"],
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@
"other": true,
"comments": true,
"strings": true
}
},
"yaml.schemas": {},
"yaml.schemaStore.enable": true
}
100 changes: 96 additions & 4 deletions CHANGELOG.md

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ The following settings are supported:
* `yaml.format.trailingComma`: Specify if trailing commas should be used in JSON-like segments of the YAML
* `yaml.validate`: Enable/disable validation feature
* `yaml.hover`: Enable/disable hover
* `yaml.hoverAnchor`: Enable/disable hover feature for anchors
* `yaml.completion`: Enable/disable autocompletion
* `yaml.schemas`: Helps you associate schemas with files in a glob pattern
* `yaml.schemaStore.enable`: When set to true, the YAML language server will pull in all available schemas from [JSON Schema Store](http://schemastore.org/json/)
Expand All @@ -68,6 +69,33 @@ The following settings are supported:
- `yaml.keyOrdering` : Enforces alphabetical ordering of keys in mappings when set to `true`. Default is `false`
- `yaml.extension.recommendations` : Enable extension recommendations for YAML files. Default is `true`

## Suppressing diagnostics

You can suppress specific validation warnings on a per-line basis by adding a `# yaml-language-server-disable` comment on the line immediately before the one producing the diagnostic.

### Suppress all diagnostics on a line

```yaml
# yaml-language-server-disable
version: 123
```

### Suppress only specific diagnostics

Provide one or more message substrings (comma-separated, case-insensitive). Only diagnostics whose message contains a matching substring will be suppressed; the rest are kept.

```yaml
# yaml-language-server-disable Incorrect type
version: 123
```

```yaml
# yaml-language-server-disable Incorrect type, not accepted
version: 123
```

The substrings are matched against the diagnostic messages shown in the VS Code **Problems** panel.

## Adding custom tags

To use the custom tags in your YAML file, you need to first specify the custom tags in the setting of your code editor. For example, you can have the following custom tags:
Expand Down
Loading