formulahendry / formulahendry/vscode-acp

Feature request: Up arrow should recall previous prompts in the composer

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
378
Forks
76
PR merge metrics
No merged PRs in 30d

Description

## Feature request

Support using the Up arrow in the chat composer to recall previous messages/prompts.

## Problem

In the current chat experience, I can't use the Up arrow to quickly reuse or edit previous prompts.

This makes iterative prompting slower, especially when I want to:
- resend a similar request with a small tweak
- recover a previous prompt after a failed run
- refine a long prompt without retyping it

## Requested behavior

When the composer is focused and the cursor is at the start of the input (or the input is empty), pressing the Up arrow should:
- recall the previous submitted prompt
- allow stepping back through prompt history
- ideally allow Down arrow to move forward again

## Why this matters

This is standard and very useful behavior in terminal/chat workflows. It makes iterative agent use much faster and reduces friction during debugging and prompt refinement.

## Nice-to-have details

- only trigger history recall when appropriate (for example not when navigating inside multiline text)
- preserve draft text when stepping through history, if possible
- scope history per chat/session rather than globally

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are identified in the issue. Start by locating the VS Code chat composer and its prompt-submission handling, then trace where chat or session state is kept; done means Up recalls earlier prompts, Down moves forward when applicable, and multiline editing is not disrupted.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.