feat: add Antigravity as an "Open in editor" target (#1424)
Registers the Google Antigravity IDE so the workspace Open-in-editor picker detects and launches it (PATH probe for the "antigravity" command), alongside Cursor, VS Code, WebStorm, and Zed. - desktop: add the target to BUILT_IN_EDITOR_TARGETS (kind: editor). - app: add "antigravity" to the known editor-target id set and map its bundled icon. Co-authored-by: Mathias Kurz <mkurz@stamus-networks.com>
This commit is contained in:
co-authored by
Mathias Kurz
parent
915cbda8a7
commit
e446d9009f
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
@@ -15,6 +15,7 @@ const EDITOR_APP_IMAGES: Record<string, ImageSourcePropType> = {
|
|||||||
vscode: require("../../../assets/images/editor-apps/vscode.png"),
|
vscode: require("../../../assets/images/editor-apps/vscode.png"),
|
||||||
webstorm: require("../../../assets/images/editor-apps/webstorm.png"),
|
webstorm: require("../../../assets/images/editor-apps/webstorm.png"),
|
||||||
zed: require("../../../assets/images/editor-apps/zed.png"),
|
zed: require("../../../assets/images/editor-apps/zed.png"),
|
||||||
|
antigravity: require("../../../assets/images/editor-apps/antigravity.png"),
|
||||||
finder: require("../../../assets/images/editor-apps/finder.png"),
|
finder: require("../../../assets/images/editor-apps/finder.png"),
|
||||||
explorer: require("../../../assets/images/editor-apps/file-explorer.png"),
|
explorer: require("../../../assets/images/editor-apps/file-explorer.png"),
|
||||||
"file-manager": require("../../../assets/images/editor-apps/file-explorer.png"),
|
"file-manager": require("../../../assets/images/editor-apps/file-explorer.png"),
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ const KNOWN_EDITOR_TARGET_IDS: ReadonlySet<string> = new Set([
|
|||||||
"vscode",
|
"vscode",
|
||||||
"webstorm",
|
"webstorm",
|
||||||
"zed",
|
"zed",
|
||||||
|
"antigravity",
|
||||||
"finder",
|
"finder",
|
||||||
"explorer",
|
"explorer",
|
||||||
"file-manager",
|
"file-manager",
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ const BUILT_IN_EDITOR_TARGETS: readonly EditorTargetDefinition[] = [
|
|||||||
{ id: "vscode", label: "VS Code", kind: "editor", command: "code" },
|
{ id: "vscode", label: "VS Code", kind: "editor", command: "code" },
|
||||||
{ id: "webstorm", label: "WebStorm", kind: "editor", command: "webstorm" },
|
{ id: "webstorm", label: "WebStorm", kind: "editor", command: "webstorm" },
|
||||||
{ id: "zed", label: "Zed", kind: "editor", command: "zed" },
|
{ id: "zed", label: "Zed", kind: "editor", command: "zed" },
|
||||||
|
{ id: "antigravity", label: "Antigravity", kind: "editor", command: "antigravity" },
|
||||||
{
|
{
|
||||||
id: "finder",
|
id: "finder",
|
||||||
label: "Finder",
|
label: "Finder",
|
||||||
|
|||||||
Reference in New Issue
Block a user