Skip to content

Commit 1210c21

Browse files
committed
feat(editors): open projects in Android Studio
1 parent 61eb4af commit 1210c21

6 files changed

Lines changed: 105 additions & 1 deletion

File tree

‎apps/server/src/process/externalLauncher.test.ts‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,12 @@ for (const { platform, installPath, editor, args } of [
950950
editor: "kiro",
951951
args: ["--goto", "/workspace with spaces/file.ts:12:4"],
952952
},
953+
{
954+
platform: "darwin",
955+
installPath: "Applications/Android Studio.app/Contents/MacOS/studio",
956+
editor: "android-studio",
957+
args: ["--line", "12", "--column", "4", "/workspace with spaces/file.ts"],
958+
},
953959
{
954960
platform: "darwin",
955961
installPath: "Applications/WebStorm.app/Contents/MacOS/webstorm",
@@ -998,6 +1004,42 @@ for (const { platform, installPath, editor, args } of [
9981004
editor: "idea",
9991005
args: ["--line", "12", "--column", "4", "/workspace with spaces/file.ts"],
10001006
},
1007+
{
1008+
platform: "linux",
1009+
installPath: ".local/bin/android-studio",
1010+
editor: "android-studio",
1011+
args: ["--line", "12", "--column", "4", "/workspace with spaces/file.ts"],
1012+
},
1013+
{
1014+
platform: "linux",
1015+
installPath: ".local/share/JetBrains/Toolbox/scripts/studio",
1016+
editor: "android-studio",
1017+
args: ["--line", "12", "--column", "4", "/workspace with spaces/file.ts"],
1018+
},
1019+
{
1020+
platform: "darwin",
1021+
installPath: "Library/Application Support/JetBrains/Toolbox/scripts/studio",
1022+
editor: "android-studio",
1023+
args: ["--line", "12", "--column", "4", "/workspace with spaces/file.ts"],
1024+
},
1025+
{
1026+
platform: "win32",
1027+
installPath: "Programs/Android Studio/bin/studio64.exe",
1028+
editor: "android-studio",
1029+
args: ["--line", "12", "--column", "4", "/workspace with spaces/file.ts"],
1030+
},
1031+
{
1032+
platform: "win32",
1033+
installPath: "Programs/Android/Android Studio/bin/studio64.exe",
1034+
editor: "android-studio",
1035+
args: ["--line", "12", "--column", "4", "/workspace with spaces/file.ts"],
1036+
},
1037+
{
1038+
platform: "win32",
1039+
installPath: "JetBrains/Toolbox/scripts/studio.cmd",
1040+
editor: "android-studio",
1041+
args: ['^"--line^"', '^"12^"', '^"--column^"', '^"4^"', '^"/workspace^ with^ spaces/file.ts^"'],
1042+
},
10011043
{
10021044
platform: "linux",
10031045
installPath: ".local/bin/zed",

0 commit comments

Comments
 (0)