Files
playwrong/.vscode/extensions/playwrong-syntax/package.json
2025-07-17 05:32:02 +02:00

67 lines
1.5 KiB
JSON

{
"name": "playwrong-syntax",
"displayName": "PlayWrong Test Language",
"description": "Syntax highlighting and linting for PlayWrong test files",
"version": "1.0.0",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages",
"Linters"
],
"main": "./extension.js",
"activationEvents": [
"onLanguage:playwrong"
],
"contributes": {
"languages": [
{
"id": "playwrong",
"aliases": ["PlayWrong", "playwrong"],
"extensions": [".test"],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "playwrong",
"scopeName": "source.playwrong",
"path": "./syntaxes/playwrong.tmLanguage.json"
}
],
"themes": [
{
"label": "PlayWrong Theme",
"uiTheme": "vs-dark",
"path": "./themes/playwrong-theme.json"
}
],
"commands": [
{
"command": "playwrong.lint",
"title": "Lint PlayWrong Test File",
"category": "PlayWrong"
},
{
"command": "playwrong.lintStrict",
"title": "Lint PlayWrong Test File (Strict)",
"category": "PlayWrong"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == playwrong",
"command": "playwrong.lint",
"group": "navigation"
},
{
"when": "resourceLangId == playwrong",
"command": "playwrong.lintStrict",
"group": "navigation"
}
]
}
}
}