💡 Full-featured code intelligence and smart autocomplete for Sublime Text
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
CodeIntel supports all the languages Komodo Editor supports for Code Intelligence (CIX, CodeIntel2) and a few others:
The plugin provides the following features:
The package should work on all three platforms (MacOS X, Windows, and Linux).
SublimeCodeIntel, you must ensure that
CodeIntelis installed on your system. To install
CodeIntel, do the following:
CodeIntelby typing the following in a terminal: ```
[sudo] pip install --upgrade --pre CodeIntel
# For Python 3 [sudo] pip3 install --upgrade --pre CodeIntel ```
CodeIntel2.0 or later.
With the Package Control plugin: The easiest way to install
SublimeCodeIntelis through Package Control, which can be found at this site: http://wbond.net/sublime_packages/package_control
Once you install Package Control, restart Sublime Text and bring up the Command Palette (
Command+Shift+Pon OS X,
Control+Shift+Pon Linux/Windows). Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select SublimeCodeIntel when the list appears. The advantage of using this method is that Package Control will automatically keep SublimeCodeIntel up to date with the latest version.
**With Git:** Clone the repository in your Sublime Text Packages directory, located somewhere in user's "Home" directory:
git clone git://github.com/SublimeCodeIntel/SublimeCodeIntel.git
The "Packages" packages directory is located differently on different platforms. To access the directory use:
Sublime Text -> Preferences -> Browse Packages...
Preferences -> Browse Packages...
Preferences -> Browse Packages...
Start typing code, as usual, autocomplete will pop up whenever it's available. SublimeCodeIntel will also allow you to jump around symbol definitions even across files with just a click ..and back.
For Mac OS X:
For Linux: - Jump to definition =
Super+Click- Jump to definition =
Control+Super+Alt+Up- Go back =
Control+Super+Alt+Left- Manual Code Intelligence =
For Windows: - Jump to definition =
Alt+Click- Jump to definition =
Control+Windows+Alt+Up- Go back =
Control+Windows+Alt+Left- Manual Code Intelligence =
Don't despair! The first time you use it it needs to build some indexes and it can take more than a few seconds.
It just works!
Do NOT edit the default SublimeCodeIntel settings. Your changes will be lost when SublimeCodeIntel is updated. ALWAYS edit the user SublimeCodeIntel settings by selecting "Preferences->Package Settings->SublimeCodeIntel->Settings - User". Note that individual settings you include in your user settings will completely replace the corresponding default setting, so you must provide that setting in its entirety.
SublimeCodeIntel.sublime-settingsfile in the package.
If you are having problems or SublimeCodeIntel seems slow/unresponsive/non-working, there are some things you should try:
To make sure Sublime Text didn't add SublimeCodeIntel to the list of ignored packages (this happens some times when packages are being installed/upgraded):
Preferences/Settings - Defaultmenu item
ignored_packagessetting and remove SublimeCodeIntel from the list.
To force re-indexation of the code intelligence database you need to follow these steps:
VERSIONand the directory
db. In Windows, this should be at
~/.codeinteland all of its content. Particularly, if you want to delete only the indexes, the code intelligence database indexes are located inside
If the problems persist after trying the above solutions, open a new issue in https://github.com/SublimeCodeIntel/SublimeCodeIntel/issues/
When opening new issues, please check no other issues exist which report the same problem and provide all the messages from the Sublime Text console (the console is accessed via the
ctrl+` shortcut or the
View > Show Consolemenu) and the
%userprofile%\.codeintel\codeintel.login Windows) as well as mentioning the Sublime Text version, the platform you are using and the languages you are using the code intelligence on.
v3.0.0 (unreleased, beta):
pip install --upgrade --pre CodeIntel
The plugin is based on code from the Open Komodo Editor and has an MPL license.
Ported from Open Komodo by German M. Bravo (Kronuz).