M2.6: go-to popup for files, classes and symbols
One popup with Files / Classes / Symbols tabs (Tab switches), opened by
goto.fileOpen (Mod+P), goto.classOpen (Mod+Alt+C) and goto.symbolOpen
(Mod+T), each with an optional {query} for agents. Live debounced query
against goto.* with stale answers dropped, matched characters marked,
directory / namespace / container column, library rows labelled, an
indexing hint with progress and a re-query on indexReady. Enter or a
click opens through editor.reveal; Escape closes. An exclusive modal and
a launcher: any other command closes it.
goto.file items now carry `library` (PM decision). indexProgress and
indexReady join the ipc event union. Notes in plan/phpstorm/08-goto.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ef198f5f8f
commit
943ff889df
21 changed files with 1650 additions and 23 deletions
|
|
@ -90,6 +90,22 @@ export type EngineEventPayload =
|
|||
kind: "outlineChanged";
|
||||
/** Buffer whose outline changed; unchecked, it comes from the engine. */
|
||||
id: unknown;
|
||||
}
|
||||
| {
|
||||
kind: "indexProgress";
|
||||
/** Files indexed so far; unchecked, it comes from the engine. */
|
||||
done: unknown;
|
||||
/** Files found to index; unchecked. */
|
||||
total: unknown;
|
||||
}
|
||||
| {
|
||||
kind: "indexReady";
|
||||
/** Files in the index; unchecked, it comes from the engine. */
|
||||
files: unknown;
|
||||
/** Symbols in the index; unchecked. */
|
||||
symbols: unknown;
|
||||
/** Build time in milliseconds; unchecked. */
|
||||
elapsedMs: unknown;
|
||||
};
|
||||
|
||||
/** Callback receiving engine events. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue