Skip to content

Conversation

@anki-code
Copy link
Contributor

@anki-code anki-code commented Dec 17, 2025

Address #239631 - adding xonsh shell as general shell type.

Copilot AI review requested due to automatic review settings December 17, 2025 12:10
Copy link
Contributor

Copilot AI left a comment

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 adds support for the Xonsh shell by introducing a new shell type Xonsh = 'xonsh' to the GeneralShellType enum. Xonsh is a Python-powered shell that combines Python syntax with shell commands, and support for it already exists in other parts of the codebase (e.g., shell environment detection in shellEnv.ts).

Key Changes:

  • Adds Xonsh = 'xonsh' to the GeneralShellType enum in the terminal platform definitions

@anki-code
Copy link
Contributor Author

@microsoft-github-policy-service agree

@anki-code anki-code marked this pull request as ready for review December 17, 2025 12:28
@vs-code-engineering
Copy link

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@Tyriar

Matched files:

  • src/vs/platform/terminal/node/terminalProcess.ts
  • src/vs/platform/terminal/node/windowsShellHelper.ts

@Tyriar Tyriar added this to the December / January 2026 milestone Dec 21, 2025
Tyriar
Tyriar previously approved these changes Dec 21, 2025
@Tyriar Tyriar enabled auto-merge December 21, 2025 13:29
alexr00
alexr00 previously approved these changes Jan 5, 2026
Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Comment change in vscode.d.ts looks good. @Tyriar CI is failing though.

@anki-code anki-code requested a review from Tyriar January 5, 2026 13:04
@anthonykim1
Copy link
Contributor

Thank you for the PR @anki-code
Could you run format document on src/vs/platform/terminal/node/terminalProcess.ts and src/vs/platform/terminal/node/windowsShellHelper.ts?

@Tyriar Tyriar dismissed stale reviews from alexr00 and themself via 550f052 January 5, 2026 18:47
@Tyriar Tyriar merged commit 9564c70 into microsoft:main Jan 5, 2026
17 checks passed
@anki-code
Copy link
Contributor Author

Please add xonsh shell support into release notes if possible. Thanks!

@Tyriar
Copy link
Member

Tyriar commented Jan 9, 2026

@anki-code we often do minor changes like this and we typically don't mention. If we added support to pull history or something for run recent command, that would be something worth mentioning.

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.

6 participants