microsoft / microsoft/vscode-cpptools

Option to change the title of the integrated terminal in vscode for a launched C application?

オープン
#6,485 コメント 6 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

debugger Feature Request help wanted
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

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:

  1. 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
                    }
                ]
            }
		]
	}
}
  1. 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.

image

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

報告に示されている launch.json 構成から始め、想定されるターミナルタイトルの動作について、リンクされている VS Code の親リクエストを確認します。C/C++ デバッグ起動構成が統合ターミナルをどのように作成または命名するかを追跡します。文書化された launch.json プロパティによってユーザーがターミナルタイトルを選択でき、起動された C アプリケーションでその動作が検証されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c, typescript, vscode
領域
developer-experience, devtools
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。