Show source jar file for the currently opened class tab
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Inizia cercando la scheda attiva tramite DockContainerLeaf#getSelectedDockable() e segui la relativa classe attraverso la catena dei parent PathNode tramite NavigationManager fino al ResourcePathNode più vicino. Determina quale superficie UI espone meglio il jar o file contenitore, comprese le risorse annidate; il lavoro è completato quando la scheda della classe attiva identifica chiaramente la relativa origine in workspace con più jar e jar incorporati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
When a workspace has multiple loaded jars (either as the primary resource, or as embedded resources inside a supporting directory resource), there's no straightforward way in the UI to tell which jar file a given open tab's
class actually came from. This becomes especially painful with workspaces containing a lot of jars.
Currently the only way I found to get this info was writing a custom script that walks the PathNode parent chain via NavigationManager to find the nearest ResourcePathNode, and cross-references the active tab via DockContainerLeaf#getSelectedDockable().
Describe the solution you'd like
Surface the source resource directly in the UI for the currently open/active tab, for example:
- Show the containing jar/file name in the tab's tooltip
- Show it in a status bar at the bottom of the window
- Add a "Reveal in tree" / "Locate resource" context menu action on the tab, which expands the workspace tree to the resource that contains the class
Describe alternatives you've considered
Manually switching between resources in the workspace tree dropdown and searching for the class visually — not practical with a large number of jars.
Additional context
Happy to test this against a workspace with a lot of jars if useful for verifying the fix works with deeply nested/mbedded resources (directory resource containing multiple jar resources).
- Lingua principale
- Java
- Stelle
- 7.5k
- Fork
- 549
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Col-E/Recaf
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteAperta3rd party problem bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Keybind to jump to lineApertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Multiple DPI supportForse già presa @SooStrator1136 l’ha presa 156 giorni fa. Apertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Issue simili
-
Bug feat:Syntax
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ignatov/intellij-erlang#1342 ·
I maintainer di solito rispondono entro 1 giorno
-
Flaky EnrollmentCoordinatorTest.theNewSettingsShouldNotInheritTheFormerOnesBackoff on WindowsForse già presa @NassimBtk l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MetricsHub/metricshub-community#1636 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] no hint/error message for max picture sizeForse già presa @flahamue l’ha presa oggi. ApertaType: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
it-at-m/raumreservierung#439 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
citrusframework/citrus#2044 ·
I maintainer di solito rispondono entro 1 giorno