Skip to content

LSP Completion: Support textEdit

Waqar Ahmed requested to merge work/lsp-completion-textEdit into master

textEdit property was introduced with LSP 3.16. It allows the server to specify what range of characters should be replaced when a particular completion is executed.

This solves the issue of "tail removal" and extra brackets etc as well.

For this to work correctly, frameworks/ktexteditor!167 (merged) must go in first.

Edited by Waqar Ahmed

Merge request reports

Loading