Skip to content

Add short title to Run Selection/Line in Python Terminal command#25917

Open
Jah-yee wants to merge 2 commits into
microsoft:mainfrom
Jah-yee:fix/22008-short-title-execSelectionInTerminal
Open

Add short title to Run Selection/Line in Python Terminal command#25917
Jah-yee wants to merge 2 commits into
microsoft:mainfrom
Jah-yee:fix/22008-short-title-execSelectionInTerminal

Conversation

@Jah-yee

@Jah-yee Jah-yee commented Apr 17, 2026

Copy link
Copy Markdown

Good day

This PR adds a short title to the "Run Selection/Line in Python Terminal" command (issue #22008).

A short title allows the command to display more concisely in the command palette and other UI locations where space is limited, while the full title is preserved for contexts where more detail is appropriate.

Thank you for your attention. If there are any issues or suggestions, please leave a comment and I will address them promptly.

Warmly,
RoomWithOutRoof

Fixes microsoft#22008

Adds shortTitle to the python.execSelectionInTerminal command registration
in the command palette menu, matching the shortTitle already present in
the main command contribution.
@eleanorjboyd eleanorjboyd requested a review from Copilot July 2, 2026 22:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to make the “Run Selection/Line in Python Terminal” command display more concisely in space-constrained UI by adding a shortTitle contribution.

Changes:

  • Adds a shortTitle entry for python.execSelectionInTerminal within the commandPalette menu contribution.
Show a summary per file
File Description
package.json Adds a shortTitle field for the command within the contributes.menus.commandPalette entry.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment thread package.json
Comment on lines 1324 to 1328
"category": "Python",
"command": "python.execSelectionInTerminal",
"title": "%python.command.python.execSelectionInTerminal.title%",
"shortTitle": "%python.command.python.execSelectionInTerminal.shortTitle%",
"when": "!virtualWorkspace && shellExecutionSupported && editorLangId == python"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants