Kite Python Autocomplete
Kite Autocomplete Plugin for Sublime Text: Featuring AI-powered autocompletions, advanced function signatures, and instant documentation
Details
Installs
- Total 27K
- Win 18K
- Mac 4K
- Linux 6K
Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 2 | 3 | 3 | 1 | 2 | 3 | 3 | 4 | 6 | 3 | 4 | 2 | 4 | 4 | 0 | 2 | 0 | 5 | 3 | 1 | 9 | 2 | 1 | 3 | 2 | 5 | 2 | 1 | 3 | 0 | 2 | 0 | 1 | 1 | 3 | 2 | 4 | 1 | 8 | 5 | 3 | 6 | 1 | 6 | 3 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 |
Linux | 0 | 0 | 2 | 0 | 4 | 0 | 2 | 1 | 0 | 1 | 1 | 5 | 0 | 3 | 4 | 0 | 0 | 3 | 2 | 1 | 1 | 1 | 2 | 1 | 0 | 4 | 1 | 4 | 1 | 2 | 3 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 |
Readme
- Source
- raw.githubusercontent.com
Kite Autocomplete Plugin for Sublime Text 3
Kite is an AI-powered programming assistant that helps you write Python & JavaScript code inside Sublime Text 3. Kite helps you write code faster by saving you keystrokes and showing you the right information at the right time. Learn more about how Kite saves you time and effort in Sublime Text at https://kite.com/integrations/sublime-text/.
At a high level, Kite provides you with: * 🧠 Line-of-Code Completions powered by machine learning models trained on the entire open source code universe * 🔍 Instant documentation for the symbol underneath your cursor so you save time searching for Python docs
Requirements
- macOS 10.10+ or Windows 7+ or Linux (Ubuntu, Debian, Fedora, Arch Linux, Linux Mint, openSUSE, KDE, XFCE, Gnome 2, Gnome 3)
- Sublime Text build 3000+
- Kite Engine
Use another editor? Check out Kite’s other editor integrations.
Installation
Installing the Kite Engine
The Kite Engine needs to be installed in order for the package to work properly. The package itself provides the frontend that interfaces with the Kite Engine, which performs all the code analysis and machine learning 100% locally on your computer (no code is sent to a cloud server).
macOS Instructions
1. Download the installer and open the
downloaded .dmg
file.
2. Drag the Kite icon into the Applications
folder.
3. Run Kite.app
to start the Kite Engine.
Windows Instructions
1. Download the installer and run the
downloaded .exe
file.
2. The installer should run the Kite Engine automatically after installation is complete.
Linux Instructions 1. View our instructions for installing Kite. 2. The installer should run the Kite Engine automatically after installation is complete.
Installing the Kite Plugin for Sublime
When running the Kite Engine for the first time, you'll be guided through a setup process which will allow you to install the Sublime package. You can also install or uninstall the Sublime package at any time using the Kite Engine's plugin manager.
Alternatively, you can git clone
this repository directly into your Sublime Packages
directory. You can locate your
Packages
directory by opening Sublime, clicking on the Preferences
menu item, then selecting Browse Packages...
.
Usage
The following is a brief guide to using Kite in its default configuration.
Autocompletions
Simply start typing in a saved Python or JavaScript file and Kite will automatically suggest completions for what you're typing.
Hover (Python only)
Hover your mouse cursor over a symbol to view a short summary of what the symbol represents.
If the built-in show_definition
preference is enabled, Kite will show you the definitions and references found in the
Sublime index as usual.
Documentation (Python only)
Click on the Docs
link in the hover popup to open the documentation for the symbol inside the Copilot, Kite's desktop app for Python documentation (JavaScript documentation not yet available). The Copilot's search results also follow your cursor as you type.
Definitions (Python only)
If a Def
link is available in the hover popup, clicking on it will jump to the definition of the symbol.
Function Signatures (Python only)
When you call a function in Python, Kite will show you the arguments required to call it.
Kite also shows you How others used this
function, which are the most popular calling patterns inferred from all the
open-source Python code on the internet.
Commands and Keyboard Shortcuts
In case you prefer to not use the mouse, most of Kite's features can be triggered from the command palette.
Furthermore, Kite comes with the following default keyboard shortcuts:
Command | Shortcut | Description |
---|---|---|
H over |
ctrl +alt +h |
Show the hover popup at your current cursor position |
D ocumentation |
ctrl +alt +d |
Show documentation in the Copilot |
Fu nction Signatures |
ctrl +alt +u |
Show the function signature panel |
Key word Arguments |
ctrl +alt +y |
Show/hide keyword arguments (when function signature panel is shown) |
Popular Patterns |
ctrl +alt +r |
Show/hide popular calling patterns (when function signature panel is shown) |
Configuration
You can change Kite's settings by clicking on Preferences
, then Package Settings
, then Kite
. Alternatively, you can
access the preferences files from the command palette using Kite: Package Settings
. The default preferences file should
be self documenting.
Known Issues
- On Sublime 3200+, the function signature UI is truncated in some situations. (Issue)
Troubleshooting
Visit our help docs for FAQs and troubleshooting support.
Happy coding!
About Kite
Kite is built by a team in San Francisco devoted to making programming easier and more enjoyable for all. Follow Kite on Twitter and get the latest news and programming tips on the Kite Blog. Kite has been featured in Wired, VentureBeat, The Next Web, and TechCrunch.