-
Notifications
You must be signed in to change notification settings - Fork 18
/
CodeComplice.sublime-settings
executable file
·166 lines (143 loc) · 6.02 KB
/
CodeComplice.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/*
SublimeCodeIntel default settings
All settings can be overridden in *.sublime-project file
*/
{
/*
Sets the mode in which SublimeCodeIntel runs:
true - Enabled (the default).
false - Disabled.
*/
"codeintel": true,
/* path to codeintel database */
"codeintel_database_dir": "~/.codeintel",
/*
An array of language names which are enabled.
*/
"codeintel_enabled_languages":
[
"JavaScript", "SCSS", "Python", "HTML", "Go",
"Ruby", "Python3", "XML", "Sass", "HTML5", "Perl", "CSS",
"Twig", "Less", "Node.js", "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"
},
/* ####################################################################### */
/* the following settings can be overridden for each language individually */
/* see "codeintel_language_settings" below! */
/* ####################################################################### */
/*
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,
/*
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).
"tooltip" - Uses new-style HTML tooltips (requires ST3 Build 3070 or later).
*/
"codeintel_tooltips": "popup",
/*
CSS file for "tooltip"-type tooltips
File path is relative to Packages directory. Custom styling should be
placed under your "User" directory.
Built-in styles:
"CodeComplice/css/light.css" - Style to work with light themes
"CodeComplice/css/dark.css" - Style to work with dark themes
"CodeComplice/css/default.css" - Default style
*/
"codeintel_tooltip_css_file": "CodeComplice/css/light.css",
/*
"buffer" - add word completions from current view
"all" - add word completions from all views from active window
"none" - do not add word completions
*/
"codeintel_word_completions": "buffer",
/*
Insert functions snippets.
*/
"codeintel_snippets": true,
/*
Define global filters to exclude paths from scanning. Use the codeintel_config setting for language specific settings.
ex: ["list/of","/path/to/exclude"]
(Currently only working for JavaScript and PHP)
*/
"codeintel_scan_exclude_dir":[],
/* 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 libraries.
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": [],
/*
When editing within a defined scope, no live completion will trigger. ex: ["comment"]
*/
"codeintel_exclude_scopes_from_complete_triggers": ["comment"],
/*
Defines a configuration for each language.
*/
"codeintel_language_settings": {
"Python3": {
"python3": "/usr/local/bin/python3.3",
"codeintel_scan_extra_dir": [
"/Applications/Sublime Text.app/Contents/MacOS",
"~/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/arch",
"~/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/libs"
]
},
"Go": {
"env": {
"GOPATH": "$GOPATH"
},
"go": "/usr/local/go/bin/go",
"gocode": "~/gocode/bin/gocode",
"godef": "~/gocode/bin/godef"
},
"JavaScript": {
"codeintel_scan_extra_dir": [],
"codeintel_scan_exclude_dir":["/build/", "/min/"],
"codeintel_scan_files_in_project": false,
"codeintel_selected_catalogs": ["jQuery"]
},
"Ruby": {
"Ruby": "/usr/bin/ruby",
"codeintel_selected_catalogs": ["rails"]
},
"PHP": {
"php": "/Applications/MAMP/bin/php/php5.5.3/bin/php",
"codeintel_scan_extra_dir": [],
"codeintel_scan_files_in_project": true,
"codeintel_max_recursive_dir_depth": 15,
"codeintel_scan_exclude_dir":["/Applications/MAMP/bin/php/php5.5.3/"]
}
}
}