microsoft / microsoft/debug-adapter-protocol
Formalize a few more things in the json?
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- HTML
- Estrellas
- 1.8k
- Forks
- 173
- Merge medio
- 7 d 7 h
- PR fusionados (30 d)
- 2
Descripción
Hello,
While making a parser for the DAP json, there were a few things that currently exist only as free-form text that I believe would be better to be also represented as formal json data, for tool consumption:
The request type that a response type is associated with.
This is currently is indicated by the sentence Response to <the request type>, such as RunInTerminalResponse: "description": "Response to 'runInTerminal' request."
Default values for fields.
There are a few fields that indicate what their default value should be, but only in free-form text:
(873): "description": "If true all line numbers are 1-based (default)."
(877): "description": "If true all column numbers are 1-based (default)."
(882): "description": "Determines in what format paths are specified. The default is 'path', which is the native format."
(3413): "description": "Datatype of values in this column. Defaults to 'string' if not specified."
Would it be possible to extend the schema to also include this information as dedicated fields in the JSON?
If you have a syntax for both items I could submit a PR.
Thanks
Guía de contribución
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.
Línea de trabajo
Revisa el esquema JSON de DAP y las descripciones de las respuestas y los campos identificadas en el issue. Define campos de esquema dedicados para los tipos de solicitud de respuesta y los valores predeterminados, con una sintaxis coherente que reemplace la información que actualmente solo tiene formato libre.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- json
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100