Adds xonsh language support for VSCode Editor.
It trieds to modify the default VSCode's Python extension to support xonsh as well.
-
Syntax Highlight
-
the tmLanguage file from MagicPython extension is used.
-
code snippets inside
markdownfiles also work.
-
PRs welcome for them
-
at this point it doesn't do anything special than
MagicPythonwithlanguage-configuration.json- add subprocess mode lines support - https://macromates.com/manual/en/regular_expressions
- add $variable support
- add macros syntax support
- path string support
- the extra set of syntax - https://github.com/ninjaaron/xonsh-quickstart (I don't find a list of checklist anywhere else.)
-
auto-formatter support
-
code-completion support
-
snippets
Hit F1 and enter the ext install jnoortheen.xonsh command or search for xonsh .
I have created this extension since there were none to support Xonsh. It is a superset of Python but has breaking syntax definition. So setting language mode as Python will list Syntax errors. This is just a start, adding basic syntax highlight. PRs are welcome. If we can add features from the Python extension it is great editor as well. Our aim is to make the Python extension support xonsh as well. It will happen only when it becomes popular enough.
- Document the purpose of functions and classes.
- When adding a new feature, please mention it in the
README.mdFeatures section. Use screenshots when applicable. - Conventional Commit style should be used for commit messages as it is used to generate changelog.
- TypeScript is used to develop the extension
yarn install
yarn build # this will build the extension- check Extension Quickstart
- husky is used for git hooks
Special thanks to
- The extension sublime-cocnut does support coconut language. Which is also a superset of Python.