- feat(cursors): support multiple cursors.
- feat(extensions): install missing extensions by CocInstall.
- feat(extensions): add command
extensions.forceUpdateAll
. - feat(completion): rework preselect feature.
- feat(extension): use request for fetch package info.
- feat(language-client): support disableDynamicRegister configuration.
- feat(list): paste from vim register support on insert mode #1088.
- feat(plugin): add CocHasProvider(), close #1087.
- refactor(outline): not exclude variables and callback.
- refactor(diagnostic): remove timeout on InsertLeave.
- fix(completion): fix map of number select
- fix(languages): fix cursor position with snippet
- fix(completion): fix cursor position with additionalTextEdits
- fix(position): fix rangeOverlap check #961
- fix(list): not change guicursor when it's empty
- fix(list): fix filter not work on loading
- fix(list): fix custom location list command not work
- fix(util): highlight & render on vim8
- fix(handler): fix getCommands
- fix(handler): not check lastInsert on trigger signatureHelp
- fix(handler): fix check of signature help trigger
- fix(language-client): configuration for configured server, closes #930
- fix(diagnostic): clear diagnostics on filetype change
- feat(plugin): add download & fetch modules
- feat(plugin): add highligher module
- feat(refactor): add
<Plug>(coc-refactor)
for refactor window - feat(extension): use mv module for folder rename
- feat(extension): support install taged extension
- feat(extension): support custom extension root
g:coc_extension_root
- feat(handler): close signature float window on ')'
- feat(list): support
g:coc_quickfix_open_command
- feat(list): add eval action
- feat(list): add --tab list option
- feat(list): use highligher module for showHelp
- feat(terminal): add noa on window jump
- feat(terminal): support vim8
- feat(diagnostic): add diagnosticRelated support
- feat(diagnostic): use text properties on vim8
- feat(handler): improve signature float window
- feat(plugin): add CocStatusChange autocmd
- feat(extension): support both npm and yarn.
- feat(plugin): work on vim 8.0
- feat(extensions): add lock & doc actions to extension source
- feat(extension): add proxy auth support (#920)
- feat(source): not change startcol for file source
- feat(completion): no numberSelect for number input
- feat(extensions): Use yarn when npm not found
- feat(completion): no popup for command line buffer
- feat(plugin): support only for codeActions action
- feat(task): debounce stdout
- feat(plugin): add keymaps for selection ranges
- feat(plugin): add function textobj
- feat(list): restore window height, closes #905
- feat(handler): support signature.floatTimeout
- feat(configuration): support change of workspace configuration
- feat(diagnostic): add keymaps for jump error diagnostics
- feat(plugin): delay start on gvim, fix #659
- feat(plugin): add popup support of vim
- refactor(completion): improve float support
- refactor(floating): remove unused code
- refactor(workspace): replace find-up
- refactor(handler): improve message for fold method
- fix(virtualtext): invalid highlight tag (#874)
- fix(snippets): fix plaintext check
- fix(highlight): catch error of child_process.spawn
- fix(highlight): use v:progpath, fix #871
- fix(floatFactory): escape feedkeys
- fix(handler): fix getCurrentFunctionSymbol not work
- feat(document): add getVar method
- fix(util): not break selection on message
- fix(workspace): fix jumpTo not work on vim8
- fix(completion): trigger completion with word character
- refactor(handler): return boolean result
- perf(workspace): improve jump performance
- fix(util): Escape filename for jump (#862)
- refactor(plugin): not show empty hover
- feat(outline): ignore callback function
- feat(workspace): support list of events with registerAutocmd
- fix(workspace): fix jump with tab drop
- refactor(language-client): change API of selectionRanges
- Break change
CocHighlightText
link toCursorColumn
by default. - Break change logger folder changed to
$XDG_RUNTIME_DIR
when exists. - Add
<PageUp>
and<PageDown>
support for list, #825. - Add function
coc#add_command()
. - Add
disableDiagnostics
&disableCompletion
to languageclient configuration. - Add
signature.triggerSignatureWait
configuration. - Add vim-repeat support for run command and quickfix.
- Add prefered
codeAction
support. - Add
prompt.paste
action to list. - Add title as argument support for
codeAction
action. - Add
suggest.floatEnable
configuration. - Add
editor.action.organizeImport
command. - Add
:CocAction
and:CocFix
commands. - Add
codeActions
action. - Fix issues with list.
- Break change logger folder changed.
- Add support of vim-repeat for
<Plug>
keymaps. - Add
CocRegistNotification()
function. - Add argument to rename action.
- Add
suggest.disableMenuShortcut
configuration. - Add glob support for root patterns.
- Add
<esc>
keymap to list window. - Add shortcut in sources list.
- Add
list.previewSplitRight
configuration. - Add
triggerOnly
property to source. - Add warning for duplicate extension.
- Bug fixes.
- New feature load extensions from coc-extensions folder.
- Add
workspace.renameCurrentFile
command. - Add
FloatBuffer
,FloatFactory
andURI
to exports. - Add
resolveItem
support to list. - Fix prompt can't work when execute list action.
- Fix ansiparser for empty color ranges.
- Fix highlight only work with first 8 items.
- Break change vim-node-rpc not required on vim.
- Break change python not required on vim.
- Break change complete items would refreshed after 500ms when not finished.
- Add
additionalSchemes
for configured language server. - Add support for jumpCommand as false.
- Fix
diagnostic.level
not work.
- Break change
--strictMatch
option of list renamed to--strict
- Break change
suggest.reloadPumOnInsertChar
support removed. - Break change no more binary release.
- Break change logic for resolve workspace folder changed.
- Add
Task
module. - Add
getCurrentFunctionSymbol
action. - Add
list.source.outline.ctagsFilestypes
setting. - Add
suggest.disableMenu
andsuggest.disableMenu
settings. - Add
equal
support for complete items. - Add support for do action with visual select lines of list.
- Add expand tilder support for language server command.
- Add switch matcher support to list.
- Add select all support to lsit.
- Add quickfix action to list.
- Add
selectionRanges
of LSP. - Add load extentions for &rtp support.
- Add
coc#on_enter()
for formatOnType and add new lines on enter. - Improve completion by support trigger completion when pumvisible.
- Remove document check on
BufWritePre
.
- Break change not using vim-node-rpc from npm modules any more.
- Break change rename
<Plug>_
to<Plug>CocRefresh
. - Fix wrong format options send to server.
- Fix throw eror when extention root not created.
- Fix MarkedString not considered as markdown.
- Fix echo message on vim exit.
- Fix error throw on file watch.
- Fix unexpected update of user configuration.
- Add
workspace.resolveRootFolder
. - Add
diagnostic.joinMessageLines
setting. - Add
suggest.completionItemKindLabels
setting. - Add
memento
support for extention. - Add
workspace.getSelectedRange
. - Add
Terminal
module. - Add command
workbench.action.reloadWindow
. - Fix extention not activated by command.
- Fix broken undo with floating window.
- Fix document create possible wrong uri & filetype.
- Improve highlight with floating window.
- Break change make number input not trigger completion.
- Break change make none keywords character doesn't filter completion.
- Add functions for check snippet state.
- Add setting
diagnostic.checkCurrentLine
. - Fix
signature.target
not work. - Fix flick of signature window.
- Fix EPIPE error of node-client.
- Fix wrong root of FileWatchSysmtem.
- Break change signature settings now starts
signature
. - Break change default request timeout changed to 5s.
- Break change
commands.executeCommand
return promise. - Add
coc.preferences.signatureHelpTarget
. - Add
diagnostic.maxWindowHeight
&signature.maxWindowHeight
. - Add
diagnostic.enableSign
. - Add support for
$COC_NO_PLUGINS
. - Add keymaps:
<Plug>(coc-float-hide)
and<Plug>(coc-float-jump)
. - Add
coc.preferences.enableFloatHighlight
. - Fix issues with floating window.
- Fix critical performance issue on diff text.
- Improve color of
CocHighlightText
. - Improve sort of complete items.
- Improve extention list with version and open action.
- Break change change vim config home on windows to '$HOME/vimfiles'.
- Add highlights to float windows.
- Add CocLocationsAsync().
- Add support for
b:coc_suggest_disable
. - Add support for
b:coc_suggest_blacklist
. - Add setting
diagnostic.messageTarget
. - Add floating window support for signatures.
- Fix issues with diagnostic float.
- Fix info of completion item not shown.
- Fix CocUpdateSync not work without service start.
- Fix wrong indent spaces of snippets.
- Break change change buffers instead of disk file for
workspace.applyEdits
. - Break change add config errors to diagnostic list instead of jump locations.
- Break change hack for popup menu flicker is remvoed, use
suggest.reloadPumOnInsertChar
to enable it. - Break change use
nvim_select_popupmenu_item
for number select completion. - Add floating window for completion items.
- Add floating window support for diagnostics.
- Add floating window support for hover documentation.
- Add
coc#on_enter()
for notify enter pressed. - Add setting
coc.preferences.useQuickfixForLocations
. - Add support of
g:coc_watch_extensions
for automatic reload extentions. - Add command:
editor.action.doCodeAction
. - Fix service on restarted on windows after rebuild.
- Fix config of airline.
- Fix relative path of watchman.
- Improve Mru model.
- Break change signature change of
workspace.registerKeymap
. - Break change
<esc>
of CocList can't be remapped any more. - Break change use
yarnpkg
command instead ofyarn
when possible. - Break change
noinsert
is removed fromcompleteopt
whennoselect
is enabled,<CR>
would break line by default. - Add setting
diagnostic.refreshAfterSave
. - Add chinese documentation.
- Add support of multiple line placeholder.
- Fix edit of nested snippet placeholders.
- Fix possible infinite create of documents.
- Fix check for resume completion.
- Break change default of
suggest.detailMaxLength
changed to 100. - Break change option of
workspace.registerKeymap
changed. - Add settings:
suggest.defailField
. - Add check for autocmd in health check.
- Add trigger patterns support for complete sources.
- Add support of
coc-snippets-expand-jump
- Add
source
option for completion start. - Add
sources.createSource
method.
- Break change some configurations have been renamed, checkout #462.
- Break change no longer automatic trigger for CursorHoldI #452.
- Break change add preview option of
completeopt
according tosuggest.enablePreview
. - Add statusItem for CocUpdate.
- Add
-sycn
option for:CocInstall
- Add support for floating preview window.
- Add more module export.
- Fix check of vim-node-rpc throw error.
- Fix wrong line for TextEdit of complete item.
- Fix diagnostics not cleared on service restart.
- Break change completion resolve requires CompleteChanged autocmd.
- Break change mapping of space on insert mode of list removed.
- Break change kind of completion item use single letter.
- Fix snippet not works on GUI vim.
- Fix cursor vanish on vim by use timer hacks.
- Fix behavior of list preview window.
- Fix python check on vim.
- Fix CocJumpPlaceholder not fired.
- Fix vscode-open command not work.
- Break change function
coc#util#clearmatches
signature changed. - Add check for python gtk module.
- Add check for vim-node-rpc update error.
- Fix source name of diagnostics.
- Fix empty buffers created on preview.
- Fix trigger of
CursorHoldI
.
- Break change: internal filetype of settings file changed to jsonc.
- Break change:
coc#util#install
changed to synchronize by default. - Break change: no document highlight would be added for colored symbol.
- Break change: remove
coc.preferences.openResourceCommand
. - Add fallback rename implementation which rename symbols on current buffer.
- Add command
:CocUpdateSync
. - Add
coc.preferences.detailMaxLength
for slice detail on completion menu. - Add cancel support for completion.
- Add
ctags
as fallback of document symbols list. - Add default key-mappings for location actions.
- Add python check on vim.
- Add
disableSyntaxes
support for completion sources. - Add support for change
isProgress
ofStatusBarItem
- Add check of coc.nvim version for
CocUpdate
- Add
coc.preferences.previewAutoClose
, default true. - Add
workspace.add registerAutocmd
. - Fix highlight not cleared on vim
- Fix health check of service state.
- Fix CursorHoldI not triggered on neovim.
- Fix sort of list not stable.
- Break change: no messages when documentSymbol and workspaceSymbol provider not found.
- Add support for configure sign in statusline.
- Add help action for list.
- Fix parse error on extentions update.
- Fix wrong uri on windows.
- Fix cancel list without close ui.
- Improve startup time by remove jobwait.
- Break change: extentions now update automatically, prompt is removed.
- Add check for extention compatibility.
- Add transform support for placeholder.
- Add check for node version.
- Add error check for list.
- Add settings:
coc.preferences.diagnostic.virtualTextLines
. - Fix preview window not shown.
- Fix highlight not cleared on vim.
- Fix highlight commands of list block vim on start.
- Improve extention load.
- Improve list experience.
- Break change:
coc.preferences.diagnostic.echoMessage
changed to enum. - Add mru support for commands and lists list.
- Add
coc.preferences.diagnostic.refreshOnInsertMode
- Add
Mru
module. - Improve highlight for lists, support empty
filterLabel
. - Fix
findLocations
not work with nest locations. - Fix cursor position after apply additionalTextEdits.
- Break change: python code for denite support moved to seperated repo.
- Break change: Quickfix list no longer used.
- Add list support.
- Add configuration:
coc.preferences.diagnostic.virtualText
. - Add watch for
&rtp
change. - Add support for configure
g:coc_user_config
andg:coc_global_extensions
- Add support for send request to coc on vim start.
- Add
g:coc_start_at_startup
support. - Add configuration:
coc.preferences.invalidInsertCharacters
. - Add configuration:
coc.preferences.snippetStatusText
. - Add
coc#_insert_key()
for insert keymap. - Add
workspace.registerExprKeymap()
. - Add detect for
vim-node-rpc
abnormal exist. - Add
requireRootPattern
to languageserver configuration. - Fix git check, always generate keywords.
- Fix crash when
righleft
set to 1 on neovim. - Fix snippet position could be wrong.
- Break change: throw error when languageserver id is invalid.
- Add watcher for languageserver configuration change.
- Fix possible invalid package.json.
- Fix applyEdits not work sometimes.
- Fix server still started when command search failed.
- Fix log file not writeable.
- Improve completion performance.
- Break change: using of
g:rooter_patterns
is removed. - Break change: diagnostics would be updated in insert mode now.
- Add configuration:
coc.preferences.rootPatterns
- Add
TM_SELECTED_TEXT
andCLIPBOARD
support for snippets. - Fix check of latest insert char failed.
- Fix highlight not cleared sometimes.
- Fix issues with completion.
- Break change: created keymaps use rpcrequest instead of rpcnotify.
- Break change: snippets provider is removed, use
coc-snippets
for extention snippets. - Add command:
coc.action.insertSnippet
- Fix position of snippets.
- Fix modifier of registered keymaps.
- Fix completion triggered on complete done.
- Fix closure function possible conflict.
- Fix unexpected snippet cancel.
- Fix document applyEdits, always use current lines.
- Fix fail of yarn global command.
- Fix check of changedtick on completion done.
- Fix line used for textEdit of completion.
- Fix snippet canceled by
formatOnType
. - Fix
CocJumpPlaceholder
not fired - Optimize content synchronize.
- Break change: no more message on service ready.
- Break change: vim source now registered as extention.
- Break change: complete item sort have reworked.
- Break change: request send to coc would throw when service not ready.
- Add support for check current state on diagnostic update.
- Add
env
opinion for registered command languageserver. - Add outputChannel for watchman.
- Add
coc#_select_confirm()
for trigger select and confirm. - Add
coc.preferences.numberSelect
. - Add priority support for format provider.
- Add
workspace.watchGlobal
andworkspace.watchOption
methods. - Fix cursor disappear on
TextChangedP
with vim. - Fix coc process not killed when update on windows.
- Fix snippet broken on vim.
- Fix support of startcol of completion result.
- Fix
labelOffsetSupport
wrong position. - Fix flicking on neovim.
- Fix unicide not considered as iskeyword.
- Fix watchman client not initialized sometimes.
- Improve performance for parse iskeyword.
- Not echo message on vim exit.
- Not send empty configuration change to languageserver.
- Break change configuration for module language server, transport now require specified value.
- Break change new algorithm for socre complete items.
- Add command
workspace.clearWatchman
. - Add
quickfixs
,doCodeAction
anddoQuickfix
actions. - Add
g:vim_node_rpc_args
for debug purpose. - Add
coc#add_extension()
for specify extentions to install. - Fix clients not restarted on CocRestart.
- Fix
execArgv
andruntime
not work for node language server. - Fix detail of complete item not echoed sometimes.
- Fix actions missing when registered with same clientId.
- Fix issues with signature echo.
- Fix uri is wrong with whitespace.
- Improve highlight performance with
nvim_call_atomic
.
- Break change
vim-node-rpc
now upgrade in bacground. - Add
ignoredRootPaths
tolanguageserver
option. - Add detect of vim running state.
- Add
client.vim
for create clients. - Fix possible wrong current line of
completeResolve
. - Fix snippet not work with
set virtualedit=all
. - Fix default timeout to 2000.
- Fix file mode of log file.
- Break change
fixInsertedWord
fix inserted word which ends with word after. - Break change
onCompleteSelect
is removed. - Add
workspace.registerKeymap
for regist keymap. - Add match score for sort complete items.
- Fix possible connection lost.
- Fix priority of diagnostic signs.
- Fix possible wrong uri.
- Fix
RevealOutputChannelOn
not default tonever
. - Fix possible wrong line used for textEdit of complete item.
- Fix possible wrong cursor position of snippet after inserted.
- Break change default rootPath would be directory of current file, not cwd.
- Break change codeLens feature now disabled by default.
- Break change diagnostic prev/next now loop diagnostics.
- Add support of neovim highlight namespace.
- Add support for undo
additionalTextEdits
on neovim - Fix configuration resolve could be wrong.
- Fix word of completion item could be wrong.
- Fix rootPath could be null.
- Fix highlight not cleared on restart.
- Break change
RevealOutputChannelOn
of language client default tonever
. - Fix can't install on windows vim.
- Fix
displayByAle
not clearing diagnostics. - Add check for
vim-node-rpc
udpate on vim. - Add
Resolver
module. - Improve apply
WorkspaceEdit
, support0
as document version and merge edits for same document.
- Add
CocJumpPlaceholder
autocmd. - Add
rootPatterns
tolanguageserver
config. - Add setting:
coc.preferences.hoverTarget
, support use echo. - Add setting
coc.preferences.diagnostic.displayByAle
for use ale to display errors. - Add setting
coc.preferences.extensionUpdateCheck
for control update check of extentions. - Add
coc#config
for set configuration in vim. - Fix rootPath not resolved on initialize.
- Fix possible wrong
tabSize
by useshiftwidth
option. - Fix trigger of
documentColors
request. - Fix
vim-node-rpc
service not work on windows vim. - Fix
codeLens
not works. - Fix highlight of signatureHelp.
- Fix watchman watching same root multiple times.
- Fix completion throw undefined error.
- Fix
open_terminal
not works on vim. - Fix possible connection lost by use notification when possible.
- Fix process not terminated when connection lost.
- Rework diagnostics with task sequence.
- Rework configuration with more tests.
- Break change signature help reworked, vim API for echo signature changed.
- Add
:CocInfo
command. - Add trigger for signature help after function expand.
- Add echo message when provider not found for some actions.
- Add support for
formatexpr
- Add support for locality bonus like VSCode.
- Add support of
applyAdditionaLEdits
on item selected by<esc>
- Add
coc.preferences.useQuickfixForLocations
- Add
coc.preferences.messageLevel
- Add support for trigger command which not registered by server.
- Add
g:coc_denite_quickfix_action
- Fix insert unwanted word when trigger
commitCharacter
. - Fix rpc request throw on vim.
- Fix
data
of complete item conflict. - Fix code action not work sometime.
- Fix
coc.preferences.diagnostic.locationlist
not work. - Fix
coc.preference.preferCompleteThanJumpPlaceholder
. - Fix
workspace.jumpTo
not work sometime. - Fix line indent for snippet.
- Fix trigger of
signatureHelp
andonTypeFormat
.
- Break change sources exluding
around
,buffer
orfile
are extracted as extensions. - Break change custom source not exists any more.
- Add
coc.preferences.preferCompleteThanJumpPlaceholder
to make jump placeholder behavior as confirm completion when possible. - Add
CocDiagnosticChange
autocmd for force statusline update. - Add
onDidUnloadExtension
event on extention unload. - Fix
getDiagnosticsInRange
, consider all interactive ranges. - Fix completion throw when
data
on complete item isstring
. - Fix
commitCharacters
not works. - Fix workspace methods:
renameFile
,deleteFile
andresolveRoot
. - Fix textEdit of builtin sources not works.
- Break change snippet support reworked: support nest snippets, independent session in each buffer and lots of fixes.
- Break change diagnostic list now sort by severity first.
- Add commands:
:CocUninstall
and:CocOpenLog
- Add cterm color for highlights.
- Add line highlight support for diagnostic.
- Add
coc.preferences.fixInsertedWord
to make complete item replace current word. - Fix check confirm not works on vim sometimes.
- Fix check of
vim-node-rpc
. - Fix preselect complete item not first sometimes.
- Improve completion sort result by consider more abort priority and recent selected.
- Improve colors module, only highlight current buffer and when buffer changed.
- Improve
doc/coc.txt
- Break change default completion timeout changed to 2s.
- Break change snippet session not canceled on
InsertLeave
, use<esc>
in normal mode to cancel. - Add document color support.
- Add CocAction 'pickColor' and 'colorPresentation'.
- Add prompt for install vim-node-rpc module.
- Add support for
inComplete
completion result. - Add status item for snippet session.
- Add support for fix inserted text of snippet completion item.
- Fix document highlight not cleared.
- Fix cancel behavior of snippet.
- Fix range check of edit on snippet session.
- Fix check of completion confirm.
- Fix highlight group 'CocHighlightWrite' not work.
- Fix command
editor.action.rename
not works. - Fix throw error before initialize.
- Fix
g:coc_node_path
not working. - Fix file source throw undefined error.
- Improve logic of sorting completion items, strict match items comes first.
- Break change word source removed from custom sources, enabled for markdown by default.
- Break change ignore sortText when input.length > 3.
- Break change show prompt for install
coc-json
when not found. - Fix document content synchronize could be wrong.
- Fix filetype not converted on completion.
- Fix complete item possible not resolved.
- Improve document highlight, no highlight when cursor moved.
- Improve completion score, use fuzzaldrin-plus replace fuzzaldrin.
- Break change no items from snippets source when input is empty.
- Break change
javascript.jsx
would changed tojavascriptreact
as languageId. - Break change
typescript.tsx
would changed totypescriptreact
as languageId. - Add support for
commitCharacters
andcoc.preferences.acceptSuggestionOnCommitCharacter
. - Add setting:
coc.preferences.diagnostic.level
. - Add
g:coc_filetype_map
for customize mapping between filetype and languageId. - Add
g:coc_node_path
for custom node executable. - Add
workspaceFolders
feature to language client. - Add
~
to complete item of snippet source. - Add
onDidChangeWorkspaceFolder
event - Fix
eol
issue by checkeol
option. - Fix
workspace.document
could be null. - Fix
workspaceFolder
could be null. - Fix diagnostic for quickfix buffer.
- Fix resolve of
coc.preferences.rootPath
- Break change diagnostic reworked, no refresh on insert mode.
- Break change keep
sortText
on filter for better result. - Break change prefer trigger completion than filter, same as VSCode.
- Break change filetype of document would be first part of
&filetype
split by.
. - Break change prefer label as abbr for complete item.
- Fix creating wrong
textEdit
for snippet. - Fix
startcol
ofCompleteResult
not working. - Fix
workspaceConfiguration.toJSON
return invalid result. - Fix
workspace.readFile
not synchronized with buffer. - Fix
workspace.rootPath
not resolved as expected. - Fix
CompletionItem
resolved multiple times. - Fix check of
latestInsert
on completion. - Fix
formatOnType
possible add unnecessary indent. - Fix document content synchronized on vim.
- Fix confirm check of completion for all source.
- Fix document possible register multiple times.
- Fix completion always stopped when input is empty.
- Add warning message when definition not found.
- Add
redraw
afterg:coc_status
changed. - Remove change of
virtualedit
option of snippet. - Improved performance of filter completion items.
- Fix
implementation
andtypeDefinition
of language client not working. - Fix
diffLines
return wrong range. - Fix
setqflist
andsetloclist
not works on vim. - Fix snippets and
additionalTextEdits
not works on vim. - Fix append lines not works on vim.
- Fix highlight action not works on vim.
- Fix null version of
TextDocumentIdentifier
not handled. - Add
workspace.registerTextDocumentContentProvider
for handle custom uri. - Add
workspace.createStatusBarItem
method.
- Break change:
triggerAfterInsertEnter
now respectminTriggerInputLength
. - Add
coc.preferences.minTriggerInputLength
. - Add command:
:CocCommand
. - Fix
position
ofprovideCompletionItems
. - Fix content change not trigger after completion.
- Fix default sorters & matchers of denite sources.
- Fix
outputChannel
wrongbuftype
. - Fix completion not works with
textEdit
add new lines. - Fix first item not resolved when
noselect
is disabled - Remove using of
diff
module.
- Break change: all buffers are created as document.
- Break change: retrieve workspace root on document create.
- Fix
uri
for all buffer types. - Fix bad performance on parse keywords.
- Fix check of language client state.
- Fix register of
renameProvider
- Fix
CocRequestAsync
not work. - Fix
workspace.openResource
error withwildignore
option. - Fix output channel can't shown if hidden.
- Fix extension activate before document create.
- Add command
vscode.open
andeditor.action.restart
. - Add
workspace.requestInput
method. - Add support of
g:rooter_patterns
- Add
storagePath
toExtensionContext
- Add
workspace.env
property. - Add support of scoped configuration.
- Disable buffer highlight on vim.
- Break change API:
workspace.resoleModule
only does resolve. - Break change extension would still be loaded even if current coc version miss match.
- Break change variables are removed from view of
Denite coc-symbols
- Fix
workspace.applyEdits
- Fix
console.log
throws in extension. - Fix invalid
workspace.root
with custom buffer schema. - Fix possible crash on neovim 0.3.1 by not attach terminal buffer.
- Fix jump position not stored when jump to current buffer position.
- Fix install function not works on vim.
- Add support for custom uri schema for
workspace.jumpTo
andworkspace.openResource
- Add
workspace.findUp
for find up file of current buffer. - Add
env
option for custom language server config. - Add vim function:
CocRequest
andCocRequestAsync
for send request to language server in vim. - Add
coc.preferences.parseKeywordsLimitLines
andcoc.preferences.hyphenAsKeyword
for buffer parse. - Rework completion for performance and accuracy.
- Break change,
workspace.onDidChangeConfiguration
emitConfigurationChangeEvent
now. - Add
position
to functioncoc#util#open_terminal
. - Improve performance of completion by use vim's filter when possible.
- Fix service start multiple times.
- Fix parse of
iskeyword
option, consider@-@
. - Fix completion of snippet: cancel on line change.
- Improved document
didChange
before trigger completion. - Add option
coc.preferences.triggerCompletionWait
, default 60. - Add watch for
iskeyword
change. - Fix snippet jump not works sometime.
- Fix possible wrong
rootPath
of language server. - Fix highlight of highlight action not using terminal colors.
- Fix detect for insert new line character.
- Add quickfix source of denite and fzf
- Add option
coc.preferences.rootPath
- Add option
revealOutputChannelOn
to language server. - Fix jump of placeholder.
- Fix empty root on language server initialize.
- Break change:
coc.preferences.formatOnType
default tofalse
. - Break change: snippet completion disabled in
string
andcomment
. - Add support for register local extension.
- Add title for commands in
Denite coc-command
- Fix prompt hidden by echo message.
- Fix contribute commands not shown in denite interface.
- Fix parse of
iskeyword
, support character range. - Fix
triggerKind
of completion. - Fix install extension from url not reloaded.
- Break change:
:CocDisable
disabled all events from vim. - Break change: new snippet implementation.
- Support multiple line snippet.
- Support VSCode snippet extension.
- Support completion of snippets from snippet extension.
- Add highlight groups for different severity.
- Add
coc.preferences.formatOnType
option. - Add
coc.preferences.snippets.enable
option. - Fix snippet not works as
insertText
. - Fix echo message with multiple lines.
- Fix
signatureHelp
withshowcmd
disabled. - Fix location list cleared on
:lopen
. - Fix diagnostic info not cleared on
:CocDisable
- Fix diagnostic info not cleared on buffer unload.
- Fix buffer highlight not cleared on
highlight
action. - Fix format on type not work as expected.
- Break change: use
CursorMove
instead ofCursorHold
for diagnostic message. - Break change: direct move to diagnostic position would show diagnostic message without truncate.
- Break change: snippet would be canceled when mode changed to normal, no
mapping of
<esc>
any more. - Add format document on
insertLeave
whenonTypeFormat
is supported. - Add buffer operations on resource edit.
- Add
uninstall
action forDenite coc-extension
. - Fix active extension on command not working.
- Fix delete file from resource edit not works.
- Fix diagnostic check next offset for diagnostics.
- Add
<Plug>(coc-diagnostic-info)
for show diagnostic message without truncate.
- Fix wrong configuration on update.
- Fix install command with tag version.
- Fix using of unsafe
new Buffer
. - Add support of trace format & resource operations.
- Add support of json validation for extension.
- Add support of format on save by
coc.preferences.formatOnSaveFiletypes
- Add
Denite coc-extension
for manage extensions. - Add actions for manage extension including
toggleExtension
reloadExtension
deactivateExtension
- Add check for extension update everyday.
- Fix extensions using same process of coc itself.
- Fix
configurationSection
should be null if none was specified.
- Break change: all extension all seperated from core, checkout Using coc extension
- Fix
textDocumentSync
option not work when received as object. - Fix wrong diagnostic info when using multiple lint servers.
- Use
CursorHold
for show diagnostic message. - Add option
coc.preferences.enableMessage
to disable showing of diagnostic message. - Add new events module for receive vim events.
- Add support for
prepareRename
. - Add support for
CodeActionOptions
- Fix wrong
triggerKind
from VSCode. - Add
<Plug>(coc-openlink)
for open link. - Add
typescript.jsx
as valid typescript type.
- Fix sometimes client status invalid.
- Add multiply provider support for all features.
- Add
documentLink
support - Add
documentHighlight
support - Add
foldingRange
support - Add support of
documentSelector
same as VSCode
- Fix diagnostic and arguments of tsserver.
- Add
keepfocus
option foropen_terminal
. - Improve error catch of autocmds.
- Add
onTypeFormat
feature for language server - Add
onTypeFormat
support for tsserver. - Refactor and more tests of workspace.
- Fix
window/showMessageRequest
request. - Use
callAsync
for async request to vim. - Add
CocActionAsync
function send async request to server.
-
Fix exists terminal buffer not watched.
-
Fix buffer not attached after
edit!
. -
Fix clean diagnostics of
tsserver.watchBuild
command. -
Fix refresh of buffer.
-
Fix document not found on
BufEnter
.Use
rpcrequest
forBufCreate
-
Fix no permission of log file.
Disable create log file for root user.
-
Add more command for tsserver:
tsserver.reloadProjects
tsserver.openTsServerLog
tsserver.goToProjectConfig
tsserver.restart
-
Add test for workspace.
-
Improved for tsserver:
- Add
watchBuild
command for build current project with watch in terminal. - Support of untitled buffer
- Support
projectRootPath
- Add
-
Fix detach error of document.
-
Fix trigger characters not works for some source.
-
Fix document possible not sync before save.
-
Fix denite errors with 0 as result.
-
Fix wrong arguments of tsserver refactor command.
-
Use
drop
for workspaceopenResource
. -
Add clear coc signs on
:CocRestart
. -
Break change all buffer types except
nofile
help
andquickfix
are watched for changes.
-
Fix filter of completion items on fast input.
-
Fix sometimes fails of include & neosnippet source.
-
Fix sometimes fails to find global modules.
-
Improve complete source initialization.
- Always respect change of configuration.
-
Add ability to start standalone coc service for debugging.
- Use
NVIM_LISTEN_ADDRESS=/tmp/nvim nvim
to start neovim. - Start coc server by command like
node bin/server.js
- Use
-
Add ability to recover from unload buffer.
Sometimes
bufReadPost
BufEnter
could be not be fired on buffer create, check buffer onCursorHold
andTextChanged
to fix this issue. -
Add tsserver features:
tsserver.formatOnSave
andtsserver.organizeImportOnSave
Both default to false.
-
Add tests for completion sources.
- Fix remote source not working.
- Fix sort of completion items.
- Fix EPIPE error from net module.
- Add
tslint.lintProject
command. - Add config
coc.preferences.maxCompleteItemCount
. - Add
g:coc_auto_copen
, default to1
.
- Break change
:CocRefresh
replaced withcall CocAction('refreshSource')
. - Add support filetype change of buffer.
- Add basic test for completion.
- Improve loading speed, use child process to initialize vim sources.
- Improve install.sh, install node when not exists.
- Improve interface of workspace.
- Fix loading of configuration content.
-
Fix configuration content not saved on change.
-
Fix thrown error on watchman not found.
-
Fix incompatible options of
child_process
. -
Fix location list for diagnostics.
- Reset on
BufWinEnter
. - Available for all windows of single buffer.
- Use replace on change for coc location list.
- Add debounce.
- Reset on
-
Fix signature help behaviour, truncate messages to not overlap.
-
Reworks sources use async import.
- Fix dispose for all modules.
- Add support for multiple
addWillSaveUntilListener
. - Fix
startcol
for json server. - Add support filetype
javascriptreact
for tsserver.
- Add
coc#util#install
for installation. - Add
install.cmd
for windows.
-
Improved location list for diagnostics.
-
Add
internal
option to command.Commands registered by server are internal.
-
Add support for multiple save wait until requests.
- Add
forceFullSync
to language server option.
- Improve eslint extension to use workspaceFolder.
- Fix watchman not works with multiple roots.
- Add feature: dynamic root support for workspace.
- Break change output channel of watchman is removed.
-
Fix order of document symbols.
-
Fix completion snippet with
$variable
. -
Add feature: expand snippet on confirm.
-
Add feature:
<Plug>(coc-complete-custom)
for complete custom sources.Default customs sources:
emoji
,include
andword
-
Break change
emoji
include
used for all filetypes by default.
- Add command
:CocErrors
for debug. - Support
DocumentSymbol
for 'textDocument/documentSymbol'
-
Fix error of language client with unsupported schema.
No document event fired for unsupported schema (eg: fugitive:https://)
-
Fix update empty configuration not works.
- Improve file source triggered with dirname started path.
- Fix source ultisnip not working.
- Fix custom language client with command not working.
- Fix wrong arguments passed to
runCommand
function. - Improve module install, add
sudo
fornpm install
on Linux. - Improve completion on backspace.
- Completion is resumed when search is empty.
- Completion is triggered when user try to fix search.
-
Break change all servers are decoupled from coc.nvim
A prompt for download is shown when server not found.
-
Break change
vim-node-rpc
decoupled from coc.nvimA prompt would be shown to help user install vim-node-rpc in vim.
-
Add command
CocConfig
- Fix uncaught exception error on windows.
- Use plugin root for assets resolve.
- Fix emoji source not triggered by
:
. - Improve file source to recognize
~
as user home.
-
Prompt user for download server module with big extension like
vetur
andwxml-langserver
-
Break change, section of settings changed:
cssserver.[languageId]
moved to[languageId]
For example:
cssserver.css
section is moved tocss
section.This makes coc settings of css languages the same as VSCode.
-
Break change,
stylelint
extension is disabled by default, add"stylelint.enable": true,
to your
coc-settings.json
to enable it.User will be prompted to download server if
stylelint-langserver
is not installed globally. -
Break change,
triggerAfterInsertEnter
is alwaystrue
, add"coc.preferences.triggerAfterInsertEnter": false,
to your
coc-settings.json
to disable it. -
Break change, when
autoTrigger
isalways
completion would be triggered after completion item select.
- better statusline integration with airline and lightline.
- Coc service start much faster.
- Add vim-node-rpc module.
- Break change global function
CocAutocmd
andCocResult
are removed. - Support Vue with vetur
- Fix issue with
completeopt
. - Add source
neosnippet
. - Add source
gocode
.
- Add documentation for language server debug.
- Rework register of functions, avoid undefined function.
- Fix error of
isFile
check. - Ignore undefined function on service start.
- Add
coc.preference.jumpCommand
to settings. - Make coc service standalone.
- Support arguments for
runCommand
action. - Add coc command
workspace.showOutput
. - Support output channel for language server.
- Support
[extension].trace.server
setting for trace server communication.
- Support location list for diagnostic.
- Add tsserver project errors command.
- Add support for
preselect
of complete item. - Add support for socket language server configuration.
- Fix configured language server doesn't work.
- Add
workspace.diffDocument
coc command. - Fix buffer sometimes not attached.
- Improve completion of JSON extension.
- Break change:
diagnostic
in setting.json changed todiagnostic
. - Fix clearHighlight arguments.
- Add eslint extension https://github.com/Microsoft/vscode-eslint.
- Fix snippet break with line have $variable.
- Use jsonc-parser replace json5.
- Add
data/schema.json
for coc-settings.json.
- Fix restart of tsserver not working.
- Fix edit of current buffer change jumplist by using
:keepjumps
.