Genesis
This commit is contained in:
67
.vscode/extensions/playwrong-syntax/package.json
vendored
Normal file
67
.vscode/extensions/playwrong-syntax/package.json
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user