Git Product home page Git Product logo

vscode-xonsh's Introduction

Adds xonsh language support for VSCode Editor.

Features

  • Syntax Highlight

    • the tmLanguage file from MagicPython extension is used.

    • code snippets inside markdown files also work.

  • Autocompletion with Language server protocol.

    • pylsp is used for jedi completion.

Installation

Visual Studio Code

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

Python-language-server

  • Make sure that pylsp is installed and available on the $PATH
  • I recommend using pipx
pipx install 'python-lsp-server[all]'
  • Previous versions of this extension used the older pyls by Palantir. Further development is taking place in the community fork pylsp. Due to the way configuration variables are handled, this extension is NOT backwards compatible with pyls. If you must use pyls, please downgrade to version 0.1.13.

Contributing

I have created this extension since there were none to support Xonsh. PRs are welcome to add new features/fixes.

Please make sure that you

  • 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-coconut does support coconut language. Which is also a superset of Python.

Links

vscode-xonsh's People

Contributors

jnoortheen avatar dependabot[bot] avatar maresb avatar wight554 avatar anki-code avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.