Installation
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, you can use pip
with something like:
pip install git+https://github.com/spyder-ide/[email protected]
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.
Common issues
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:
What's Changed
- PR: Missing specification in
pyproject.toml
to makekite_provider
discoverable by @dalthviz in #16 - PR: Update
CHANGELOG
and.gitignore
for 0.2.0 release by @dalthviz in #18
Full Changelog: v0.1.0...v0.2.0