Skip to content

[P2] LSP 能力暴露 — 代码智能节点 (goToDefinition/findReferences 等) #25

Closed

Description

@dahai80

背景

Fusion-Cowork 未来需要在协作空间中集成代码智能能力(跳转定义、查找引用等),需要 Fusion-Code 暴露 LSP 能力。

需求

提供 REST/IPC 接口,封装 LSP 操作:

  1. goToDefinition(file, line, char) → location[]
  2. findReferences(symbol) → location[]
  3. hover(file, line, char) → type/doc info
  4. documentSymbol(file) → symbol[]

关联

  • fusion-cowork-enhance 方案 6.7 标注依赖

Activity

  1. dahai80 commented on Jul 31, 2026

    @dahai80
    OwnerAuthor

    已由 #23 实现:POST /api/lsp/operation — 支持 goToDefinition/findReferences/hover/documentSymbol/workspaceSymbol,commit ff176ff,v0.4.3 已发布

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions