New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[python] Integrate MagicPython into VS Code #2867
Comments
fyi @aeschli |
+1 Apparently, GitHub uses MagicPython as part of Linguist. |
@1st1 , thanks for identifying that issue. Hopefully the new PR fixes that. |
@1st1 VSCode doesn't use the name in the tmLanguageFile. We instead use the first 'alias' in the language contribution: https://github.com/Microsoft/vscode/blob/master/extensions/python/package.json#L9. "contributes": {
"grammars": [{
"language": "python",
"scopeName": "source.python",
"path": "./syntaxes/MyNewPython.tmLanguage.json"
}],
},
"extensionDependencies": [ "vscode.python" ] |
As the name is not used, we can of course still change it, but I recommend to keep it as is so that people can see where the grammar comes from. |
Closing, as nothing further to be done anymore. |
MagicPython is so much better than the default Python syntax highlighter in VS Code. In my opinion, MagicPython should be the default Python syntax highlighter.
The text was updated successfully, but these errors were encountered: