Coder Social home page Coder Social logo

eglot-copilot's Introduction

eglot-copilot.el

License MELPA Version


Copilot integration with EGLOT and Company

Usage

'eglot-copilot-setup' Handles integration with emacs.

(eglot-copilot-setup)

'eglot-copilot-node-agent-script' will need to be updated to point to an copilot agent.js. An example can be found at https://github.com/github/copilot.vim/blob/release/copilot/dist/agent.js

This package provides a company transformer named 'eglot-copilot-sort-results-company-transformer' which takes the results of the copilot panel, and sorts the company candidates based on their presence in the copilot panel. It is added to the transformer list by default in 'eglot-copilot-setup'

Commands

Customization

Contributing

Contributions welcome, but forking preferred. I plan to actively maintain this, but I will be prioritizing features that impact me first.

I'll look at most pull requests eventually, but there is no SLA on those being accepted.

Also, I will only respond to pull requests on a case by case basis. I have no obligation to comment on, justify not accepting, or accept any given pull request. Feel free to start a fork that has more support in that area.

If there's a great pull request that I'm slow on accepting, feel free to fork and rename the project.

eglot-copilot's People

Contributors

tyler-dodge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nhojb wuurrd

eglot-copilot's Issues

Sign in fails because my eglot only uses project.el

I see you are calling eglot on the shadow buffers with the project parameter as (cons 'projectile (projectile-project-root)). My eglot uses project.el internally so later project based lookups fail to find the shadow buffers/servers. Sign-in is failing for me because eglot-copilot-shadow-eglot-server isn't finding the eglot-copilot server because eglot looks for the project.el name internally.

Have you got your eglot using projectile somehow?

eglot-copilot-company fails with schema validation error

Looks like the jsonrpc interface for the agent changed since this was posted. I get this error:

`((:code -32602 :message "Schema validation failed with the following errors:

  • /doc/version: Expected number
  • /doc/version: Expected required property"))`

This site claims to document the scheme and shows the version field. I tried adding it but didn't see a change (and I don't know what it's for tbh).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.