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

A shortcut to select file/files in the explorer. And copy that path to the terminal. #16965

Open
Raukie opened this issue Mar 28, 2024 · 2 comments · May be fixed by #16966
Open

A shortcut to select file/files in the explorer. And copy that path to the terminal. #16965

Raukie opened this issue Mar 28, 2024 · 2 comments · May be fixed by #16966
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Discussion Something that requires a team discussion before we can proceed Product-Terminal The new Windows Terminal.

Comments

@Raukie
Copy link

Raukie commented Mar 28, 2024

Description of the new feature/enhancement

I would love to have an shortcut that opens an dialog to select files. And then just copy the paths of those files to the terminal. So i can be a bit quicker and don't have to be sliding the terminal/file explorer around to make sure i can slide the files in without losing focus of the terminal.

Have you ever found it cumbersome to input file paths into the terminal? I often find myself opening a file explorer, selecting the files I need, and then dragging them into the terminal. However, this process can be a bit of a hassle, especially when juggling between different application windows. And have to make sure both stay in view.

Proposed technical implementation details (optional)

I have a implementation. There is also code for WSL support. I am however missing a accessible function to check if it is in WSL. So that should be worked on. Could be me if i am pushed in the right direction.

The implementation is in this fork.
https://github.com/Raukie/Terminal
So let me know with what steps to proceed, to make this happen.

The result should be

A shortcut, my own preference would be ctrl+o, o stands for open.
When in the terminal and pressing that shorcut a file explorer dialog should open to select files.
After you have selected the files the path of the selected files should be pasted into the terminal.

Example video of what to happen.

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

Raukie commented Mar 28, 2024

An Issue-Task label might suffice not an Issue-Feature but i am not sure.

@Raukie
Copy link
Author

Raukie commented Mar 28, 2024

#16966

@carlos-zamora carlos-zamora added Needs-Discussion Something that requires a team discussion before we can proceed Area-User Interface Issues pertaining to the user interface of the Console or Terminal Product-Terminal The new Windows Terminal. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting 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 Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Discussion Something that requires a team discussion before we can proceed Product-Terminal The new Windows Terminal.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants