mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
30 lines
772 B
JSON
30 lines
772 B
JSON
{
|
|
"name": "python",
|
|
"version": "0.1.0",
|
|
"publisher": "vscode",
|
|
"engines": { "vscode": "*" },
|
|
"activationEvents": ["onLanguage:python"],
|
|
"main": "./out/pythonMain",
|
|
"contributes": {
|
|
"languages": [{
|
|
"id": "python",
|
|
"extensions": [ ".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi" ],
|
|
"aliases": [ "Python", "py" ],
|
|
"firstLine": "^#!/.*\\bpython[0-9.-]*\\b",
|
|
"configuration": "./python.configuration.json"
|
|
}],
|
|
"grammars": [{
|
|
"language": "python",
|
|
"scopeName": "source.python",
|
|
"path": "./syntaxes/Python.tmLanguage"
|
|
},{
|
|
"scopeName": "source.regexp.python",
|
|
"path": "./syntaxes/Regular Expressions (Python).tmLanguage"
|
|
}]
|
|
},
|
|
"scripts": {
|
|
"compile": "gulp compile-extension:python",
|
|
"watch": "gulp watch-extension:python"
|
|
}
|
|
}
|