2015-11-13 13:39:38 +00:00
|
|
|
{
|
|
|
|
"name": "python",
|
2018-02-20 09:07:16 +00:00
|
|
|
"displayName": "%displayName%",
|
|
|
|
"description": "%description%",
|
2018-02-27 14:15:41 +00:00
|
|
|
"version": "1.0.0",
|
2015-11-13 13:39:38 +00:00
|
|
|
"publisher": "vscode",
|
|
|
|
"engines": { "vscode": "*" },
|
2016-07-15 02:24:31 +00:00
|
|
|
"activationEvents": ["onLanguage:python"],
|
|
|
|
"main": "./out/pythonMain",
|
2015-11-13 13:39:38 +00:00
|
|
|
"contributes": {
|
|
|
|
"languages": [{
|
|
|
|
"id": "python",
|
2019-03-04 08:31:27 +00:00
|
|
|
"extensions": [ ".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi", ".snakefile", ".smk", ".pyi", ".ipy"],
|
2015-11-13 13:39:38 +00:00
|
|
|
"aliases": [ "Python", "py" ],
|
2019-05-27 10:40:04 +00:00
|
|
|
"filenames": [ "Snakefile" ],
|
2018-06-21 08:24:20 +00:00
|
|
|
"firstLine": "^#!\\s*/.*\\bpython[0-9.-]*\\b",
|
2016-07-21 18:30:37 +00:00
|
|
|
"configuration": "./language-configuration.json"
|
2015-11-13 13:39:38 +00:00
|
|
|
}],
|
|
|
|
"grammars": [{
|
|
|
|
"language": "python",
|
|
|
|
"scopeName": "source.python",
|
2016-08-18 23:14:06 +00:00
|
|
|
"path": "./syntaxes/MagicPython.tmLanguage.json"
|
2015-11-13 17:25:18 +00:00
|
|
|
},{
|
|
|
|
"scopeName": "source.regexp.python",
|
2016-08-18 23:14:06 +00:00
|
|
|
"path": "./syntaxes/MagicRegExp.tmLanguage.json"
|
2015-11-13 13:39:38 +00:00
|
|
|
}]
|
2016-07-15 02:24:31 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"compile": "gulp compile-extension:python",
|
2016-08-18 23:14:06 +00:00
|
|
|
"watch": "gulp watch-extension:python",
|
|
|
|
"update-grammar": "node ../../build/npm/update-grammar.js MagicStack/MagicPython grammars/MagicPython.tmLanguage ./syntaxes/MagicPython.tmLanguage.json grammars/MagicRegExp.tmLanguage ./syntaxes/MagicRegExp.tmLanguage.json"
|
2015-11-13 13:39:38 +00:00
|
|
|
}
|
2015-12-03 16:39:41 +00:00
|
|
|
}
|