Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Nantris opened this issue Mar 28, 2023 · 18 comments · Fixed by #168
Closed

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

Nantris opened this issue Mar 28, 2023 · 18 comments · Fixed by #168
Assignees
Labels
enhancement New feature or request

Comments

@Nantris
Copy link

Nantris commented Mar 28, 2023

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

@jfcherng
Copy link
Collaborator

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

@Nantris
Copy link
Author

Nantris commented Mar 28, 2023

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
Copy link
Owner

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
Copy link
Owner

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

@timfjord
Copy link
Collaborator

timfjord commented Mar 29, 2023

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

@TerminalFi
Copy link
Owner

TerminalFi commented May 4, 2023

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
Copy link

Just curious if this got any farther.

@TerminalFi
Copy link
Owner

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
Copy link
Owner

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
Copy link

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
Copy link

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

@Mr-HaleYa
Copy link

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?

@jfcherng jfcherng added the enhancement New feature or request label Apr 6, 2024
@TerminalFi
Copy link
Owner

TerminalFi commented Jun 19, 2024

WIP #168

@TerminalFi TerminalFi self-assigned this Jun 19, 2024
@TerminalFi TerminalFi linked a pull request Jun 19, 2024 that will close this issue
@TerminalFi
Copy link
Owner

Current state, getting closer

TerminalFi.2024-06-26.at.18.39.56.mp4

@Nantris
Copy link
Author

Nantris commented Jun 27, 2024

Very cool! Great work @TerminalFi!

@TerminalFi
Copy link
Owner

Very cool! Great work @TerminalFi!

Thanks, the indentation issue has also been fixed

@Nantris
Copy link
Author

Nantris commented Jul 11, 2024

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

@phillipjohnston
Copy link

phillipjohnston commented Jul 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants