diff --git a/gui/src/components/mainInput/InputToolbar.tsx b/gui/src/components/mainInput/InputToolbar.tsx
index 1fc7dc928..0f2ff6991 100644
--- a/gui/src/components/mainInput/InputToolbar.tsx
+++ b/gui/src/components/mainInput/InputToolbar.tsx
@@ -15,6 +15,7 @@ import {
} from "..";
import { defaultModelSelector } from "../../redux/selectors/modelSelectors";
import { getMetaKeyLabel, isMetaEquivalentKeyPressed } from "../../util";
+import { isJetBrains } from "../../util/ide";
const StyledDiv = styled.div<{ hidden?: boolean }>`
position: absolute;
@@ -128,22 +129,25 @@ function InputToolbar(props: InputToolbarProps) {
)}
- {
- props.onEnter({
- useCodebase: true,
- });
- }}
- className={"hover:underline cursor-pointer float-right"}
- >
- {getMetaKeyLabel()} ⏎ Use Codebase
-
+
+ {isJetBrains() || (
+ {
+ props.onEnter({
+ useCodebase: true,
+ });
+ }}
+ className={"hover:underline cursor-pointer float-right"}
+ >
+ {getMetaKeyLabel()} ⏎ Use Codebase
+
+ )}