| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Code intelligence plugin ported from Open Komodo Editor to Sublime Text 2.
Supports all the languages Komodo Editor supports for Code Intelligence (CIX, CodeIntel2):
PHP, Python, RHTML, JavaScript, Smarty, Mason, Node.js, XBL, Tcl, HTML, HTML5, TemplateToolkit, XUL, Django, Perl, Ruby, Python3.
Provides the following features:
Plugin should work in all three platforms (MacOS X, Windows and Linux).
With the Package Control plugin: The easiest way to install SublimeCodeIntel is through Package Control, which can be found at this site: http://wbond.net/sublime_packages/package_control
Once you install Package Control, restart ST2 and bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on 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.
Without Git: Download the latest source from GitHub and copy the whole directory into the Packages directory.
With Git: Clone the repository in your Sublime Text 2 Packages directory, located somewhere in user's "Home" directory:
git clone git://github.com/Kronuz/SublimeCodeIntel.git
The "Packages" packages directory is located at:
OS X:
~/Library/Application Support/Sublime Text 2/Packages/
Linux:
~/.Sublime Text 2/Packages/
Windows:
%APPDATA%/Sublime Text 2/Packages/
Don't despair! The first time you use it it needs to build some indexes and it can take more than a few seconds (around six in my configuration).
It just works!
For adding additional library paths (django and extra libs paths for Python or extra paths to look for .js files for JavaScript for example), either add those paths as folders to your project, or create an optional codeintel configuration file in your home or in your project's root.
Configuration files (~/.codeintel/config or project_root/.codeintel/config). All configurations are optional. Example:
{
"PHP": {
"php": '/usr/bin/php',
"phpExtraPaths": [],
"phpConfigFile": 'php.ini'
},
"JavaScript": {
"javascriptExtraPaths": []
},
"Perl": {
"perl": "/usr/bin/perl",
"perlExtraPaths": []
},
"Ruby": {
"ruby": "/usr/bin/ruby",
"rubyExtraPaths": []
},
"Python": {
"python": '/usr/bin/python',
"pythonExtraPaths": []
},
"Python3": {
"python": '/usr/bin/python3',
"pythonExtraPaths": []
}
}
Additional settings can be configured in the User File Settings:
Using build.sh
If everything else fails, try rebuilding the libraries using build.sh. You need to install some things to make sure it's going to work. These are likely to be packaged on your system, such as, for Ubuntu/Debian-like distros. Open a terminal and do:
$ sudo apt-get install g++ $ sudo apt-get install python-dev
Once you have installed those, you may need to use the build.sh script. In your terminal, go to your Packages/SublimeCodeIntel/src folder, then simply run:
$ ./build.sh
v1.3 (20-12-2011):
v1.2 (18-12-2011):
The plugin is based in code from the Open Komodo Editor and has a MPL license.
Ported from Open Komodo by German M. Bravo (Kronuz).
| Back | FazBrowse Home | New Git URL |