forked from pderichs/sublime_rubocop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default.sublime-commands
72 lines (69 loc) · 2.01 KB
/
Default.sublime-commands
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
[
{
"caption": "RuboCop: Check current file",
"command": "rubocop_check_single_file"
},
{
"caption": "RuboCop: Check current project",
"command": "rubocop_check_project"
},
{
"caption": "RuboCop: Check folder of current file",
"command": "rubocop_check_file_folder"
},
{
"caption": "RuboCop: Check all open Ruby files",
"command": "rubocop_check_open_files"
},
{
"caption": "RuboCop: Toggle auto check",
"command": "rubocop_pause_toggle"
},
// ------- Lint cops --------
{
"caption": "RuboCop: Check current file (only with lint cops)",
"command": "rubocop_check_current_file_only_with_lint_cops"
},
{
"caption": "RuboCop: Check current project (only with lint cops)",
"command": "rubocop_check_project_only_with_lint_cops"
},
{
"caption": "RuboCop: Check folder of current file (only with lint cops)",
"command": "rubocop_check_file_folder_only_with_lint_cops"
},
{
"caption": "RuboCop: Check all open Ruby files (only with lint cops)",
"command": "rubocop_check_open_files_only_with_lint_cops"
},
// ------- Rails cops --------
{
"caption": "RuboCop: Check current file (run extra Rails cops)",
"command": "rubocop_check_current_file_rails"
},
{
"caption": "RuboCop: Check current project (run extra Rails cops)",
"command": "rubocop_check_project_rails"
},
{
"caption": "RuboCop: Check folder of current file (run extra Rails cops)",
"command": "rubocop_check_file_folder_rails"
},
{
"caption": "RuboCop: Check all open Ruby files (run extra Rails cops)",
"command": "rubocop_check_open_files_rails"
},
// ------ Auto correction -----
{
"caption": "RuboCop: Auto correct current file",
"command": "rubocop_auto_correct"
},
{
"caption": "RuboCop: Open all offensive files in the current project",
"command": "rubocop_open_all_offensive_files"
},
{
"caption": "RuboCop: Offense Count in current project",
"command": "rubocop_project_offense_count"
}
]