Sem: New primitive for code understanding – not LSPs, but entities on top of Git
5 hours ago
- #Semantic Code Analysis
- #Git Enhancement
- #Developer Tools
- Semantic understanding on top of Git enhances tool accuracy by providing semantic outputs like entity-level changes instead of raw line diffs.
- Key commands include: sem diff to show entity changes, sem blame for code ownership tracking, sem impact for dependency analysis, sem log for change history, sem entities to list entities, and sem context for contextual details.
- Setup involves installing sem-cli and configuring Git to use sem for diffs, with no configuration files or plugins required, supporting multiple languages and data formats with machine-readable JSON output.