19 lines
734 B
Markdown
19 lines
734 B
Markdown
---
|
||
title: "LSIF (Language Server Index Format)"
|
||
type: concept
|
||
tags: [index-format, lsp, serialization]
|
||
last_updated: 2026-04-20
|
||
---
|
||
|
||
## Definition
|
||
LSIF(Language Server Index Format)是一种用于存储预计算代码语义索引的标准化格式,支持语言服务器数据的序列化、导入和导出。
|
||
|
||
## Use Cases
|
||
- **预计算索引**:在 CI/CD 管道中预先构建索引,加快本地启动
|
||
- **跨工具共享**:不同工具(IDE、搜索、文档生成)共享同一索引
|
||
- **归档与回放**:存储代码库的语义快照用于历史分析
|
||
|
||
## Connections
|
||
- [[Semantic Index]] ← 格式 ← [[LSIF (Language Server Index Format)]]
|
||
- [[graphd]] ← 支持 ← [[LSIF (Language Server Index Format)]]
|