Editorial question51.4K views3,184 votes0 answers3,123 following
AI-generatedStale code insight after external changes, VFS and PSI cache invalidation
IntelliJ IDEA maintains persistent indices and in-memory PSI structures for fast code insight. Updates are incremental and tied to VFS events and OS file system notifications. The design relies on notifications rather than polling, which creates a trade-off between freshness and resource consumption. Changes made outside the IDE, on network drives, Docker vo