feat(services): jump to the source of a run configuration (#4952)

Run configuration nodes in Services gain Jump to Source (F4, ⌘↓, context menu): JVM applications and Spring Boot open their main class at the declaration (the configuration's module first), npm/Bun the script in package.json, Python/Ruby/shell/pytest their file, Gradle/Maven the build file, Go the target or main.go, .NET the project file. Kinds without a file show it disabled. F4 on a run configuration no longer starts it; providers without Jump to Source keep activating.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-21 12:44:18 +08:00
1 джерело 143281d67e
коміт 9243ff2eac
9 files changed
+291 -3

No files matched your search

+2
Переглянути файл
@@ -288,6 +288,8 @@ export interface ServiceProviderContribution {
menu?(item: ServiceTreeItem): MenuItem[];
/** Double click / Enter. */
activate?(item: ServiceTreeItem): void;
/** Jump to Source (F4 / ⌘↓); a provider without it activates the node instead. */
jumpToSource?(item: ServiceTreeItem): void;
/** A node of this provider became the lead selection. */
select?(item: ServiceTreeItem): void;
/** A node of this provider was expanded or collapsed. */