/pyspeer

Pyspeer spears Pylance

Primary LanguageJavaScriptMIT LicenseMIT

Pyspeer

Pyspeer patches Pylance to permit the usage outside of Visual Studio Code, such as Emacs and Neovim.

How to use

Prerequisites:

  • Install Node.js
  • Download Pylance extension
  • Clone Pyspeer repository

Instructions:

  1. cd /path/to/repo
  2. yarn
  3. yarn rollup -c
  4. cd /path/to/pylance/dist
  5. cat /path/to/pyspeer.min.js server.bundle.js > magic.js
  6. node magic.js > server.bundle.jailbreak.js
  7. ???
  8. Profit

Legal

This goes without saying, but you violate the Microsoft Software License Terms Microsoft Pylance Extension For Visual Studio Code if you choose to use Pyspeer on the real Pylance extension.