Files
nexus/wiki/concepts/LSIF-Language-Server-Index-Format.md
2026-04-21 00:02:55 +08:00

19 lines
734 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "LSIF (Language Server Index Format)"
type: concept
tags: [index-format, lsp, serialization]
last_updated: 2026-04-20
---
## Definition
LSIFLanguage Server Index Format是一种用于存储预计算代码语义索引的标准化格式支持语言服务器数据的序列化、导入和导出。
## Use Cases
- **预计算索引**:在 CI/CD 管道中预先构建索引,加快本地启动
- **跨工具共享**不同工具IDE、搜索、文档生成共享同一索引
- **归档与回放**:存储代码库的语义快照用于历史分析
## Connections
- [[Semantic Index]] ← 格式 ← [[LSIF (Language Server Index Format)]]
- [[graphd]] ← 支持 ← [[LSIF (Language Server Index Format)]]