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 148148 },
149149 {
150150 "command" : " swift.run" ,
151- "title" : " Run Build" ,
152- "category" : " Swift"
151+ "title" : " Run Swift executable" ,
152+ "category" : " Swift" ,
153+ "icon" : " $(play)"
153154 },
154155 {
155156 "command" : " swift.debug" ,
156- "title" : " Debug Build" ,
157- "category" : " Swift"
157+ "title" : " Debug Swift executable" ,
158+ "category" : " Swift" ,
159+ "icon" : " $(debug)"
158160 },
159161 {
160162 "command" : " swift.resetPackage" ,
898900 "group" : " navigation"
899901 }
900902 ],
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+ ],
901915 "swift.editor" : [
902916 {
903917 "command" : " swift.run" ,
You can’t perform that action at this time.
0 commit comments