-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDefault.sublime-commands
37 lines (37 loc) · 1.04 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
[
{
"caption": "Swift Format: Format",
"command": "swift_format"
},
{
"caption": "Swift Format: Generate .swiftformat from Current File Path",
"command": "generate_config",
"args": {
"cwd": "file_path"
}
},
{
"caption": "Swift Format: Generate .swiftformat from Current Project",
"command": "generate_config",
"args": {
"cwd": "project_path"
}
},
{
"caption": "Preferences: Swift Format Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/Swift Format/Swift Format.sublime-settings",
"default": "{\n$0\n}\n"
}
},
{
"caption": "Preferences: Swift Format Key Bindings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/Swift Format/Default.sublime-keymap",
"user_file": "${packages}/User/Default ($platform).sublime-keymap",
"default": "[\n\t$0\n]\n"
}
}
]