Skip to content

Instantly share code, notes, and snippets.

@harmo
Created July 19, 2013 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harmo/3877abdfe60be6d99623 to your computer and use it in GitHub Desktop.
Save harmo/3877abdfe60be6d99623 to your computer and use it in GitHub Desktop.
Sublime code intel config
/*
SublimeCodeIntel default settings
*/
{
/*
Sets the mode in which SublimeCodeIntel runs:
true - Enabled (the default).
false - Disabled.
*/
"codeintel": true,
/* Disable Sublime Text autocomplete: */
"sublime_auto_complete": false,
/*
Insert functions snippets.
*/
"codeintel_snippets": true,
/*
An array of language names which are disabled.
*/
"codeintel_disabled_languages":
[
],
/*
Sets the mode in which SublimeCodeIntel's live autocomplete runs:
true - Autocomplete popups as you type (the default).
false - Autocomplete popups only when you request it.
*/
"codeintel_live": true,
/*
An array of language names to disable.
*/
"codeintel_live_disabled_languages":
[
],
/*
Maps syntax names to languages. This allows variations on a syntax
(for example "Python (Django)") to be used. The key is
the base filename of the .tmLanguage syntax files, and the value
is the syntax it maps to.
*/
"codeintel_syntax_map":
{
"Python Django": "Python"
},
/*
Define filters per language to exclude paths from scanning.
ex: "JavaScript":["/build/", "/min/"]
*/
"codeintel_scan_exclude_dir":
{
"JavaScript":["/build/", "/min/"]
},
/* Code Scanning: Controls how the Code Intelligence system scans your source code files. */
/* Maximum directory depth: */
"codeintel_max_recursive_dir_depth": 10,
/* Include all files and directories from the project base directory: */
"codeintel_scan_files_in_project": true,
/* API Catalogs: SublimeCodeIntel uses API catalogs to provide autocomplete and calltips for 3rd-party libraies.
Add te libraries that you use in your code. Note: Adding all API catalogs for a particular language can lead to confusing results.
Avaliable catalogs:
PyWin32 (Python3) (for Python3: Python Extensions for Windows)
PyWin32 (for Python: Python Extensions for Windows)
Rails (for Ruby: Rails version 1.1.6)
jQuery (for JavaScript: jQuery JavaScript library - version 1.9.1)
Prototype (for JavaScript: JavaScript framework for web development)
dojo (for JavaScript: Dojo Toolkit API - version 1.5.0)
Ext_30 (for JavaScript: Ext JavaScript framework - version 3.0)
HTML5 (for JavaScript: HTML5 (Canvas, Web Messaging, Microdata))
MochiKit (for JavaScript: A lightweight JavaScript library - v1.4.2)
Mozilla Toolkit (for JavaScript: Mozilla Toolkit API - version 1.8)
XBL (for JavaScript: XBL JavaScript support - version 1.0)
YUI (for JavaScript: Yahoo! User Interface Library - v2.8.1)
Drupal (for PHP: A full-featured PHP content management/discussion engine -- v5.1)
PECL (for PHP: A collection of PHP Extensions)
*/
"codeintel_selected_catalogs": [
"PyWin32", "jQuery", "HTML5"
],
/*
Defines a configuration for each language.
*/
"codeintel_config": {
"JavaScript": {
"javascriptExtraPaths": [],
"codeintel_scan_files_in_project": false,
"codeintel_max_recursive_dir_depth": 2
},
"PHP": {
"php": "/usr/bin/php",
"phpExtraPaths": [],
"phpConfigFile": "php.ini",
"codeintel_scan_files_in_project": false,
"codeintel_max_recursive_dir_depth": 5
},
"Python": {
"python": "/usr/bin/python2",
"pythonExtraPaths": []
},
"Python3": {
"python": "/usr/bin/python3",
"pythonExtraPaths": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment