File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 148
148
},
149
149
{
150
150
"command" : " swift.run" ,
151
- "title" : " Run Build" ,
152
- "category" : " Swift"
151
+ "title" : " Run Swift executable" ,
152
+ "category" : " Swift" ,
153
+ "icon" : " $(play)"
153
154
},
154
155
{
155
156
"command" : " swift.debug" ,
156
- "title" : " Debug Build" ,
157
- "category" : " Swift"
157
+ "title" : " Debug Swift executable" ,
158
+ "category" : " Swift" ,
159
+ "icon" : " $(debug)"
158
160
},
159
161
{
160
162
"command" : " swift.resetPackage" ,
898
900
"group" : " navigation"
899
901
}
900
902
],
903
+ "editor/title/run" : [
904
+ {
905
+ "command" : " swift.run" ,
906
+ "group" : " navigation@0" ,
907
+ "when" : " resourceLangId == swift && swift.currentTargetType == 'executable'"
908
+ },
909
+ {
910
+ "command" : " swift.debug" ,
911
+ "group" : " navigation@0" ,
912
+ "when" : " resourceLangId == swift && swift.currentTargetType == 'executable'"
913
+ }
914
+ ],
901
915
"swift.editor" : [
902
916
{
903
917
"command" : " swift.run" ,
You can’t perform that action at this time.
0 commit comments