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

Expose a completions API on the window object for websites #27

Open
supriyo-biswas opened this issue Aug 7, 2023 · 1 comment
Open

Comments

@supriyo-biswas
Copy link

Hi there,

I run a coding playground that uses Codemirror 6, and I'd like this extension to support my website.

I understand that Codemirror 6 is currently not supported. Since supporting Codemirror 6 is likely to involve some work, I'd like to ask for an API, exposed on the window object, which I can trigger with the editor text and provide autocompletions myself.

I understand that you may not want to inject Codeium's content scripts on every website out there, so I'm open to having my website added manually to the list of supported sites. In this request, I'm simply asking for an API to be exposed for websites which will be in the said (and as of yet not implemented) list.

@pqn
Copy link
Contributor

pqn commented Aug 9, 2023

This amounts to us implementing a JavaScript API layer on top of our RPC API layer. I think this would be a longer term effort.

It might be quicker to figure out a CodeMirror 6 solution.

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

No branches or pull requests

2 participants