diff --git a/site/src/modules/apps/useAppLink.ts b/site/src/modules/apps/useAppLink.ts index efaab474e6db9..aafd048a7e674 100644 --- a/site/src/modules/apps/useAppLink.ts +++ b/site/src/modules/apps/useAppLink.ts @@ -50,7 +50,19 @@ export const useAppLink = ( // an error message will be displayed. const openAppExternallyFailedTimeout = 500; const openAppExternallyFailed = setTimeout(() => { - displayError(`${label} must be installed first.`); + // Check if this is a JetBrains IDE app + const isJetBrainsApp = + app.url && + (app.url.startsWith("jetbrains-gateway:") || + app.url.startsWith("jetbrains:")); + + if (isJetBrainsApp) { + displayError( + `To use ${label}, you need to have JetBrains Toolbox installed.`, + ); + } else { + displayError(`${label} must be installed first.`); + } }, openAppExternallyFailedTimeout); window.addEventListener("blur", () => { clearTimeout(openAppExternallyFailed);