forked from rust-lang/rust-enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContext.sublime-menu
117 lines (117 loc) · 3.08 KB
/
Context.sublime-menu
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
// XXX
// run/test/bench with args?
//
[
{
"caption": "Rust",
"id": "rust_context",
"children": [
{
"caption": "Clean",
"command": "cargo_exec",
"args": {
"command": "clean"
}
},
{
"caption": "Check",
"command": "cargo_exec",
"args": {
"command": "check"
}
},
{
"caption": "Clippy",
"command": "cargo_exec",
"args": {
"command": "clippy"
}
},
{
"caption": "-",
},
{
"caption": "Test Here",
"command": "cargo_test_here",
},
{
"caption": "Test Current File",
"command": "cargo_test_current_file",
},
{
"caption": "Test All",
"command": "cargo_exec",
"args": {
"command": "test"
}
},
{
"caption": "-",
},
{
"caption": "Bench Here",
"command": "cargo_bench_here",
},
{
"caption": "Bench Current File",
"command": "cargo_bench_current_file",
},
{
"caption": "Bench All",
"command": "cargo_exec",
"args": {
"command": "bench"
}
},
{
"caption": "-",
},
{
"caption": "Run This File",
"command": "cargo_run_current_file",
},
{
"caption": "Doc",
"command": "cargo_exec",
"args": {
"command": "doc",
}
},
{
"caption": "Cancel Build",
"command": "rust_cancel"
},
{
"caption": "-",
},
{
"caption": "Clear Messages",
"command": "rust_dismiss_messages",
},
{
"caption": "List All Messages",
"command": "rust_list_messages",
},
{
"caption": "-",
},
{
"caption": "Open Settings",
"command": "edit_settings",
"args":
{
"base_file": "${packages}/Rust Enhanced/RustEnhanced.sublime-settings",
"default": "{\n\t$0\n}\n"
}
},
{
"caption": "Configure Cargo Build",
"command": "cargo_configure",
},
{
"caption": "On-Save Checking",
"command": "toggle_rust_syntax_setting",
},
]
}
]