No way to modify a single `Node` to emit with `SingleQuoted`?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
The report concerns preserving or setting single-quoted style on an individual YAML::Node while editing and emitting a document. Start by reading the YAML::Node and emitter APIs and the existing tests for scalar quoting; check whether the issue's desired behavior is supported at either entry point. Done means a single value can retain or emit single-quoted style without forcing that style on the whole document.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I've been beating my head into the wall to get this library to allow me to set a single YAML::Value to YAML::SingleQuoted. This is a pretty straightforward problem that I think most people can guess at: I'm editing a docker-compose.yml file and I'm losing every quote literal.
I know I can use YAML::Emitter and << into it with YAML::SingleQuoted to emit the entire document, but keys and values single quoted, but that isn't what I need. I realize quotes aren't the standard here in YAML format. But is there any way to read and preserve them?
- Lingua principale
- C++
- Stelle
- 6.1k
- Fork
- 2.2k
- Merge medio
- 22h 2m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 jbeder/yaml-cpp
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
Tutte le issue di jbeder/yaml-cpp
Issue simili
-
devex good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
artifact:simulation-scenario domain:physics good first issue help wanted role:validation testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 3 giorni
-
[BUG] `mx.qqmm` docs: the Args section names `global_scale`, but the parameter is `global_scale_x`Forse già presa @Redempt1onzzZZ l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
ml-explore/mlx#4815 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno