LSP-copilot icon indicating copy to clipboard operation
LSP-copilot copied to clipboard

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

Open Nantris opened this issue 2 years ago • 13 comments

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

Nantris avatar Mar 28 '23 17:03 Nantris

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

jfcherng avatar Mar 28 '23 17:03 jfcherng

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?

Nantris avatar Mar 28 '23 19:03 Nantris

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 avatar Mar 28 '23 19:03 TerminalFi

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

TerminalFi avatar Mar 28 '23 20:03 TerminalFi

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

timfjord avatar Mar 29 '23 09:03 timfjord

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.

TerminalFi avatar May 04 '23 13:05 TerminalFi

Just curious if this got any farther.

phillipjohnston avatar Aug 03 '23 23:08 phillipjohnston

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 avatar Aug 04 '23 01:08 TerminalFi

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

TerminalFi avatar Aug 30 '23 02:08 TerminalFi

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

skytwosea avatar Dec 03 '23 17:12 skytwosea

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

yoKurt94 avatar Dec 21 '23 10:12 yoKurt94

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?

Mr-HaleYa avatar Jan 08 '24 08:01 Mr-HaleYa

+1

kenny-kvibe avatar Jan 22 '24 04:01 kenny-kvibe

WIP #168

TerminalFi avatar Jun 19 '24 04:06 TerminalFi

Current state, getting closer

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

TerminalFi avatar Jun 26 '24 23:06 TerminalFi

Very cool! Great work @TerminalFi!

Nantris avatar Jun 27 '24 01:06 Nantris

Very cool! Great work @TerminalFi!

Thanks, the indentation issue has also been fixed

TerminalFi avatar Jun 27 '24 02:06 TerminalFi

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

Nantris avatar Jul 11 '24 23:07 Nantris

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: @.***>

phillipjohnston avatar Jul 11 '24 23:07 phillipjohnston