{ "name": "vscode-yaml", "displayName": "YAML", "description": "YAML Language Support by Red Hat, with built-in Kubernetes syntax support", "author": "Red Hat", "contributors": [ { "name": "Joshua Pinkney", "email": "jpinkney@redhat.com" }, { "name": "Yevhen Vydolob", "email": "yvydolob@redhat.com" } ], "license": "MIT", "version": "1.15.0", "publisher": "redhat", "bugs": "https://github.com/redhat-developer/vscode-yaml/issues", "repository": { "type": "git", "url": "https://github.com/redhat-developer/vscode-yaml" }, "icon": "icon/icon128.png", "engines": { "npm": ">=7.0.0", "vscode": "^1.63.0" }, "categories": [ "Programming Languages", "Linters", "Snippets", "Formatters" ], "capabilities": { "untrustedWorkspaces": { "supported": true }, "virtualWorkspaces": true }, "activationEvents": [ "onLanguage:yaml", "onLanguage:dockercompose" ], "keywords": [ "kubernetes", "yaml", "autocompletion", "validation" ], "main": "./dist/extension", "browser": "./dist/extension-web", "contributes": { "languages": [ { "id": "yaml", "aliases": [ "YAML", "yaml" ], "extensions": [ ".yml", ".eyaml", ".eyml", ".yaml" ], "filenames": [ ".clang-format", "_clang-format" ], "firstLine": "^#cloud-config", "configuration": "./language-configuration.json" } ], "grammars": [ { "language": "yaml", "scopeName": "source.yaml", "path": "./syntaxes/yaml.tmLanguage.json" } ], "configuration": { "title:": "YAML", "properties": { "redhat.telemetry.enabled": { "type": "boolean", "default": null, "markdownDescription": "Enable usage data and errors to be sent to Red Hat servers. Read our [privacy statement](https://developers.redhat.com/article/tool-data-collection).", "scope": "window", "tags": [ "telemetry", "usesOnlineServices" ] }, "yaml.yamlVersion": { "type": "string", "default": "1.2", "enum": [ "1.1", "1.2" ], "markdownDescription": "Default YAML spec version" }, "yaml.trace.server": { "type": "string", "enum": [ "off", "messages", "verbose" ], "default": "off", "description": "Traces the communication between VSCode and the YAML language service." }, "yaml.schemas": { "type": "object", "default": {}, "description": "Associate schemas to YAML files in the current workspace" }, "yaml.format.enable": { "type": "boolean", "default": true, "description": "Enable/disable default YAML formatter" }, "yaml.format.singleQuote": { "type": "boolean", "default": false, "description": "Use single quotes instead of double quotes" }, "yaml.format.bracketSpacing": { "type": "boolean", "default": true, "description": "Print spaces between brackets in objects" }, "yaml.format.proseWrap": { "type": "string", "default": "preserve", "enum": [ "preserve", "never", "always" ], "description": "Always: wrap prose if it exceeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is" }, "yaml.format.printWidth": { "type": "integer", "default": 80, "description": "Specify the line length that the printer will wrap on" }, "yaml.validate": { "type": "boolean", "default": true, "description": "Enable/disable validation feature" }, "yaml.hover": { "type": "boolean", "default": true, "description": "Enable/disable hover feature" }, "yaml.completion": { "type": "boolean", "default": true, "description": "Enable/disable completion feature" }, "yaml.customTags": { "type": "array", "default": [], "description": "Custom tags for the parser to use" }, "yaml.schemaStore.enable": { "type": "boolean", "default": true, "description": "Automatically pull available YAML schemas from JSON Schema Store" }, "yaml.schemaStore.url": { "type": "string", "default": "https://www.schemastore.org/api/json/catalog.json", "description": "URL of schema store catalog to use" }, "yaml.disableAdditionalProperties": { "type": "boolean", "default": false, "description": "Globally set additionalProperties to false for all objects. So if its true, no extra properties are allowed inside yaml." }, "yaml.disableDefaultProperties": { "type": "boolean", "default": false, "description": "Disable adding not required properties with default values into completion text." }, "yaml.maxItemsComputed": { "type": "integer", "default": 5000, "description": "The maximum number of outline symbols and folding regions computed (limited for performance reasons)." }, "yaml.suggest.parentSkeletonSelectedFirst": { "type": "boolean", "default": false, "description": "If true, the user must select some parent skeleton first before autocompletion starts to suggest the rest of the properties. When yaml object is not empty, autocompletion ignores this setting and returns all properties and skeletons" }, "yaml.style.flowMapping": { "type": "string", "enum": [ "allow", "forbid" ], "default": "allow", "description": "Forbid flow style mappings" }, "yaml.style.flowSequence": { "type": "string", "enum": [ "allow", "forbid" ], "default": "allow", "description": "Forbid flow style sequences" }, "yaml.keyOrdering": { "type": "boolean", "default": false, "description": "Enforces alphabetical ordering of keys in mappings when set to true" }, "yaml.extension.recommendations": { "type": "boolean", "default": "true", "description": "Suggest additional extensions based on YAML usage." } } }, "configurationDefaults": { "[yaml]": { "editor.insertSpaces": true, "editor.tabSize": 2, "editor.quickSuggestions": { "other": true, "comments": false, "strings": true }, "editor.autoIndent": "keep" } } }, "extensionDependencies": [], "scripts": { "build": "yarn run clean && yarn run lint && yarn run vscode:prepublish", "check-dependencies": "node ./scripts/check-dependencies.js", "clean": "rimraf out && rimraf dist", "compile": "webpack --mode none", "format": "prettier --write .", "lint": "eslint -c .eslintrc.js --ext .ts src test", "test": "yarn test-compile && sh scripts/e2e.sh", "ui-test": "yarn test-compile && extest setup-and-run -y out/test/ui-test/allTestsSuite.js -c 1.76.2", "vscode:prepublish": "webpack --mode production", "watch": "webpack --mode development --watch --info-verbosity verbose", "test-compile": "yarn clean && tsc -p ./ && webpack --mode development", "run-in-chromium": "npm run compile && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ." }, "devDependencies": { "@types/chai": "^4.2.12", "@types/fs-extra": "^9.0.6", "@types/mocha": "^2.2.48", "@types/node": "^12.12.6", "@types/sinon": "^10.0.6", "@types/sinon-chai": "^3.2.5", "@types/vscode": "^1.63.0", "@types/webpack": "^4.4.10", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", "@vscode/test-electron": "^2.4.0", "@vscode/test-web": "0.0.11", "buffer": "^6.0.3", "chai": "^4.2.0", "crypto-browserify": "^3.12.0", "eslint": "^8.57.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "glob": "^7.1.6", "mocha": "^9.1.2", "path-browserify": "^1.0.1", "prettier": "2.2.1", "process": "^0.11.10", "rimraf": "^3.0.2", "sinon": "^12.0.1", "sinon-chai": "^3.7.0", "ts-loader": "^9.2.5", "ts-node": "^3.3.0", "typescript": "^5.4.5", "umd-compat-loader": "^2.1.2", "url": "^0.11.0", "util": "^0.12.5", "vscode-extension-tester": "^5.3.0", "webpack": "^5.76.1", "webpack-cli": "^5.0.1" }, "dependencies": { "@redhat-developer/vscode-redhat-telemetry": "^0.8.0", "fs-extra": "^9.1.0", "request-light": "^0.5.7", "vscode-languageclient": "7.0.0", "vscode-nls": "^3.2.1", "vscode-uri": "^2.0.3", "whatwg-fetch": "^3.6.2", "yaml-language-server": "1.15.0" }, "__metadata": { "id": "2061917f-f76a-458a-8da9-f162de22b97e", "publisherId": "eed56242-9699-4317-8bc7-e9f4b9bdd3ff", "publisherDisplayName": "Red Hat", "targetPlatform": "undefined", "isApplicationScoped": false, "isPreReleaseVersion": false, "hasPreReleaseVersion": false, "installedTimestamp": 1722439370177, "pinned": false, "preRelease": false, "source": "gallery" } }