How blueboxware/libgdxplugin works
Main Components
a. Core Plugin Infrastructure:
• Plugin Entry Points (LibGDXPluginBundle, LibGDXStartupActivity)
• Settings Management (LibGDXPluginConfigurable)
• Project Configuration (LibGDXProjectFileSubstitutions)
b. File Type Support Systems:
• Skin JSON Support
• Atlas File Support
• Bitmap Font Support
• LibGDX JSON Support
• Properties Support
c. Language Processing:
• Parsers (for each file type)
• Lexers (for each file type)
• PSI (Program Structure Interface) implementations
• Syntax Highlighting
d. Feature Services:
• Inspections System
• Code Completion
• Reference Resolution
• Navigation Services
• Annotation Processing (@GDXAssets, @GDXTag)
[IntelliJ Platform API]
• ↑
• [Core Plugin]
• ↓
┌─────────────────────┐
• Feature Services │←──→│ File Type Support │
• ┘ └─────────────────┘
• ↑ ↑
• [Language Processing] [User Interface]
Detailed Component Relationships
For each file type support system (Skin, Atlas, Bitmap Font, JSON), show:
[File Type Handler]
• ↓
┌─────────────────┐
• Parser │
• Lexer │
• PSI │
• ┘
• ↓
[Feature Integration]
Feature Services Detail
How services interact:
[Inspection System] ←→ [Reference Resolution]
• ↓ ↓
[Code Completion] ←→ [Navigation Services]
• ↓ ↓