microsoft / microsoft/vscode-cpptools
Option to change the title of the integrated terminal in vscode for a launched C application?
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- TypeScript
- Estrellas
- 6.2k
- Forks
- 1.7k
- Merge medio
- 14 h 46 min
- PR fusionados (30 d)
- 61
Descripción
Type: Debugger
Describe the bug
- OS and Version: Windows 10
- VS Code Version: 1.50.1
- C/C++ Extension Version: 1.1.0-insider3
- Other extensions you installed (and if the issue persists after disabling them):
- A clear and concise description of what the bug is.
To Reproduce
Please include a code sample and launch.json configuration.
Steps to reproduce the behavior:
- Have launch configuration to launch an C application
{
"launch": {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "App1",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/path/to/the/executable/x86_64bi_linux-abc",
"args": [
"102"
],
"presentation": {
"hidden": false,
"group": "NonGDB",
"order": 1
},
"stopAtEntry": false,
"cwd": "/another/path/where/necessary/data/file/is/present",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/path/to/gdb-8.1.2",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
}
- When I launch an application in vscode via launch.json. The application launches from the integrated terminal with the title of the terminal set to that application name.

Need an property in the launch.json to set my choice of name for the terminal?
Additional context
If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your launch.json
Add any other context about the problem here including log or error messages in your Debug Console or Output windows.
parent request raised in VSCode - https://github.com/microsoft/vscode/issues/109235
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
Comienza con la configuración launch.json mostrada en el informe y revisa la solicitud principal de VS Code enlazada para conocer el comportamiento esperado del título de la terminal. Sigue cómo la configuración de lanzamiento de depuración de C/C++ crea o asigna el nombre de la terminal integrada. Se considera terminado cuando una propiedad documentada de launch.json permite a los usuarios elegir el título de la terminal y el comportamiento se ha verificado para una aplicación de C iniciada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- c, typescript, vscode
- Área
- developer-experience, devtools
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100