warpdotdev / warpdotdev/warp

Add option to not invoke "⚡️ Ask Warp AI" in certain contexts

Open
#4,352 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:agent enhancement triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Discord username (optional)

anew#5306

Describe the solution you'd like?

Can we toggle off the "⚡️ Ask Warp AI" feature? Or, can I control when it appears:

  • OK for it to appear if I start a command with the # character.
  • OK for it to appear if I start editing and delete the entire line with Ctrl-U (for instance).
  • NOT ok for it to appear if I navigate to the beginning of the line and the first character I hit is #, maybe a space after the # invokes the Ask Warp AI.
  • NOT ok for it to appear if I use '##' at the beginning of the line (alternative idea)

It would be awesome to have some granularity on the control of its appearance, or have some exceptional way to attenuate its invocation.

Is your feature request related to a problem? Please describe.

It's annoying to have the "⚡️ Ask Warp AI" feature pop over text (a block from a prior command) when I'm not actually invoking it. Hitting enter and just running the command works, but it makes for an akward user experience.

Sometimes I'll start writing a command, for example

grep -A1 "

And I can't recall the key to search for (suspend your disbelief for a moment, this is a simple example) and have to go and find some piece of relevant information. I could open another tab or pane, but I may decide to just open an editor in the current shell and find what I'm looking for. I typically will hit Ctrl-A to put the cursor at the beginning of the line, and then use # to make the command a comment, and save it to my history with 'Enter'. This is cool because I can use Ctrl-R or ⬆️ (up arrow) to resume editing my command. It's also super ingrained into how I work with terminals.

The annoying thing is that the "⚡️Ask Warp AI" helper gets invoked after I put my cursor at the beginning of the line when I'm just trying to comment and save my wip command.

Additional context

No response

How important is this feature to you?

4

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the code that triggers the “Ask Warp AI” overlay from line editing, then define and test a setting or trigger rule that prevents it in the described comment and editing contexts while preserving intended invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.