New in V4.0.0 - ✨ Improved @editor tool to update your buffers #260
olimorris
announced in
Announcements
Replies: 1 comment 8 replies
-
Thank you for all the hard work. I'm testing the new additions.
I'll work on adding mini.pick in the coming days. One question, though, it's a bit out of context: what color scheme are you using? I really like the diff colors. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Firstly, there's a potential tonne of breaking changes which I've explained in the specific commits. So please consult the CHANGELOG.
@editor
toolI've made a lot of changes to this tool to try and make it a viable means of updating a buffer from the chat. It's now capable of some pretty complex modifications:
Complex.modifications.mp4
Previously, the tool could only handle single modifications. Now, it can stack multiple actions together such as
add
,delete
orupdate
. For full disclosure, the XML from the last video was:I've also made sure that the
prompt_library
provides buffer numbers where possible so that you can leverage@editor
after calling those.Call to action
I'd ask the community to try this out and curate the system prompt that comes with the editor tool to make it even better. I've tried the example above with Copilot, Anthropic, OpenAI, Google and all work well. But I expect to hit some edge cases and I'd value your investigation on how to solve them.
:CodeCompanionActions
can now use external providersA valid challenge in recent days was making
:CodeCompanionActions
available for external providers such as Telescope, especially as we reference it as an optional dependency. That is now possible inv4.0.0
and I'd ask the community to look at that implementation and think about adding mini.pick or fzflua.Streamlined commands
It's now possible to do
:CodeCompanionChat why is Lua such an awesome language?
to open up a chat buffer and automatically submit the prompt. Saves a few keystrokes and feels more inline with what I would expect if I was using the plugin for the first time.Beta Was this translation helpful? Give feedback.
All reactions