LSP: complete and document frontmatter field names, with element skeletons
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, rust, yaml
- Ambito
- developer-experience, tooling
Direzione di ricerca
Start by reading the syscribe lsp implementation and the table that generates syscribe spec fields from prompts/spec/fields.md; inspect the LSP tests and next-id logic. Add coverage for type-specific key completion, nested mapping fields, key hover, value hints, and skeletons, including a 10,000-element latency case. Done means skeletons validate with unused IDs and all listed acceptance checks pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of #380.
Current state
Completion works at values of cross-reference fields and the type:/status: enums. At a new line in the frontmatter, no field names are offered, and hovering a key shows nothing. A new user has to know that a requirement takes reqDomain, verificationMethod, derivedFrom, breakdownAdr, and so on.
Proposal
- Key completion (
textDocument/completioninside the frontmatter, at a key position): the fields valid for the element'stype:(and the keys of nested mappings such as a transition or a parameter), required fields first, withdetail(type) anddocumentation(the description).insertTextis a snippet:key: ${1|choices|}for enums, a list scaffold for list fields, a mapping scaffold for structured fields. - New-element scaffolding. In an empty or
type:-only file, a completion item "Requirement (skeleton)" that inserts a complete frontmatter with the next free id (next-idlogic) and the body prompt; same forTestCase,ADR,PartDef, and others. - Hover on a key shows the field's description, type, allowed values, the validation codes that govern it (
E310forderivedFromwithoutbreakdownAdr), and whether it is required for this type. - Value hints: for
status,testLevel,reqDomain,verificationMethod,silLevel/asilLevelthe candidates carry a one-line meaning. - Source of truth: generate the field catalogue from the same table that produces
syscribe spec fields(prompts/spec/fields.md), not a second hand-kept list; a test fails if a field in the spec has no catalogue entry.
Acceptance (tests first)
- Completion at a key position in a
Requirementreturns the requirement's fields, not those of aPartDef; a mapping insidequantities:returnskind/value/unit. - Hover on
breakdownAdrreturns its description and mentionsE310. - The skeleton completion inserts a valid element (it validates with no error) with an unused id.
- Latency under 50 ms for a model of 10,000 elements.
Part of #272. Scope: syscribe lsp only (standard LSP, ADR-SYS-LSP-001).
Generated by Claude Code
- Lingua principale
- Rust
- Stelle
- 8
- Fork
- 1
- Merge medio
- 3h 35m
- PR unite (30g)
- 69
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sjames/syscribe
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
sjames/syscribe#411 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Format-preserving writes for structural frontmatter (features, connections, layout, shapes, edges)Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
sjames/syscribe#405 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sjames/syscribe
Issue simili
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
servo/rust-smallvec#873 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 3 giorni
-
Panic on live viewport resize when unstyled elements exist in display: none subtreeForse già presa @GoCoder7 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DioxusLabs/blitz#1488 ·
I maintainer di solito rispondono entro 1 giorno
-
🏷️ good first issue enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
S-Needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni