Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement "Reopen Current Directory in [different shell]" in Windows Terminal #15069

Closed
AlgebraManiacABC opened this issue Mar 29, 2023 · 2 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@AlgebraManiacABC
Copy link

Description of the new feature/enhancement

Problem: My default shell in Windows Terminal is Ubuntu (through WSL). When in a directory deep in subfolders, I sometimes would like to open that directory in PowerShell (not the console powershell, but Terminal powershell). The issue is that when I right click and open in Terminal, I am brought into WSL. There are currently no options to "reopen working directory in PowerShell." I would have to manually open a new tab in PowerShell, then copy the directory from File Explorer and paste into PowerShell after typing cd . On top of this, spaces are not automatically treated upon paste, so I would have to enclose the pasted directory in 's or manually escape each problematic character. This is unideal.
Proposed new feature: There should be an option when making a new tab to reopen the current working directory in said shell.

Proposed technical implementation details (optional)

Shown is the current view when right-clicking a tab:
image
Now, shown below is my proposed suggestion.
image
This is one possible solution (right clicking current tab). This is likely the easiest to implement, since "duplicate" likely uses much of the code needed to implement this feature. The only wrinkle would be converting that directory into a PowerShell-accepted directory (i.e., not /mnt/c/Users/ but C:\Users). Also, purely WSL directories (i.e., /home/luke) would have to be figured out (I know they are accessible, since I have done so by opening a WSL directory through Visual Studio Code).
In any case, this should provide a base idea on implementation. The icon is something I just scribbled in Paint.NET, so feel free to recreate it better or with a completely different icon idea.

@AlgebraManiacABC AlgebraManiacABC added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Mar 29, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 29, 2023
@zadjii-msft
Copy link
Member

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #10232 for more discussion.

/dup #10232

@microsoft-github-policy-service
Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants