Problem
The extension ignores node_modules at the root level but scans Solidity files in node_modules of nested/child repos.
root/
├── node_modules/ ← ignored ✓
└── src/
└── node_modules/ ← scanned ✗ (causes lag)
As a result of this, vscode/cursor becomes unresponsive when working in a monorepo with nested node_modules. If you disable the extension or delete nested node_modules, the lag disappears.
Suggested Fix
Ignore **/node_modules/** recursively rather than just root-level node_modules.
Example Repo
https://github.com/sablier-labs/lockup/tree/staging (foundry monorepo with multiple nested foundry.toml)
Screenshots
See #722 (comment) below.