-
-
Notifications
You must be signed in to change notification settings - Fork 15
Home
github-actions[bot] edited this page May 25, 2026
·
4 revisions
HAnS (Helper for Annotation and Structure) is a JetBrains IDE plugin for feature-oriented software development — annotate code to features, visualize models, and measure metrics.
| Module | Purpose |
|---|---|
| Code Annotation |
&begin/&end/&line injection, PSI types |
| Feature Model | 52-feature hierarchy, .feature-model language |
| Feature Location | Location tracking, caching, file mapping |
| Metrics | Scattering, Tangling, Nesting Depth calculators |
| Plugin Extensions | MetricsService, HighlighterService, background APIs |
| Build Configuration | Gradle setup, versions, plugins |
| Component | Purpose |
|---|---|
| Annotation Syntax |
&begin/&end/&line, mapping files |
| Feature Model Language | 4 languages, parser classes |
| Feature Model View | Tool window, left anchor |
| Feature Metrics View | Tool window, bottom anchor, 7 metrics |
| Traffic Light Indicator | InspectionWidget, 3 states |
| Extension Points | 5 EPs: metricsService, highlighterService, callbacks |
| Syntax Highlighting | 4 languages, Darcula + Default |
| Live Templates |
&begin/&end/&line abbreviations |
| ADR | Decision |
|---|---|
| ADR-001 | Extension Points for Metrics |
| ADR-002 | Dual File Extensions |
| ADR-003 | Traffic Light Feature |
| ADR-004 | Optional LPQ Paths |
| ADR-005 | Feature Location Caching |
IntelliJ Platform · Kotlin · Gradle Plugins · Test Dependencies
Modules
Components
- Annotation Syntax
- Feature Model Language
- Feature Model View
- Feature Metrics View
- Traffic Light
- Extension Points
- Syntax Highlighting
- Live Templates
Decisions
Dependencies
Flows