-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathClangAutoComplete.sublime-settings
64 lines (58 loc) · 2.12 KB
/
ClangAutoComplete.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
{
/* Header files to fetch completion information from */
"include_dirs" : [
"/usr/include",
"$project_base_path/src",
"/workspace/$project_name/src",
],
/* Temporary file where current file will be written to */
// "tmp_file_path" : "/tmp/auto_complete_tmp",
/* If file encoding was not detected, assume this instead */
"default_encoding" : "UTF-8",
/*
* If set to "true", auto-complete is always on, it will provide suggestions for any key press,
* regardless what triggers are configured in "selectors".
* It will slow down sublime, essentially re-compiling the file for every key press.
*/
"autocomplete_all" : "false",
/*
* if autocomplete_all is set to false,
* What triggers auto-completion process (should be the same as sublime's own settings)
*/
"selectors" : [ ">","."],
/*
* if verbose is set to false, the plugin will output nothing.
* else it will show the paths that it has found.
*/
"verbose" : "false",
/*
* Whenever debug flag is set to true, open an output panel
* with the output of the clang command to help the user understand
* what is the issue preventing auto completion.
*/
"debug" : "false",
/*
* if include_file_parent_folder is set to true, the parent folder of the
* current file directory will be included to clang call with -I flag. Don't worry, it
* doesn't ruin anything. It will not be included if this flag is set to
* false.
*/
"include_file_parent_folder" : "false",
/*
* If include_file_current_folder is set to true, the folder
* of where the current file is located will be added to the -I included
* directories.
*/
"include_file_current_folder" : "false",
/*
* If exclude_system_folders is set to true, the system include folders
* will be excluded from clang call in -I flags.
* This setting is for embedded projects, like Linux kernel or baremetal.
*/
"exclude_system_folders" : "false",
/* Allow to change the binary or location of clang program */
// "clang_binary" : "\"C:\\Program Files (x86)\\LLVM\\bin\\clang++\""
"clang_binary" : "clang++",
/* setting the standard library flag. */
"std_flag" : "-std=c++11"
}