-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSublimeCodeIntel.sublime-settings
132 lines (115 loc) · 4.44 KB
/
SublimeCodeIntel.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/*
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": true,
/*
Tooltips method:
"popup" - Uses Autocomplete popup for tooltips.
"panel" - Uses the output panel for tooltips.
"status" - Uses the status bar for tooltips (was the default).
*/
"codeintel_tooltips": "popup",
/*
Insert functions snippets.
*/
"codeintel_snippets": true,
/*
An array of language names which are enabled.
*/
"codeintel_enabled_languages":
[
"JavaScript", "Mason", "XBL", "XUL", "RHTML", "SCSS", "Python", "HTML",
"Ruby", "Python3", "XML", "Sass", "XSLT", "Django", "HTML5", "Perl", "CSS",
"Twig", "Less", "Smarty", "Node.js", "Tcl", "TemplateToolkit", "PHP"
],
/*
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 enable.
*/
"codeintel_live_enabled_languages":
[
"JavaScript", "Mason", "XBL", "XUL", "RHTML", "SCSS", "Python", "HTML",
"Ruby", "Python3", "XML", "Sass", "XSLT", "Django", "HTML5", "Perl", "CSS",
"Twig", "Less", "Smarty", "Node.js", "Tcl", "TemplateToolkit", "PHP"
],
/*
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", "Rails"
],
/*
Defines a configuration for each language.
*/
"codeintel_config": {
"Python": {
"env": {
/*
"PATH": "/usr/local/bin:/usr/local/sbin:$PATH",
"PYTHONPATH": "/usr/local/lib/python2.7/site-packages:/usr/local/lib/python:$PYTHONPATH"
*/
}
},
"JavaScript": {
"javascriptExtraPaths": [],
"codeintel_scan_files_in_project": false,
"codeintel_max_recursive_dir_depth": 2
},
"PHP": {
"phpExtraPaths": [],
"codeintel_scan_files_in_project": false,
"codeintel_max_recursive_dir_depth": 5
}
}
}