Giter VIP home page Giter VIP logo

Comments (7)

roblourens avatar roblourens commented on September 6, 2024 1

Yeah, so you can use cmd+up to move focus from the input to the chat list, then arrow keys to navigate by response

from vscode-copilot-release.

roblourens avatar roblourens commented on September 6, 2024

There are commands for this, list.scrollUp/list.scrollDown

from vscode-copilot-release.

hron avatar hron commented on September 6, 2024

I don't think list.scrollUp / list.scrollDown is a real solution. The scrolling speed is to slow. Check the demo:

Screencast.from.2024-08-20.10-20-23.webm

Also, I couldn't figure out a when context I can use to limit the key bindings to the chat window. I have tried listFocus, but it doesn't work. Any suggestions? In my case Copilot Chat window is on the panel, not sidebar, so I assume it should be something like panelFocus && activePanel == 'workbench.view.???'?

  {
    "key": "pageup",
    "command": "list.scrollUp",
    // "when": "listFocus" 
  },
  {
    "key": "pagedown",
    "command": "list.scrollDown",
    // "when": "listFocus"
  }

from vscode-copilot-release.

roblourens avatar roblourens commented on September 6, 2024

It seems reasonable to me, do you want something that would scroll by page, or the same as here but faster?

You could use the inChat context key

from vscode-copilot-release.

hron avatar hron commented on September 6, 2024

Thank you for inChat hint, it works!

It seems reasonable to me, do you want something that would scroll by page, or the same as here but faster?

If you ask me I believe there several improvements need to be done:

  1. Scrolling by page is must have
  2. Commands to scroll to the previous/next answers, similar to workbench.action.terminal.scrollToPreviousCommand / workbench.action.terminal.scrollToNextCommand
  3. The chat window should scroll automatically when the cursor goes out of the view via Tab/Shift+Tab shortcuts (in chat window these keys move the cursor to next/previous code blocks)

from vscode-copilot-release.

roblourens avatar roblourens commented on September 6, 2024

For 1, I opened microsoft/vscode#226194

For 2, you can just use the arrow keys, or do I misunderstand?

Also agree for 3, there are some oddities with focus handling here, there is an open issue for this

from vscode-copilot-release.

hron avatar hron commented on September 6, 2024

For 2, you can just use the arrow keys, or do I misunderstand?

I don't think arrow keys are related. Let's imagine you talk to Copilot and it generated several responses, so the chat window looks like this:

Response 1 
...long body of Response 1...

Response 2
...long body of Response 2...

Response 3
...long body of Response 3...

So, it would be great to have commands to scroll the chat window to previous/next Response.

from vscode-copilot-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.