diff --git a/frontend/public/ide/intellij.svg b/frontend/public/ide/intellij.svg new file mode 100644 index 00000000..85ee539f --- /dev/null +++ b/frontend/public/ide/intellij.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/frontend/public/ide/windsurf-dark.svg b/frontend/public/ide/windsurf-dark.svg new file mode 100644 index 00000000..386f8c03 --- /dev/null +++ b/frontend/public/ide/windsurf-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/public/ide/windsurf-light.svg b/frontend/public/ide/windsurf-light.svg new file mode 100644 index 00000000..2e4e4e49 --- /dev/null +++ b/frontend/public/ide/windsurf-light.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/public/ide/xcode.svg b/frontend/public/ide/xcode.svg new file mode 100644 index 00000000..cf5ae82e --- /dev/null +++ b/frontend/public/ide/xcode.svg @@ -0,0 +1 @@ + diff --git a/frontend/public/ide/zed-dark.svg b/frontend/public/ide/zed-dark.svg new file mode 100644 index 00000000..a6ab472a --- /dev/null +++ b/frontend/public/ide/zed-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/public/ide/zed-light.svg b/frontend/public/ide/zed-light.svg new file mode 100644 index 00000000..06b5c183 --- /dev/null +++ b/frontend/public/ide/zed-light.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/components/ide/IdeIcon.tsx b/frontend/src/components/ide/IdeIcon.tsx index 944cd287..628e0dab 100644 --- a/frontend/src/components/ide/IdeIcon.tsx +++ b/frontend/src/components/ide/IdeIcon.tsx @@ -38,6 +38,32 @@ export function IdeIcon({ editorType, className = 'h-4 w-4' }: IdeIconProps) { return Cursor; } + if (editorType === EditorType.WINDSURF) { + const windsurfIcon = + resolvedTheme === 'dark' + ? '/ide/windsurf-light.svg' + : '/ide/windsurf-dark.svg'; + + return Windsurf; + } + + if (editorType === EditorType.INTELLI_J) { + return ( + IntelliJ IDEA + ); + } + + if (editorType === EditorType.ZED) { + const zedIcon = + resolvedTheme === 'dark' ? '/ide/zed-light.svg' : '/ide/zed-dark.svg'; + + return Zed; + } + + if (editorType === EditorType.XCODE) { + return Xcode; + } + // Generic fallback for other IDEs or no IDE configured return ; }