-
Notifications
You must be signed in to change notification settings - Fork 0
/
choibc.sublime-project
131 lines (130 loc) · 4.15 KB
/
choibc.sublime-project
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
{
"build_systems":
[
{
"name" : "Build hoibc",
"linux": {
"shell_cmd" : "echo \"Chose a variant\"",
},
"windows": {
"cmd": "@echo Chose a variant",
},
"variants": [
{
"name" : "hoibc",
"file_regex" : "^([^:\n]+):([0-9]*):([0-9]*):(.*)$",
"syntax": "",
"linux": {
"shell_cmd" : "make -s -j 4 FC=g++ MODE=debug",
},
"windows": {
// for linux subsystem
// "cmd": "bash.exe -c \"make -s -j 4 FC=g++ MODE=debug\"",
// for MinGW / MSYS2
"cmd": "make -s -j 4 FC=g++ MODE=debug",
},
},
{
"name" : "main",
"file_regex" : "^([^:\n]+):([0-9]+):([0-9]+):(.+)$",
"syntax": "",
"linux": {
"shell_cmd" : "make -s -j 4 FC=g++ MODE=debug main",
},
"windows": {
// for linux subsystem
// "cmd": "bash.exe -c \"make -s -j 4 FC=g++ MODE=debug main\"",
// for MinGW / MSYS2
"cmd": "make -s -j 4 FC=g++ MODE=debug main",
},
},
{
"name" : "run tests",
"file_regex" : "^([^:\n]+):([0-9]+):([0-9]+):(.+)$",
"syntax": "",
"linux": {
"shell_cmd" : "make -s -j 4 FC=g++ MODE=debug run_test",
},
"windows": {
// for linux subsystem
// "cmd": "bash.exe -c 'make -s -j 4 FC=g++ MODE=debug run_test'",
// for MinGW / MSYS2
"cmd": "make -s -j 4 FC=g++ MODE=debug run_test",
},
},
{
"name" : "run",
"file_regex" : "^([^:\n]+):([0-9]+):([0-9]+):(.+)$",
"syntax": "",
"linux": {
"shell_cmd" : "make -s -j 4 FC=g++ MODE=debug run",
},
"windows": {
// for linux subsystem
// "cmd": "bash.exe -c 'make -s -j 4 FC=g++ MODE=debug run'",
// for MinGW / MSYS2
"cmd": "make -s -j 4 FC=g++ MODE=debug run",
},
},
{
"name": "clean",
"windows": {
// for linux subsystem
// "cmd": "bash.exe -c 'make FC=g++ MODE=debug clean'",
// for MinGW / MSYS2
"cmd": "make FC=g++ MODE=debug clean",
},
"linux": {
"shell_cmd": "make FC=g++ MODE=debug clean",
}
},
{
"name": "Run this file",
"file_regex" : "^([^:\n]+):([0-9]*):([0-9]*):(.*)$",
"windows": {
// for linux subsystem
// "cmd": "bash.exe -c 'make run MODE=optim ARGS=\\$(wslpath \"$file\")'",
// for MinGW / MSYS2
"cmd": "make run MODE=optim ARGS=\"$file\"",
},
"linux": {
"shell_cmd": "make run MODE=optim ARGS=$file",
}
},
],
"working_dir" : "$project_path",
},
],
"folder_exclude_patterns": [
".git",
"docs",
],
"folders":
[
{
"path": ".",
}
],
"settings":
{
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Set to false to disable detection of tabs vs. spaces on load
"detect_indentation": true,
// Calculates indentation automatically when pressing enter
"auto_indent": true,
// Disables horizontal scrolling if enabled.
// May be set to true, false, or "auto", where it will be disabled for
// source code, and otherwise enabled.
"word_wrap": "false",
// By default, auto complete will commit the current completion on enter.
// This setting can be used to make it complete on tab instead.
// Completing on tab is generally a superior option, as it removes
// ambiguity between committing the completion and inserting a newline.
"auto_complete_commit_on_tab": true,
// Display file encoding in the status bar
"show_encoding": true,
// Display line endings in the status bar
"show_line_endings": true,
},
}