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:
danny 2026-10-17 17:03:06 +02:00
parent ef198f5f8f
commit 943ff889df
21 changed files with 1650 additions and 23 deletions

View file

@ -141,6 +141,13 @@ fn builds_in_the_background_and_answers_go_to_queries() {
);
assert_eq!(files["items"][0]["matches"], json!([[11, 15]]));
assert!(files["items"][0]["score"].as_u64().unwrap() > 0);
let library: Vec<&Value> = files["items"]
.as_array()
.unwrap()
.iter()
.map(|item| &item["library"])
.collect();
assert_eq!(library, vec![&json!(false), &json!(false), &json!(true)]);
let classes = run(&mut engine, "goto.class", json!({"query": "user"}));
assert_eq!(