Replies: 45 comments 6 replies
-
is there any discussions? i think it is a really useful feature if we can use github copilot in helix and i will choose switch from goland to helix to get my work done |
Beta Was this translation helpful? Give feedback.
-
There are no plans to have copilot in the editor core, so this will have to wait till there is proper plugin support. |
Beta Was this translation helpful? Give feedback.
-
Waiting on this feature to move from neovim to helix for good |
Beta Was this translation helpful? Give feedback.
-
Has anyone tried integrating this copilot LSP? https://github.com/TerminalFi/LSP-copilot/blob/master/language-server/package.json#L4 |
Beta Was this translation helpful? Give feedback.
-
isnt github getting sued for how copilot takes data? I def dont think copilot should be anywhere near core |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this ? |
Beta Was this translation helpful? Give feedback.
-
This seems like something we can solve with LSP integration instead of the plugin system. I believe that's how folks are using it in Sublime https://forum.sublimetext.com/t/github-copilot-for-sublime-text-4-is-coming/64449/3 |
Beta Was this translation helpful? Give feedback.
-
Was anyone able to use the copilot LSP successfully? |
Beta Was this translation helpful? Give feedback.
-
With Copilot X's recent announcement i had to look this up for Helix, landing me here. The LSP idea sounds alright, but it would be nice to craft a deeper UX around Copilot. Are plugin-like APIs available in Helix to, perhaps, temporarily fork Helix and integrate a Copilot Plugin directly into the forked Helix binary? Ie write a plugin directly into fork of Helix proper, even though we only intend to migrate it to a Plugin asap? If Copilot X is useful (big if, heh) it would be nice to have a good experience in Helix for that. They have a NeoVim plugin, for comparison. |
Beta Was this translation helpful? Give feedback.
-
Also ended up here after the Copilot X announcement, FWIW. No idea if implementing it as just an LSP is technically feasible, but that would certainly be nice if so. |
Beta Was this translation helpful? Give feedback.
-
The way things are going with AI these days, some level of non-trivial support would eventually be necessary, but some aspects like documentation could also belong to the build system. Either way, I suspect we will see competitors, notably also fully open source, to Copilot-X in the coming years (or days, maybe). Also the feature set will evolve drastically. For these reasons I think both some sense of urgency and restraint is necessary at the same time. |
Beta Was this translation helpful? Give feedback.
-
A temporary solution I have for myself is a chatgpt window running a "bridge" script in devtools. It allows chatgpt to communicate with other apps through a locally running database/job queue. If it makes sense, I can try to make it into a plugin. |
Beta Was this translation helpful? Give feedback.
-
Not just copilot, there are now several similar services. Copilot, tab9, codeium, codegeex, (vim-ai just uses chatgpt), ... |
Beta Was this translation helpful? Give feedback.
-
Relevant: kazuki-sf/YouTube_Summary_with_ChatGPT#9 |
Beta Was this translation helpful? Give feedback.
-
And also amazon code whisperer. I suggest title is rewritten to reflect the variety of alternatives |
Beta Was this translation helpful? Give feedback.
-
I'm not quite ready for relying on LLMs for coding: This is mistral 7B "An octahedron consists of eight vertices and eight triangular faces, with each face being made up of three vertices. Therefore, there are indeed a total of 8 x 3 = 24 individual vertices, but since a triangle is defined by three non-unique vertices, there are only 12 unique triangles in an octahedron." |
Beta Was this translation helpful? Give feedback.
-
Hi! I would like to share here my current workflow I found myself comfortable with. https://github.com/7flash/helix-chatgpt Notice, it works especially well with Warp Terminal, where I created a workflow/button to execute the script, but as well you can define bash function etc. What happens when you run the script, it opens a new file with helix where you can write your prompt, and I found it being more comofrtable than any existing UI.
Just sharing here what works for me, but there isn't good documentation yet, so please feel free to contribute. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone! @leona thanks for your effort in creating helix-gpt. I made an attempt to integrate with ollama. @tirithen may be you would be interested in having a try with it? Regarding llm-ls, I believe they are implementing the features as LSP custom methods, which helix built-in LSP client do not support currently. |
Beta Was this translation helpful? Give feedback.
-
@kyfanc I'm off for a trip for a while now without my GPU, but I'll give it a try once I'm back. Ideally in the end I think this sort of application should be a simple binary rather than a bun + typescript, to be fast and efficient, written in Rust or similar. But I also saw that it at least can build to a binary via bun (I suppose it means bundling and running a full V8 to run the lsp). Nice that there is some progress either way! :-) And also nice with the approach to support both cloud gpt providers and ollama so the users can choose what fits them best. :-) |
Beta Was this translation helpful? Give feedback.
-
@tirithen bun doesnt use v8 actually, it's JavaScript-core which has smaller size |
Beta Was this translation helpful? Give feedback.
-
So I really wanted to see this feature (albeit for Claude) but I'm actually seeing good results using aichat: https://github.com/sigoden/aichat Using this with the "insert-output" and "append-output" commands in Helix the output will write into Helix:
Can run it outside of Helix just as easily:
Using the shell_pipe feature you can also run aichat against highlighted text
Or this is also very easy using the command line by specifying the function:
Note that I've been verbose on purpose for demonstration purposes. The above commands can be reduced in length and there are hotkeys for the shell commands. |
Beta Was this translation helpful? Give feedback.
-
The benefit is when AIs get larger contexts and can understand compile_commands.json or compile_flags.txt And then you can just say, add test cases for the functions below, and add a bash script to drive it. Also write a bat file for windows like the other scripts. |
Beta Was this translation helpful? Give feedback.
-
Super cool tip! |
Beta Was this translation helpful? Give feedback.
-
Here is upgraded version: https://github.com/7flash/gurrai |
Beta Was this translation helpful? Give feedback.
-
I'd suggest modifying Continue. It's under the Apache License and is one of the most mature open-source AI plugins. Since it's also on VSCode and JetBrains it should be well abstracted. It supports a number of backends and features. Perhaps Helix can look into teaming with Continue sometime in the future? |
Beta Was this translation helpful? Give feedback.
-
For anyone looking for a terminal friendly alternative to cursor, one of my co-workers just shared https://aider.chat/ with me. You might be able to make a helix plugin / language server for it? 🤷♂️ |
Beta Was this translation helpful? Give feedback.
-
I really want to get some AI Coding assistant in Helix I tried Then I tried |
Beta Was this translation helpful? Give feedback.
-
I added 2 new commands in pr #12590 that makes it easier to use shell commands like TLDR;
Intent of this is to add flexibility in using shell commands for text completion and insertion. Adding keybindings for completion
|
Beta Was this translation helpful? Give feedback.
-
You have to add support for a text streaming pipeline. |
Beta Was this translation helpful? Give feedback.
-
Any new updates on this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions