mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
![Daniel Imms](/assets/img/avatar_default.png)
While Python worked well with GN in v0.10.3, since then the progress made with the Python language syntax highlighting doesn't play well with the extra quirks on top of Python that GN introduces (braces, no colons to indicate blocks). Making it less usable than no language mode.
24 lines
594 B
JSON
24 lines
594 B
JSON
{
|
|
"name": "python",
|
|
"version": "0.1.0",
|
|
"publisher": "vscode",
|
|
"engines": { "vscode": "*" },
|
|
"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"
|
|
}]
|
|
}
|
|
}
|