Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
:h coc-completion
or #3862
suggest.enablePreview
suggest.keepCompleteopt
suggest.disableKind
suggest.disableMenu
suggest.floatEnable
suggest.disableMenuShortcut
."suggest.noselect"
changed to false
by default, like VSCode."suggest.enablePreselect"
changed to true
by default, like VSCode."suggest.formatItems"
for customize layout in popupmenu.list.matchHighlightGroup
, use highlight group CocListSearch
for matched characters.notification.preferMenuPicker
progressOnInitialization
for language client by default.repeat#set
for commands that make changes only.workspace.openOutputCommand
.Full Changelog: https://github.com/neoclide/coc.nvim/compare/540b2865...7a50d4d9
Features in LSP 3.16 are now supported, including:
:h coc-semantic-highlights
:h CocAction('showIncomingCalls')
:h CocAction('showOutgoingCalls')
:h coc-preferences-enableLinkedEditing
Other major changes:
:h coc-tree
.:h CocAction('showOutline')
.:h coc-notification
#3813:h coc-snippets
8401279e3.:h coc-workspace
#3838definitionHover
:h CocAction('definitionHover')
c9009f21.BufferSync
LinesTextDocument
SemanticTokensBuilder
TextInsert
event to handle user insert 8c42f40a.floatConfig
to configure style of float window/popup eb47e40c.nvim_buf_set_text
to change text when possible 2c18827a.disabledFeatures
support for configure language servers a60702d0.See #3530
Full Changelog: https://github.com/neoclide/coc.nvim/compare/c90a07ee...21a8e00b
New float window/popup features requires coc.nvim >= 0.4.0 or vim >= 8.2.0750
border
, title
, scrollbar
and buttons
support on both vim and neovim.
Functions for scroll float window and popups, checkout :h coc#float#has_scroll()
Several kinds of Dialog that could accept user action:
window.showPrompt()
window.requestInput()
window.showMenuPicker()
window.showPickerDialog()
window.showErrorMessage()
, window.showWarningMessage()
,
window.showInformationMessage()
and window.showNotification()
.window.withProgress()
all of them works on both vim and neovim, checkout :h coc-dialog
for details.
<esc>
would always cancel prompt.:CocPrev
, :CocNext
, CocFirst
and
CocLast
could take optional list name as argument.:CocListCancel
for cancel latest list."list.matchHighlightGroup"
configuration for customize highlight of
matched characters.\
to escape space with extended search mode.download
and fetch
module.getHover
action.:CocWatch
command for automatic reload changed extension #2549.env
support for Task
module.workspace.workspace.onWillSaveUntil
#2704.diagnostic.refreshAfterSave
configuration support #2731.Old extensions would still work, but could be failed to compile with 0.0.80's typing.
Use coc-extension-codemod for migrate old coc.nvim extensions to 0.0.80's API.
Use window
module for methods that moved from workspace
module, including:
new FloatFactory
only takes one argument.
FloatFactory.create
is removed from typing, use FloatFactory.show
instead.
document.applyEdits()
only takes edits as first argument.
Promise can't use logError()
method anymore.
nvim.resumeNotification(false, true)
returns void instead of promise.
Not possible to use modules that inside coc.nvim, like from "coc.nvim/lib/util"
fetch
and download
module.diagnostic.locationlistUpdate
configuration.:CocDiagnostics
command.:CocFirst
and :CocLast
commands.listDescriptions
action.diagnosticToggle
action.coc#util#close_floats()
coc#util#float_hide()
functions.<Plug>(coc-codeaction-line)
.fixAll
& organizeImport
actioninstallBuffer
for extension install & update.workspace.expand
for expand variables and ~
.g:coc_sources_disable_map
.http.proxyAuthorization
configuration.g:coc_disable_uncaught_error
.signature.target
.disableSnippetCompletion
for languageserver
configuration.--no-quite
--no-resize
--first
command arguments for CocList.COC_NODE_PATH
environment variable.b:coc_diagnostic_disable
listOfWorkspaceEdit
configuration.list.source.symbols.excludes
configuration.g:node_client_debug
for enable connection log.coc.preferences.maxFileSize
configuration.g:coc_disable_transparent_cursor
.popup_dialog
for prompt when possible.BREAK CHANGES
diagnostic.locationlist
configration.coc#util#install()
will run yarn install --frozen-lockfile
command to compile the code instead of fetch javascript file from github.suggest.triggerCompletionWait
now used for debounce completion instead of completion wait time of language server.<Plug>(coc-codeaction)
use entire buffer as range, not current line.document.applyEdit
method.workspaceSymbols
action is removed.textprop
and popup
features of vim8 not work on vim <= 8.1.1719.coc.preferences.extensionUpdateCheck
is never by default,CocList commands
not list commands from inactivated extensions.coc-config
in English docs (#1690)extensions.forceUpdateAll
.<Plug>(coc-refactor)
for refactor windowg:coc_extension_root
g:coc_quickfix_open_command