Summary: | Kate adds double dots before method name when using autocomplete (TypeScript) | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Karmo Rosental <karmo.rosental> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | waqar.17a |
Priority: | NOR | ||
Version First Reported In: | 23.04.3 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/49f999df43e8652817e5937e12bdc818f94f5b6c | Version Fixed In: | |
Sentry Crash Report: |
Description
Karmo Rosental
2023-04-03 20:38:52 UTC
Fixed in 23.04 But to work around the issue, you can downgrade typescript language server Same issue is back with recent updates. A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1261 Git commit bb94925014f710ea89752949d5ab90aefafd2175 by Waqar Ahmed. Committed on 18/07/2023 at 07:55. Pushed by waqar into branch 'master'. lsp: always honor server when using Completion.textEdit.newText If server is specifying a different range start than what we have, perfer the server always. Only do this if Completion.textEdit.newText is the text we are going to insert. With pure insertText things are generally simpler. This fixes issues with dart-analyzer and typescript-language-server M +5 -2 addons/lspclient/lspclientcompletion.cpp https://invent.kde.org/utilities/kate/-/commit/bb94925014f710ea89752949d5ab90aefafd2175 Git commit 49f999df43e8652817e5937e12bdc818f94f5b6c by Waqar Ahmed. Committed on 21/07/2023 at 17:22. Pushed by waqar into branch 'release/23.08'. lsp: always honor server when using Completion.textEdit.newText If server is specifying a different range start than what we have, perfer the server always. Only do this if Completion.textEdit.newText is the text we are going to insert. With pure insertText things are generally simpler. This fixes issues with dart-analyzer and typescript-language-server (cherry picked from commit bb94925014f710ea89752949d5ab90aefafd2175) M +5 -2 addons/lspclient/lspclientcompletion.cpp https://invent.kde.org/utilities/kate/-/commit/49f999df43e8652817e5937e12bdc818f94f5b6c |