File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1001,6 +1001,12 @@ fn default_workspace_groups() -> Vec<WorkspaceGroup> {
10011001}
10021002
10031003fn default_open_app_targets ( ) -> Vec < OpenAppTarget > {
1004+ let phpstorm_command = if cfg ! ( target_os = "windows" ) {
1005+ "phpstorm64.exe"
1006+ } else {
1007+ "phpstorm"
1008+ } ;
1009+
10041010 if cfg ! ( target_os = "macos" ) {
10051011 return vec ! [
10061012 OpenAppTarget {
@@ -1048,7 +1054,7 @@ fn default_open_app_targets() -> Vec<OpenAppTarget> {
10481054 label: "PHPStorm" . to_string( ) ,
10491055 kind: "command" . to_string( ) ,
10501056 app_name: None ,
1051- command: Some ( "phpstorm" . to_string( ) ) ,
1057+ command: Some ( phpstorm_command . to_string( ) ) ,
10521058 args: Vec :: new( ) ,
10531059 } ,
10541060 OpenAppTarget {
@@ -1114,7 +1120,7 @@ fn default_open_app_targets() -> Vec<OpenAppTarget> {
11141120 label: "PHPStorm" . to_string( ) ,
11151121 kind: "command" . to_string( ) ,
11161122 app_name: None ,
1117- command: Some ( "phpstorm" . to_string( ) ) ,
1123+ command: Some ( phpstorm_command . to_string( ) ) ,
11181124 args: Vec :: new( ) ,
11191125 } ,
11201126 OpenAppTarget {
You can’t perform that action at this time.
0 commit comments