Skip to content

Commit 9f0d470

Browse files
author
spectacles
committed
initial commit
0 parents  commit 9f0d470

File tree

355 files changed

+1310840
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

355 files changed

+1310840
-0
lines changed

.no-sublime-package

Whitespace-only changes.

CodeComplice.py

+1,752
Large diffs are not rendered by default.

CodeComplice.sublime-settings

+144
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
/*
2+
SublimeCodeIntel default settings
3+
All settings can be overridden in *.sublime-project file
4+
*/
5+
{
6+
/*
7+
Sets the mode in which SublimeCodeIntel runs:
8+
9+
true - Enabled (the default).
10+
false - Disabled.
11+
*/
12+
"codeintel": true,
13+
14+
/* path to codeintel database */
15+
"codeintel_database_dir": "~/.codeintel",
16+
17+
/*
18+
An array of language names which are enabled.
19+
*/
20+
"codeintel_enabled_languages":
21+
[
22+
"JavaScript", "SCSS", "Python", "HTML",
23+
"Ruby", "Python3", "XML", "Sass", "HTML5", "Perl", "CSS",
24+
"Twig", "Less", "Node.js", "TemplateToolkit", "PHP"
25+
],
26+
27+
/*
28+
Maps syntax names to languages. This allows variations on a syntax
29+
(for example "Python (Django)") to be used. The key is
30+
the base filename of the .tmLanguage syntax files, and the value
31+
is the syntax it maps to.
32+
*/
33+
"codeintel_syntax_map":
34+
{
35+
"Python Django": "Python"
36+
},
37+
38+
39+
/* ####################################################################### */
40+
/* the following settings can be overridden for each language individually */
41+
/* see "codeintel_language_settings" below! */
42+
/* ####################################################################### */
43+
44+
/*
45+
Sets the mode in which SublimeCodeIntel's live autocomplete runs:
46+
47+
true - Autocomplete popups as you type (the default).
48+
false - Autocomplete popups only when you request it.
49+
*/
50+
"codeintel_live": true,
51+
52+
/*
53+
Tooltips method:
54+
55+
"popup" - Uses Autocomplete popup for tooltips.
56+
"panel" - Uses the output panel for tooltips.
57+
"status" - Uses the status bar for tooltips (was the default).
58+
*/
59+
"codeintel_tooltips": "popup",
60+
61+
62+
/*
63+
"buffer" - add word completions from current view
64+
"all" - add word completions from all views from active window
65+
"none" - do not add word completions
66+
*/
67+
"codeintel_word_completions": "buffer",
68+
69+
/*
70+
Insert functions snippets.
71+
*/
72+
"codeintel_snippets": false,
73+
74+
/*
75+
Define global filters to exclude paths from scanning. Use the codeintel_config setting for language specific settings.
76+
ex: ["list/of","/path/to/exclude"]
77+
(Currently only working for JavaScript and PHP)
78+
*/
79+
"codeintel_scan_exclude_dir":[],
80+
81+
/* Code Scanning: Controls how the Code Intelligence system scans your source code files. */
82+
83+
/* Maximum directory depth: */
84+
"codeintel_max_recursive_dir_depth": 10,
85+
86+
/* Include all files and directories from the project base directory: */
87+
"codeintel_scan_files_in_project": true,
88+
89+
/* API Catalogs: SublimeCodeIntel uses API catalogs to provide autocomplete and calltips for 3rd-party libraries.
90+
Add te libraries that you use in your code. Note: Adding all API catalogs for a particular language can lead to confusing results.
91+
92+
Avaliable catalogs:
93+
PyWin32 (Python3) (for Python3: Python Extensions for Windows)
94+
PyWin32 (for Python: Python Extensions for Windows)
95+
Rails (for Ruby: Rails version 1.1.6)
96+
jQuery (for JavaScript: jQuery JavaScript library - version 1.9.1)
97+
Prototype (for JavaScript: JavaScript framework for web development)
98+
dojo (for JavaScript: Dojo Toolkit API - version 1.5.0)
99+
Ext_30 (for JavaScript: Ext JavaScript framework - version 3.0)
100+
HTML5 (for JavaScript: HTML5 (Canvas, Web Messaging, Microdata))
101+
MochiKit (for JavaScript: A lightweight JavaScript library - v1.4.2)
102+
Mozilla Toolkit (for JavaScript: Mozilla Toolkit API - version 1.8)
103+
XBL (for JavaScript: XBL JavaScript support - version 1.0)
104+
YUI (for JavaScript: Yahoo! User Interface Library - v2.8.1)
105+
Drupal (for PHP: A full-featured PHP content management/discussion engine -- v5.1)
106+
PECL (for PHP: A collection of PHP Extensions)
107+
*/
108+
"codeintel_selected_catalogs": [],
109+
110+
/*
111+
When editing within a defined scope, no live completion will trigger. ex: ["comment"]
112+
*/
113+
"codeintel_exclude_scopes_from_complete_triggers": ["comment"],
114+
115+
/*
116+
Defines a configuration for each language.
117+
*/
118+
"codeintel_language_settings": {
119+
"Python3": {
120+
"python3": "/usr/local/bin/python3.3",
121+
"codeintel_scan_extra_dir": [
122+
"/Applications/Sublime Text.app/Contents/MacOS",
123+
"~/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/arch",
124+
"~/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/libs"
125+
],
126+
"codeintel_scan_files_in_project": true,
127+
"codeintel_selected_catalogs": []
128+
},
129+
"JavaScript": {
130+
"codeintel_scan_extra_dir": [],
131+
"codeintel_scan_exclude_dir":["/build/", "/min/"],
132+
"codeintel_scan_files_in_project": false,
133+
"codeintel_max_recursive_dir_depth": 2,
134+
"codeintel_selected_catalogs": ["jQuery"]
135+
},
136+
"PHP": {
137+
"php": "/Applications/MAMP/bin/php/php5.5.3/bin/php",
138+
"codeintel_scan_extra_dir": [],
139+
"codeintel_scan_files_in_project": true,
140+
"codeintel_max_recursive_dir_depth": 15,
141+
"codeintel_scan_exclude_dir":["/Applications/MAMP/bin/php/php5.5.3/"]
142+
}
143+
}
144+
}

