atiaomar1978-hub opened a new pull request, #25411: URL: https://github.com/apache/camel/pull/25411
## Summary _AI-generated on behalf of the operator._ Implements [CAMEL-24374](https://issues.apache.org/jira/browse/CAMEL-24374): **Ctrl+G** in the Camel TUI Source tab opens an expanded “Go to Node” popup showing routes and their individual processors/EIPs in a tree structure. The existing **`g`** shortcut remains unchanged for quick route-level navigation. ## Changes | File | Purpose | |------|---------| | `YamlRouteNodeScanner.java` | Scans Camel YAML source files; builds route headers + navigable processor/EIP entries | | `GotoSourceNodePopup.java` | Fuzzy-filterable tree popup (route headers + indented processors) | | `SourceTab.java` | Wires **Ctrl+G**, footer hint, help text, node index builder | | `SourceViewer.java` | `goToLine()` positions edit cursor in edit mode; `isDirty()` guard for cross-file goto | ## Behaviour - **`g`** — existing route-only popup (unchanged) - **Ctrl+G** — expanded popup with route + processor nodes; works in view and edit mode - Selecting an entry jumps to the corresponding source line (cross-file supported) - Cross-file navigation is blocked when the edit buffer has unsaved changes (same guard as file-list open) ## Testing ```bash ./mvnw -pl dsl/camel-jbang/camel-jbang-plugin-tui test \ -Dtest=YamlRouteNodeScannerTest,GotoSourceNodePopupTest,SourceViewerGoToLineTest ``` All 16 tests pass. ## Review Bugbot and Grok reviews were run on the changeset; findings were addressed in commit `d5170133`. See PR comment for full review details. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
