Support of LSP 3.16
What's Changed
Features in LSP 3.16 are now supported, including:
- Semantic Token support
:h coc-semantic-highlights - Call Hierarchy support
:h CocAction('showIncomingCalls'):h CocAction('showOutgoingCalls') - Linked Editing support
:h coc-preferences-enableLinkedEditing - Events for file operations (create, rename, delete)
- Change annotation support for text edits and file operations (create, rename, delete)
Other major changes:
- Tree view support
:h coc-tree. - Outline support
:h CocAction('showOutline'). - Notification support like VSCode
:h coc-notification#3813 - InputBox and QuickPick support #3826
- Built in support for ultisnip snippet
:h coc-snippets8401279e3. - Added snippet variables, same as VSCode.
- Completion reworked for performance 11dd878a e8628993 9de37e04 930c6dc0 4921e17d 4bf90719.
- Improved for workspace folder and workspace edit
:h coc-workspace#3838 - Register and provide inlay hints (not available for language client) 3a26df0a.
- Add reverse option for CocList a9b22974.
- Highlight for deprecated and unused code df7a1d94.
- Add action
definitionHover:h CocAction('definitionHover')c9009f21. - Add models
BufferSyncLinesTextDocumentSemanticTokensBuilder - Add
TextInsertevent to handle user insert 8c42f40a. - Add
floatConfigto configure style of float window/popup eb47e40c. - Code Lens renders above the line when possible by default ee2c44a0.
- Use
nvim_buf_set_textto change text when possible 2c18827a. - Refresh diagnostic list when diagnostic changed ca8ca2aa.
- Add
disabledFeaturessupport for configure language servers a60702d0. - Show disabled code actions in menu picker 27b709bd.
Break changes
See #3530
Full Changelog: https://github.com/neoclide/coc.nvim/compare/c90a07ee...21a8e00b