Skip to content

Commit 5035fde

Browse files
committed
fix: add PHPStorm to the frontend open app defaults
1 parent 97969f4 commit 5035fde

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

src/features/app/constants.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77

88
export const OPEN_APP_STORAGE_KEY = "open-workspace-app";
99
export const DEFAULT_OPEN_APP_ID = isWindowsPlatform() ? "finder" : "vscode";
10+
const PHPSTORM_COMMAND = isWindowsPlatform() ? "phpstorm64.exe" : "phpstorm";
1011

1112
export type OpenAppId = string;
1213

@@ -47,6 +48,13 @@ export const DEFAULT_OPEN_APP_TARGETS: OpenAppTarget[] = isMacPlatform()
4748
appName: "Antigravity",
4849
args: [],
4950
},
51+
{
52+
id: "phpstorm",
53+
label: "PHPStorm",
54+
kind: "app",
55+
appName: "PhpStorm",
56+
args: [],
57+
},
5058
{
5159
id: "finder",
5260
label: fileManagerName(),
@@ -90,6 +98,13 @@ export const DEFAULT_OPEN_APP_TARGETS: OpenAppTarget[] = isMacPlatform()
9098
command: "antigravity",
9199
args: [],
92100
},
101+
{
102+
id: "phpstorm",
103+
label: "PHPStorm",
104+
kind: "command",
105+
command: PHPSTORM_COMMAND,
106+
args: [],
107+
},
93108
{
94109
id: "finder",
95110
label: fileManagerName(),

0 commit comments

Comments
 (0)