LSP: trace navigation through hierarchy requests, document links and document symbols
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript
- Área
- backend-api-design, tooling
Línea de trabajo
Start with the syscribe lsp entry point and ADR-SYS-LSP-001, then inspect the existing references and code lens implementations and their tests. Add coverage for hierarchy requests, document links, symbols, folding ranges, and workspace symbols based on the acceptance criteria. Done means the specified trace relationships, prose links, and ordered TestCase scenario outline are returned; selection ranges and semantic tokens remain out of scope.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Part of #380.
Current state
References and code lens counts exist (N verifiedBy · N derivedChildren), but the user cannot walk the trace. Ids written in the Markdown body (see REQ-X-004) are plain text. The outline is empty.
Proposal
- Hierarchy requests as the trace. Implement
textDocument/prepareTypeHierarchy+typeHierarchy/supertypes/subtypesfor requirements, mapping parents toderivedFrom:and children to the derived children;callHierarchyincoming/outgoing forsatisfies/verifies(satisfier and verifier of a requirement; the requirements a test covers). Standard requests, so an editor's built-in hierarchy view becomes a requirements trace without custom UI. - Document links (
textDocument/documentLink): every resolvable stable id or qualified name in the body and in free-text fields becomes a link; unresolved ones are not linked. - Document symbols (
textDocument/documentSymbol) for the outline: the element with its main fields, and for aTestCaseeach Gherkin scenario; for aStateDefits states. Folding ranges for the frontmatter and fenced blocks. - Workspace symbols gain
containerName(package) and a kind per element type, so search groups sensibly. - Selection range / semantic tokens are not in scope.
Acceptance (tests first)
- The type hierarchy of a leaf requirement returns its parent chain;
subtypesreturns its derived children. - The call hierarchy of a requirement lists its satisfiers and verifying tests; of a test, the requirements it verifies.
documentLinkreturns a link for an id in prose and none for an unknown token.- The outline of a
TestCaselists its scenarios in order.
Part of #272. Scope: syscribe lsp only (standard LSP, ADR-SYS-LSP-001).
Generated by Claude Code
- Lenguaje dominante
- Rust
- Estrellas
- 8
- Forks
- 1
- Merge medio
- 3 h 26 min
- PR fusionados (30 d)
- 66
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sjames/syscribe
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de sjames/syscribe
Issues similares
-
crate: spate-kafka documentation priority: medium
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
balovess/aria2_rust#88 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Shell `yoyo <verb> <sub>` missing its required argument prints usage and exits 0: `config get`Abiertoagent-self
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
yologdev/yoyo-evolve#1154 ·