Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Handle all shells’ de/activation#137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
karthiknadig merged 4 commits intomicrosoft:mainfromflying-sheep:pa/all-shells
Jan 27, 2025

Conversation

flying-sheep
Copy link
Contributor

@flying-sheepflying-sheep commentedJan 24, 2025
edited
Loading

Fixes#138

This adds shell activation for

  • gitbash
  • wsl
  • ksh
  • tcshell
  • xonsh
  • nushell

and fixes shell activation for C shell.

it also makes sure that it’s impossible to add a terminal to the enum without also adding shell activation/deactivation commands by using aRecord type that needs to be exhaustive.

@karthiknadig
Copy link
Member

Thanks for the PR! Love the new shell command handling.

flying-sheep reacted with heart emoji

@anthonykim1
Copy link
Contributor

anthonykim1 commentedJan 27, 2025
edited
Loading

Thanks for doing this@flying-sheep
I mentioned#116, we should eventually start using shell type API.

The list onhttps://github.com/microsoft/vscode/blob/e8346324cfb8b5d680ad657bb67153eb838aebc5/src/vscode-dts/vscode.proposed.terminalShellType.d.ts are subject to change, so feel free to let me know if anyone thinks more shell types could be added to make the workload easier on the extension side. As we want to make sure to cover extensive list of shell types for their specific activation.

@vs-code-engineeringvs-code-engineeringbot added this to theJanuary 2025 milestoneJan 27, 2025
@karthiknadigkarthiknadig merged commit6a69637 intomicrosoft:mainJan 27, 2025
6 checks passed
@flying-sheepflying-sheep deleted the pa/all-shells branchJanuary 27, 2025 21:59
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@karthiknadigkarthiknadigkarthiknadig approved these changes

@anthonykim1anthonykim1anthonykim1 approved these changes

@eleanorjboydeleanorjboydAwaiting requested review from eleanorjboyd

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
January 2025
Development

Successfully merging this pull request may close these issues.

Venv activation/deactivation is missing for many shell types and broken for one of the existing ones
3 participants
@flying-sheep@karthiknadig@anthonykim1

[8]ページ先頭

©2009-2025 Movatter.jp