vscode/extensions/powershell/package.json
Michael Klement f198b6fdd0
Update package.json
PowerShell Core, whose executable filename is `pwsh`, supports shebang lines on Unix platforms. This change would make VSCode properly recognize extension-less PowerShell Core scripts that have a shebang line.
2018-02-22 17:04:29 -05:00

30 lines
849 B
JSON

{
"name": "powershell",
"displayName": "%displayName%",
"description": "%description%",
"version": "0.1.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"
}
}