ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-copilot

by TheSecEng, jfcherng ST4 New

GitHub Copilot support for Sublime Text LSP plugin provided through Copilot.vim.

Details

Installs

  • Total 105
  • Win 33
  • Mac 46
  • Linux 26
Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26
Windows 1 3 2 1 3 4 7 8 2 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 2 1 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 2 8 0 4 7 7 5 10 0 0 0 0 0 0 0 0 0 0 0 0 2 1 2 0 1 7 1 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 1 3 3 2 3 5 4 2 0 0 0 1 0 0 0 2 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

LSP-copilot

GitHub Copilot support for Sublime Text LSP plugin provided through Copilot.vim.

This plugin uses Copilot distribution which uses OpenAI Codex to suggest codes and entire functions in real-time right from your editor.

Prerequisites

  • Network connection.
  • Active GitHub Copilot subscription.

    Note that GitHub Copilot is free until August 22, 2022. You can start your trail on this page.

Installation

  1. Install LSP and LSP-copilot via Package Control.
  2. Restart Sublime Text.

Setup

On the first time use, follow the steps below:

  1. Execute Copilot: Sign In from the command palette.
  2. Follow the prompts to authenticate LSP-copilot.
    1. The User Code will be auto copied to your clipboard.
    2. Paste the User Code into the pop-up GitHub authentication page.
    3. Return to Sublime Text and press OK on the dialog.
    4. If you see a “sign in OK” dialog, LSP-copilot should start working since then.

FAQs

Pressing Tab commits autocompletion rather than Copilot's suggestion

There is no way for a plugin to know which one is wanted. But you can define your own dedicate keybinding to commit Copilot's suggestion.

{
    "keys": ["YOUR_OWN_DEDICATE_KEYBINDING"],
    "command": "copilot_accept_completion",
    "context": [
        {
            "key": "setting.copilot.completion.is_visible"
        }
    ]
},