TerminalFi / LSP-copilot

GitHub Copilot support for Sublime Text LSP plugin provided through Copilot.vim.
658 stars 25 forks source link

Will it be possible to accommodate Copilot X's chat interface? #99

Closed Nantris closed 3 months ago

Nantris commented 1 year ago

Copilot X looks great but I'm a bit worried Sublime is not suited to support it. Are my fears misplaced?

jfcherng commented 1 year ago

Well, we borrow server from (neo)VIM. So I guess VIM should worry it first.

Nantris commented 1 year ago

That makes sense. But maybe you can provide some clarity still for people who don't understand the ins and outs.

On a UI level, I can't imagine how Sublime's UI would be able to accommodate a chat-like experience in-app based on what I've seen in Sublime. Is there something that can be leveraged for that?

TerminalFi commented 1 year ago

Yes, very similar to how Terminus leverages an Output Panel to simulate a terminal, we can leverage an output panel as a Chat Box which will allow us to replicate this same behavior.

TerminalFi commented 1 year ago

I'm working on a branch now that shows this as a POC.

timfjord commented 1 year ago

It could also be a view opened side by side (similar to how the suggestions panel is currently displayed)

TerminalFi commented 1 year ago

Just updating here. I've got a "chat interface" and mocked chats. Mainly because I currently don't see where the functionality lives within the Copilot server. So I believe it may require additional packages. I am digging into it

Looks like I just don't have access yet.

phillipjohnston commented 1 year ago

Just curious if this got any farther.

TerminalFi commented 1 year ago

Just curious if this got any farther.

Yes and no, I was looking today at the latest release 1.9.4 and see they've added more chat related code. I'm working to try and determine the request structure this week

TerminalFi commented 1 year ago

Update here.

I believe the direction we should take is that of Terminus. I output panel for chatting with Copilot. I am working on this now

skytwosea commented 10 months ago

Wanted to follow up: is there any chat interface as of early December? It's the only part of VSCode's copilot I use. Would love to have chat access in ST4 as well

yoKurt94 commented 9 months ago

Getting access to the chat capabilities or reproducing them would be huge. The VS Code Chat works so well.

Mr-HaleYa commented 8 months ago

This feature would definitely be a nice addition to ST4. Is this still planned and in progress? Also, I have a couple of questions.

Is the plan to have a keybind to pop a chat window open/close, or leave it statically open at the bottom? Will this have the capability of knowing the context of the selected code or current file? How would the context be handled when switching between windows? Possible to have multiple instances of the chat open in a session?

TerminalFi commented 3 months ago

WIP #168

TerminalFi commented 3 months ago

Current state, getting closer

https://github.com/TerminalFi/LSP-copilot/assets/32599364/0e35ea14-4cb4-48c9-a019-2c0e78e3c86b

Nantris commented 3 months ago

Very cool! Great work @TerminalFi!

TerminalFi commented 3 months ago

Very cool! Great work @TerminalFi!

Thanks, the indentation issue has also been fixed

Nantris commented 2 months ago

Thank you for the great work on this! Excited to give it a try!

phillipjohnston commented 2 months ago

I am also really grateful for the work on this. Thanks!!!!!!Cheers,PhillipOn Jul 11, 2024, at 16:13, Nantris @.***> wrote: Thank you for the great work on this! Excited to give it a try!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>