Порівняти коміти

..
Автор SHA1 Повідомлення Дата
l0ng-ai 4d596c7943 fix(plugins): don't block Find Usages on a failed plugin index batch
A plugin indexer batch that failed left its paths in the dirty set, so every
later Find Usages and rename failed with "Plugin indexes are still updating"
although nothing was running. Failed paths now move to a failed set that is
retried before the next usages or refactoring. Usages go ahead with a
"may be incomplete" note while an index is not up to date; refactoring still
refuses, with a message that says the index failed rather than that it is
updating.
2026-11-12 18:36:39 +08:00
-10
Переглянути файл
@@ -13,7 +13,6 @@ import {
completeFromList,
completionStatus,
currentCompletions,
moveCompletionSelection,
pickedCompletion,
selectedCompletion,
snippet,
@@ -631,12 +630,6 @@ const lookupKeys = Prec.highest(
}),
);
function moveLookup(view: EditorView, forward: boolean): boolean {
if (completionStatus(view.state) !== "active") return false;
focusedLookups.add(view);
return moveCompletionSelection(forward)(view);
}
/** IDEA inserts a sole candidate right away on explicit invocation (Code Completion › Automatically insert single suggestions). */
const AUTO_INSERT_DELAY = 80; // past CodeMirror's interactionDelay
@@ -822,9 +815,6 @@ export function completionExtension() {
lookupTracker,
Prec.highest(
keymap.of([
// macOS: ⌃N / ⌃P are line down / up in text, so they move through the lookup as ↓ / ↑ do.
{ mac: "Ctrl-n", run: (view) => moveLookup(view, true) },
{ mac: "Ctrl-p", run: (view) => moveLookup(view, false) },
{
key: "Tab",
run: (view) => {