Skip to content

Commit ca3e0d5

Browse files
chore: updated dialog for index rebuilds
1 parent c5c7827 commit ca3e0d5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

gui/src/components/loaders/IndexingProgressBar.tsx

+5-4
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ const IndexingProgressBar = ({
121121
function onClick() {
122122
switch (indexingState.status) {
123123
case "failed":
124-
if (indexingState.shouldClearIndexes) {
124+
// For now, we don't show in JetBrains since the reindex command
125+
// is not yet implemented
126+
if (indexingState.shouldClearIndexes && !isJetBrains()) {
125127
dispatch(setShowDialog(true));
126128
dispatch(
127129
setDialogMessage(
@@ -131,9 +133,8 @@ const IndexingProgressBar = ({
131133
text={
132134
"Your index appears corrupted. We recommend clearing and rebuilding it, " +
133135
"which may take time for large codebases.\n\n" +
134-
"Alternatively, you can close this and use the 'Continue: Force Codebase Re-Indexing' " +
135-
"command to attempt a faster rebuild without clearing data, though it may be " +
136-
"less reliable for persistent issues."
136+
"For a faster rebuild without clearing data, press 'Shift + Command + P' to open " +
137+
"the Command Palette, and type out 'Continue: Force Codebase Re-Indexing'"
137138
}
138139
onConfirm={() => {
139140
posthog.capture("rebuild_index_clicked");

0 commit comments

Comments
 (0)