Context.sublime-menu

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[
2+
{"caption": "Jump to Symbol Definition", "command": "goto_python_definition"},
3+
{"caption": "Back to Symbol Definition", "command": "back_to_python_definition"}
4+
]

Default (Linux).sublime-keymap

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[
2+
{ "keys": ["shift+ctrl+space"], "command": "code_intel_auto_complete" },
3+
{ "keys": ["super+alt+ctrl+up"], "command": "goto_python_definition"},
4+
{ "keys": ["super+alt+ctrl+left"], "command": "back_to_python_definition"}
5+
]

Default (Linux).sublime-mousemap

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
{ "button": "button1", "modifiers": ["super"], "command": "goto_python_definition", "press_command": "drag_select" }
3+
]

Default (OSX).sublime-keymap

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[
2+
{ "keys": ["shift+ctrl+space"], "command": "code_intel_auto_complete" },
3+
{ "keys": ["super+alt+ctrl+up"], "command": "goto_python_definition"},
4+
{ "keys": ["super+alt+ctrl+left"], "command": "back_to_python_definition"}
5+
]

Default (OSX).sublime-mousemap

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
{ "button": "button1", "modifiers": ["ctrl"], "command": "goto_python_definition", "press_command": "drag_select" }
3+
]

Default (Windows).sublime-keymap

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[
2+
{ "keys": ["shift+ctrl+space"], "command": "code_intel_auto_complete" },
3+
{ "keys": ["super+alt+ctrl+up"], "command": "goto_python_definition"},
4+
{ "keys": ["super+alt+ctrl+left"], "command": "back_to_python_definition"}
5+
]

Default (Windows).sublime-mousemap

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
{ "button": "button1", "modifiers": ["alt"], "command": "goto_python_definition", "press_command": "drag_select" }
3+
]

Default.sublime-commands

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"caption": "CodeComplice: Dump Import Directories",
4+
"command": "sublimecodeintel_dump_import_dirs"
5+
}
6+
]

0 commit comments

Comments
 (0)