Exafunction / codeium-chrome

Free, ultrafast code autocomplete for Chrome
https://www.codeium.com/
MIT License
111 stars 19 forks source link

Support godbolt's Compiler Explorer #4

Closed glcraft closed 1 year ago

glcraft commented 1 year ago

Add support to autocompletion for godbolt's Compiler Explorer

glcraft commented 1 year ago

I'll check out if I can implement this later (NB: I did not watch the extension code yet 😅 )

pqn commented 1 year ago

I took a quick look at this. The website does use Monaco, which we support, but trivially adding it to the list of sites in script.ts doesn't seem to work. I suspect some changes may be needed on https://github.com/compiler-explorer/compiler-explorer.

In particular, I haven't looked into it too closely, but we would need this feature to be enabled in the Monaco Webpack configuration: {label: 'inlineCompletions', entry: 'vs/editor/contrib/inlineCompletions/browser/ghostText.contribution'}

glcraft commented 1 year ago

It works fine now with PR https://github.com/Exafunction/codeium-chrome/pull/5. I close the issue 👍