feat(project-tree): enrich JVM project view icons (#512)

Project rows only showed generic folder and filename icons, so JVM modules, packages and declarations looked alike.

Rows now show Maven and Gradle project and module icons, packages, Spring configuration and Boot application classes, runnable classes, test classes, Java and Kotlin declaration types, and generated, compiled and javadoc output folders. Editor tabs, Goto File and Recent Files use the same resolver. Types come from a bounded syntax parse of visible files, served locally and over remote RPC.

Spring stereotypes keep their ordinary type icons, and .class files stay binary.

Fixes #347
This commit is contained in:
l0ng-ai
2026-10-31 10:40:24 +08:00
committed by GitHub
parent 504d8592d2
commit 9d670e6262
50 changed files with 1279 additions and 20 deletions
@@ -125,3 +125,16 @@
padding: 8px 12px;
color: var(--fg-subtle);
}
.iconStack {
position: relative;
display: inline-flex;
flex: none;
width: 16px;
height: 16px;
}
.runnable {
position: absolute;
inset: 0;
pointer-events: none;
}