vscode/extensions/powershell/package.json
Martin Aeschlimann ccba4e6c27
Merge pull request #44239 from mklement0/patch-2
Update package.json to support PowerShell Core shebang lines.
2018-04-16 22:25:30 +02:00

29 lines
849 B
JSON

{
"name": "powershell",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"engines": { "vscode": "*" },
"contributes": {
"languages": [{
"id": "powershell",
"extensions": [ ".ps1", ".psm1", ".psd1", ".pssc", ".psrc" ],
"aliases": [ "PowerShell", "powershell", "ps", "ps1" ],
"firstLine": "^#!/.*\\bpwsh\\b",
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "powershell",
"scopeName": "source.powershell",
"path": "./syntaxes/powershell.tmLanguage.json"
}],
"snippets": [{
"language": "powershell",
"path": "./snippets/powershell.json"
}]
},
"scripts": {
"update-grammar": "node ../../build/npm/update-grammar.js PowerShell/EditorSyntax PowerShellSyntax.tmLanguage ./syntaxes/powershell.tmLanguage.json"
}
}