Developer Hub
Developer Hub
Create, develop, debug, test, publish, and maintain coc.nvim extensions with the current Node.js and coc.nvim APIs. coc.nvim extensions expose an activate(context) entry point to the Node.js extension host.
Choose a starting point
The guides are split by task. An extension can use one or more APIs; there is no requirement to implement an LSP server.
QuickstartCreate with coc-create or manuallyREPLTry APIs in a live editorSingle-file ExtensionsPrototype with one JavaScript fileVim Completion SourcesProvide completion from VimscriptTestingTest in Vim and NeovimAPI RecipesUse coc.nvim APIs safelyPublishingPackage and release an extensionAgent SkillsMaintain extension repositoriesTroubleshootingCapture a useful reproduction