Skip to content

Pre-launch Console Renaming in VSCode Using launch.json Configuration #22769

Open

Description

Currently, users have the option to rename console titles after they have run their code manually.

image

I would like to have the capability to modify the console name prior to launching my application, utilizing the launch.json configuration file.

For instance:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Module Name",
            "type": "python",
            "request": "launch",
            "module": "path.to.module",
            "consoleName": "My Console Name",
        }
    ]
}
  • The console name property can also be set automatically using the module name.

The VScode team has added a new feature following my request, enabling the Python extension to make use of it, as detailed in this discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    community askFeature request that the community expressed interest infeature-requestRequest for new features or functionalityneeds proposalNeed to make some design decisions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions