texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.68k stars 343 forks source link

Add Github Copilot #3652

Open ponte-vecchio opened 1 month ago

ponte-vecchio commented 1 month ago

Describe the feature and the current behavior/state

With the addition of the AI Chat feature, I think it's reasonable to request support for Github Copilot

Who will benefit with this feature?

Similar to those with API keys for OpenAI and Mistal alike, people with access will enjoy the autocompletion features of Github Copilot as is prevalent in other editors such as Vim and VS Code.

Any Other info

None as yet, discussions welcome.

sunderme commented 1 month ago

I don't find an API to make use from txs. Anyone has any information on this ?

muzimuzhi commented 1 month ago

There's a Neovim plugin for GitHub Copilot maintained by GitHub itself, from which the endpoints and future changes of unofficial API could be observed I think. (I've never used GitHub Copilot.) https://github.com/github/copilot.vim

Found in stackoverflow Q&A https://stackoverflow.com/questions/76741410/how-to-invoke-github-copilot-programmatically.