Expand description
Automatic import suggestion and insertion.
Detects unresolved symbols in a file and suggests imports from the project’s symbol index. Generates language-appropriate import statements and inserts at the correct position.
Structs§
Functions§
- add_
import - Add an import statement to a file at the correct position.
- analyze_
missing_ imports - Analyze a file for potentially unresolved symbols and suggest imports. Results are cached by (file_path, content_hash) to avoid redundant parsing and lookups.