To use this completions provider you will need to install Spyder 6 (at least 6.0.0a3) and install Kite (latest executable available from the Kite release page)
To install the provider package, clone this repo and then over the root of the created directory (and the Python environment you want to install the provider activated) you can use pip
with something like:
pip install -e .
Note: Support for Kite is not available anymore. The code here is meant to be used for demonstration proposes only, using it could brake your Spyder setup or make Spyder unstable! Use/install at your own risk.
From our testing, there are some common errors that can occur when using the Kite provider on Windows (or more specifically, when using as files End-Of-Line/EOL the CRLF
value). Here a list of some of them:
- Can't get results from Kite inside the onboarding file (
kite_tutorial.py
) or a temporary file - When accepting Kite completions the text gets partially overwritten
The errors above can be avoided by changing the files EOL from CRLF
to LF
. You can do this change inside Spyder via the Source
menu: Source > Convert end-of-line characters
and selecting the option LF (Unix)
:
Besides the option above, you can also use the Spyder Convert end-of-line characters to the following on save
option. Inside Spyder go to Preferences > Editor > Advanced settings > End-of-line characters
and enable the option:
This project depends on Spyder.
Visit our CHANGELOG file to know more about our new features and improvements.
Everyone is welcome to contribute!
Spyder is funded thanks to the generous support of
and the donations we have received from our users around the world through Open Collective: