https://bugs.kde.org/show_bug.cgi?id=360340
Bug ID: 360340 Summary: autocomplete ignores special characters at beginning of string (problem for coding eg in PHP) Product: kate Version: unspecified Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: kwrite Assignee: kwrite-bugs-n...@kde.org Reporter: blauesnic...@gmail.com Autocomplete seems to ignore special charactes at the beginning of a string when making suggestion list. The list includes too many entries, all matching strings no matter if the same special characters are at the beginning or not. When starting to type a PHP variable "$var" autocomplete suggests everything starting with "var" not taking into account the "$" at the start, same happens when typing "<?php", which is just annoying. This makes using autocomplete for coding in PHP nearly unusable, because it does not only suggest the different PHP variables already in the file (e.g. $var_1, $var_2) but also any single string value that starts with "var". Reproducible: Always Steps to Reproduce: Test with this in file: $test_1 = "variable_in_string"; Then type $var and get autocompletion suggestion "variable_in_string" which will leave you with $variable_in_string although this variable never existed in your code. Actual Results: Suggestion list is longer than it should be for using it in a PHP file. Expected Results: Shorter suggestion list, only including entries that match the full string typed in, including any special characters at the beginning. Happens for KWrite Version 4.14.3 Under KDE 4.14.9 openSuSe 13.2 Did not happen for earlier version of KWrite under openSuSe 12.1 -- You are receiving this mail because: You are watching all bug changes.