| Summary: | autocomplete ignores special characters at beginning of string (problem for coding eg in PHP) | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Steve V. <blauesnichts> |
| Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | christoph, justin.zobel, kredba |
| Priority: | NOR | ||
| Version First Reported In: | 20.08.3 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/ktexteditor/8d0f6ff8014cdf32be6410efa184a968ce53525a | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Steve V.
2016-03-09 21:47:53 UTC
Good point, see https://phabricator.kde.org/D23410 Git commit 8d0f6ff8014cdf32be6410efa184a968ce53525a by Christoph Cullmann. Committed on 25/08/2019 at 09:51. Pushed by cullmann into branch 'master'. improve word completion to use highlighting to detect word boundaries Summary: This allows better completion e.g. for Perl or PHP Test Plan: Open some Perl script. Type: lala_test = 1 $lala = 2 Now type $lal You shall now get only "lala" as proposal Reviewers: dhaumann Reviewed By: dhaumann Subscribers: kwrite-devel, kde-frameworks-devel Tags: #kate, #frameworks Differential Revision: https://phabricator.kde.org/D23410 M +7 -5 src/completion/katewordcompletion.cpp https://commits.kde.org/ktexteditor/8d0f6ff8014cdf32be6410efa184a968ce53525a This did lead to other regressions :/ Reverted atm.. See bug 412502 (In reply to Christoph Cullmann from comment #3) > This did lead to other regressions :/ > > Reverted atm.. > > See bug 412502 Was a way ever found to do it without causing regressions? Confirmed still an issue in kwrite 20.08.3. Kate version 20.12.1. It does not suggest words where any of the first characters is a letter with diacritics. For the Czech language words like "Žitná", "Vítězné", and "Dlážděná" are not suggested for autocomplete. If the diacritics it present later in the word it suggests it like in the word "Smrčinská". Locale used is cs_CZ.UTF-8. (Examples used are a street names in the CZ.) I don't see a way to have that without other regressions. I rather have a few more than too few alternatives. For a more language aware completion we now support LSP. (In reply to David Kredba from comment #6) > Kate version 20.12.1. > It does not suggest words where any of the first characters is a letter with > diacritics. For the Czech language words like "Žitná", "Vítězné", and > "Dlážděná" are not suggested for autocomplete. If the diacritics it present > later in the word it suggests it like in the word "Smrčinská". > Locale used is cs_CZ.UTF-8. > (Examples used are a street names in the CZ.) That works in the current release. |