Nova

Extensions


Readme

Copilot is a Nova integration with Github Copilot Language Server

Requirements

Copilot extension requires some additional tools to be installed:

  • Node.js
  • Copilot Language Server

Install Node.js

Using Homebrew

brew install node

Using Mise

mise install node

Using official site

  • Go to https://nodejs.org
  • Click "Download Node.js (LTS)" button to download the .pkg installer
  • Double-click the .pkg installer to begin installation.

Check installation

$ node -v
v22.13.1
$ npm -v
10.9.2

Install Copilot Language Server

npm install @github/copilot-language-server

Check installation

$ copilot-language-server --version
1.267.0

Configuration

Once Node and Copilot Language Server are installed we need to set the correct paths in extension settings

Open Extensions > Extension Library > Copilot then select Copilot's Settings tab.

In the Node Path field paste the node path. In the Copilot Language Server path paste the copilot-language-server path.

Paths can be found using which command

$ which node
/Users/besya/.local/share/mise/installs/node/22.13.1/bin/node
$ copilot-language-server
/Users/besya/.local/share/mise/installs/node/22.13.1/bin/copilot-language-server

Usage

Sign in

  1. Go to Extensions > Copilot > Sign In
  2. Notification should appear with the code
  3. Copy the code and click "Sign in with Github"
  4. Switch to your browser and you should see the Github's Device Activation page
  5. Click "Continue"
  6. Paste the code you copied earlier
  7. Click "Continue"
  8. Click "Authorize Github Copilot Plugin"
  9. You should see the page with "Congratulations, you're all set!" message
  10. Close this page and switch back to Nova
  11. Wait a few seconds and the Notification should appear with the "Authorized" message
  12. Congratulations. Now you are able to use Copilot

Completions

Default shortcut for inline completion command is ^" (control-shift-') The completion provided by copilot-language-server should appear next to your cursor position and autoselected.

Experimental feature

There is a another option to use inline completion and it's a completion by typing. This invocation happens on TextEditor.onDidStopChanging.

This mode can be enabled in Extensions > Extension Library > Copilot > Settings by enabling the Enable inline completions on typing checkbox.

WARNING: This is an experimental feature, so be careful not to lose or break your code by using it.


Changelog

Version 0.0.1

Initial release


License

MIT License

Copyright (c) 2025 Ihar Biaspalau

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.