mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
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.
This commit is contained in:
parent
6fb3e81569
commit
f198b6fdd0
|
@ -10,6 +10,7 @@
|
|||
"id": "powershell",
|
||||
"extensions": [ ".ps1", ".psm1", ".psd1", ".pssc", ".psrc" ],
|
||||
"aliases": [ "PowerShell", "powershell", "ps", "ps1" ],
|
||||
"firstLine": "^#!/.*\\bpwsh\\b",
|
||||
"configuration": "./language-configuration.json"
|
||||
}],
|
||||
"grammars": [{
|
||||
|
@ -25,4 +26,4 @@
|
|||
"scripts": {
|
||||
"update-grammar": "node ../../build/npm/update-grammar.js PowerShell/EditorSyntax PowerShellSyntax.tmLanguage ./syntaxes/powershell.tmLanguage.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue