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

LSP-copilot

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

Details

Installs

  • Total 586
  • Win 197
  • Mac 251
  • Linux 138
Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14
Windows 1 1 5 5 1 4 4 4 3 6 6 2 6 6 2 1 1 5 2 2 8 5 3 6 0 3 3 0 2 5 2 0 2 2 5 5 4 5 5 1 11 4 5 4 4 2
Mac 7 4 4 3 2 5 9 7 6 4 3 1 7 6 5 5 4 4 1 4 4 8 8 1 0 1 8 7 3 6 2 3 1 6 15 12 8 11 6 3 14 6 10 9 3 2
Linux 1 3 2 0 6 3 3 1 6 1 2 3 3 8 6 2 1 1 2 2 1 4 3 2 2 2 1 0 1 3 1 2 4 2 3 3 4 4 3 3 3 3 1 5 6 1

Readme

Source
raw.​githubusercontent.​com

LSP-copilot

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

  • Public network connection.
  • Active GitHub Copilot subscription.

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

My Sublime Text freezes after installing this plugin

It's likely that you are using Node v18, which is unsupported by the copilot server. For workarounds, see #51.

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"
        }
    ]
},