You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IntelliJ IDEA plugin for accessible code navigation — Windows + NVDA configuration
Project Summary
Code Structure Narrator is an IntelliJ IDEA plugin that extracts code structure via PSI (Program Structure Interface) and converts it into natural language, delivered directly to the active screen reader.
Tier 1 (automatic): Local PSI templates narrate code structure on every caret movement — no network call, no latency.
Tier 2 (on-demand): Pressing the "Explain Current Context" shortcut triggers an OpenAI Responses API call for a richer, natural-language sentence.
Target platform for this agent context: Windows + NVDA
Platform Target
Setting
Value
OS
Windows
Screen reader
NVDA (NonVisual Desktop Access)
Primary IDE target
IntelliJ IDEA Community / Ultimate
Accessibility API
AccessibleAnnouncerUtil.announce()
macOS + VoiceOver is out of scope for this agent context.
Template wording, verbosity rules, prompt design, NVDA testing, test scenarios
Demo / Presentation (optional)
Demo script, presentation materials
Key Implementation Decisions
Shortcut-only for AI: Calling the API on every caret move causes latency (300 ms–2 s), cost overruns, and rate-limit failures. Shortcut-only is reliable and demo-safe.
Fallback first: Implement the Tier 1 fallback before testing the API. Silence is worse than a simple template string.
Template quality: Tier 1 labels need to sound natural enough that the plugin is useful without ever triggering Tier 2.
API key: Use an environment variable. Do not hardcode or commit. State in the presentation that production would use a backend proxy.
NVDA testing: Test on the actual target platform early. Leave time to adjust timing and wording.