eca icon indicating copy to clipboard operation
eca copied to clipboard

Support Vim editor

Open ericdallo opened this issue 1 year ago • 5 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

from https://eca.dev/development/#supporting-a-new-editor

  • [x] Create the plugin/extension repo (editor-code-assistant/eca- would be ideal), ask maintainers for permission.
  • Server
    • Manage ECA server process.
      • [x] Automatic download of latest server.
      • [x] Allow user specify server path/args.
      • [x] Commands for Start/stop server from editor.
      • [x] Show server status (modeline, bottom of editor, etc).
    • [x] JSONRPC communication with eca server process via stdin/stdout sending/receiving requests and notifications, check protocol.
    • [x] Allow check eca server process stderr for debugging/logs.
    • [x] Support initialize and initialized methods.
    • [ ] Support exit and shutdown methods.
  • Chat
    • [x] Oepn chat window
    • [x] Send user messages via chat/prompt request.
    • [ ] Clear chat and Reset chat.
    • [x] Support receive chat contents via chat/contentReceived notification.
    • [ ] Present and allow user change behaviors and models returned from initialize request.
    • [ ] Present and add contexts via chat/queryContext request
    • [ ] Support tools contents: run/approval/reject via chat/toolCallApprove or chat/toolCallReject.
    • [ ] Support reason/thoughts content blocks.
    • [ ] Show MCPs summary (running, failed, pending).
    • [ ] Support chat commands (/) auto completion, querying via chat/queryCommands.
    • [x] Show usage (costs/tokens) from usage content blocks.
    • [ ] keybindings: navigate through chat blocks/messages, clear chat.
  • MCP
    • [ ] Open MCP details window
    • [ ] Receive MCP server updates and update chat and mcp-details ux.
  • [ ] Basic plugin/extension documentation

I have 0 experience in creating vim plugins, any help is welcome, otherwise priority is lower.

Any help is welcome, please report in this issue for alignment

ericdallo avatar Jun 20 '25 13:06 ericdallo

@tomgeorge talked with me and mentioned that is working on this and should provide soon info about its state

ericdallo avatar Jul 21 '25 02:07 ericdallo

@joaopluigi already have a minimal working version for nvim! 🎉 I created the https://github.com/editor-code-assistant/eca-nvim repo

ericdallo avatar Jul 31 '25 13:07 ericdallo

@ericdallo I've updated the To-Do list with the functionality that is implemented. We might need to add a new item related to UI design/layout (right now is awful 😅)

joaopluigi avatar Jul 31 '25 20:07 joaopluigi

@joaopluigi I updated the TODO list after enhancing development docs. it should help you! Please update the TODO when possible.

ericdallo avatar Aug 02 '25 00:08 ericdallo

@W3ND31 create a similar plugin with more capabilities, I talked with @joaopluigi and @W3ND31 and we agreed on unifying efforts, now eca-nvim is way more capable, pushed to v0 the work from @joaopluigi

ericdallo avatar Aug 04 '25 15:08 ericdallo