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

Add action to bring up a Cmd Palette with your previous directories #12863

Open
Tracked by #13445
zadjii-msft opened this issue Apr 8, 2022 · 0 comments
Open
Tracked by #13445
Assignees
Labels
Area-CmdPal Command Palette issues and features Area-Settings Issues related to settings and customizability, for console or terminal Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.

Comments

@zadjii-msft
Copy link
Member

zadjii-msft commented Apr 8, 2022

see: #5400, {Add action to bring up a Cmd Palette with just sendInput actions}, and to a lesser extent #3121. Also #3158, #8166 et. al.

Okay, so the shell can tell the Terminal what the CWDs are. Terminal should store those in a queue, and then provide a way to hook them up to a cmdpal filled with them as sendInput actions. So hit enter on one of them in the cmdpal and presto, cd path/to/place/i/was/before↩ gets sent to the terminal to CD back to that directory.

This assumes you're in a context where cd some\path will work. Obviously, vim, emacs wouldn't work. Something like ssh gets tricky I suppose.

Maybe it doesn't work in the alt buffer, since a shell probably isn't active there?

iTerm2 has something like this. I think they use a side panel, but whatever. Docs: https://iterm2.com/documentation-shell-integration.html, under "Recent Directories"

@ghost ghost 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 Apr 8, 2022
@zadjii-msft zadjii-msft added Area-Settings Issues related to settings and customizability, for console or terminal Product-Terminal The new Windows Terminal. Issue-Task It's a feature request, but it doesn't really need a major design. labels Apr 8, 2022
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Apr 8, 2022
@zadjii-msft zadjii-msft added the Area-CmdPal Command Palette issues and features label Apr 8, 2022
@zadjii-msft zadjii-msft added this to the Backlog milestone Apr 8, 2022
@DHowett DHowett removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Apr 8, 2022
@zadjii-msft zadjii-msft modified the milestones: Backlog, Terminal v1.19 Apr 24, 2023
@zadjii-msft zadjii-msft self-assigned this Apr 24, 2023
@zadjii-msft zadjii-msft modified the milestones: Terminal v1.20, Up Next Oct 4, 2023
zadjii-msft added a commit that referenced this issue Oct 5, 2023
## Summary of the Pull Request

> ## Abstract
> 
> Multiple related scenarios have come up where it would be beneficial
to display
> actionable UI to the user within the context of the active terminal
itself. This
> UI would be akin to the Intellisense UI in Visual Studio. It appears
right where
> the user is typing, and can help provide immediate content for the
user, based
> on some context. The "Suggestions UI" is this new ephemeral UI within
the
> Windows Terminal that can display different types of actions, from
different
> sources.
> 


## Detailed Description of the Pull Request / Additional comments

_\*<sup>\*</sup><sub>\*</sub> read the spec
<sub>\*</sub><sup>\*</sup>\*_

Similar to #14792, a lot of this code is written. This stuff isn't
checked in though, so I'm presenting formally before I start yeeting PRs
out there.

## PR Checklist
- [x] This is a spec for #1595. It also references:
  * #3121
  * #10436
  * #12927
  * #12863
@carlos-zamora carlos-zamora modified the milestones: Up Next, Terminal v1.23 Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CmdPal Command Palette issues and features Area-Settings Issues related to settings and customizability, for console or terminal Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

3 participants