-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathFastOlympicCoding (Linux).sublime-settings
103 lines (82 loc) · 1.79 KB
/
FastOlympicCoding (Linux).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
{
// enable/disable lint
"lint_enabled": true,
// lint style properties
"lint_error_region_scope": "invalid.illegal",
// "lint_error_region_scope": "variable.c++",
"lint_warning_region_scope": "constant",
"algorithms_base": null,
// run settings:
// "{file}": file name
// "{source_file}": relative path to file
// "{source_file_dir}": relative path to file directory
// "{file_name}": file basename
"run_settings": [
{
"name": "C++",
"extensions": ["cpp"],
"compile_cmd": "g++ '{source_file}' -std=gnu++11 -o {file_name}",
"run_cmd": "./\"{file_name}\" {args} -debug",
"lint_compile_cmd": "g++ -std=gnu++11 '{source_file}' -I '{source_file_dir}'"
},
{
"name": "Python",
"extensions": ["py"],
"compile_cmd": null,
"run_cmd": "python '{source_file}'"
},
{
"name": "Java",
"extensions": ["java"],
"compile_cmd": "javac -J-Dfile.encoding=utf8 -d \"{source_file_dir}\" \"{source_file}\"",
"run_cmd": "java -classpath \"{source_file_dir}\" \"{file_name}\""
}
],
// time limit for stress
"stress_time_limit_seconds": 2,
// enable/disable class complete
"cpp_complete_enabled": true,
// class completion settings
"cpp_complete_settings": {
"classes": {
"int": {
"template_size": 0,
},
"char": {
"template_size": 0
},
"string": {
"template_size": 0,
},
"pair": {
"template_size": 2,
},
"vector": {
"template_size": 1
},
"bool": {
"template_size": 0
},
"ll": {
"template_size": 0
},
"double": {
"template_size": 0
},
"set": {
"template_size": 1,
"bind": "S"
},
"map": {
"template_size": 2
}
},
"dont_expand": [
"pii"
]
},
// closing sidebar when executing
"close_sidebar": true,
// tests files dir
"tests_relative_dir": ""
}