дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 01:31:41 +02:00
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.
Цей коміт міститься в:
1 джерело
143281d67e
коміт
9243ff2eac
9 files changed
+291
-3
No files matched your search
@@ -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. */
|
||||
|
||||
Reference in new issue
Заблокувати користувача