/vscode-xonsh

VSCode extension for Xonsh language support

Primary LanguageTypeScriptMIT LicenseMIT

Adds xonsh language support for VSCode Editor.

It trieds to modify the default VSCode's Python extension to support xonsh as well.

Features

  • Syntax Highlight

    • the tmLanguage file from MagicPython extension is used.

    • code snippets inside markdown files also work.

Todos

PRs welcome for them

Installation

Visual Studio Code

Hit F1 and enter the ext install jnoortheen.xonsh command or search for xonsh .

Contributing

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.md Features section. Use screenshots when applicable.
  • Conventional Commit style should be used for commit messages as it is used to generate changelog.

Development

  • TypeScript is used to develop the extension
  yarn install
  yarn build # this will build the extension

Special thanks to

  • The extension sublime-cocnut does support coconut language. Which is also a superset of Python.

Links