Version: unspecified (using KDE 4.6.0)
In the current version of Kate (which is 3.6.0, shipped along with KDE SC 4.6, by the way NOT listet in the version drop down list here), autocompletion doesn't work unless I press ctrl+space. In previous Kate versions it worked just fine, I could type a few letters and the list appeared. Not in the current version. I think I have all the autocompletion options enabled (or has something changed since the previous release which I have not found yet?) and set the minimum letters to 3.
Quite annoying, I used this for every longer variable/function name in my code.
Steps to Reproduce:
Type some code and try yourself.
Nothing, that's the problem.
A list of matching words.
Tested on productive Arch Linux system and on a Kubuntu 10.10 VM, both upgraded from KDE 4.5
cannot reproduce with kate from current git - Christoph - do SVN and git diverge?
Hm. I have the problem even when starting with an entirely empty kate config. Always have to press ctrl+space to make the list show up. Also, disabling all (potentially conflicting) plugins didn't change anything.
Or is it even a feature?
major regression, just got it shown by a friend (archlinux user) in kile - it's auto completion is completely broken.
(In reply to comment #3)
> major regression, just got it shown by a friend (archlinux user) in kile - it's
> auto completion is completely broken.
Regarding Kile, please make sure that it was compiled against KDE 4.6 (or 4.5). There are currently two versions of code completion implemented in Kile: one that works with SmartRanges (< 4.5), and one with MovingRanges (>= 4.5)
And regarding Kate, it seems to have to do with the external tools-plugin. I removed *all* config files from Kate, this time including the "plugins" directory, and hey, it worked. Once enabled: Not working anymore.
*** Bug 264480 has been marked as a duplicate of this bug. ***
Please see bug 265730 for some issues regarding the external tools. 3 of the 4 shipped are broken.
I am also having code-completion issues, but I tried emptying the configuration in /usr/share/kde4/apps/kate/externaltools without luck.
Today I randomly tried to set the minimum word length to 0 and see - it works fine on all of my systems. It's just slightly annoying that the menu shows up after anything you type, except for whitespace. But - better than nothing.
I have the same problem here (with Archlinux too), and it also works when I set the minimum word length to 0 or 1.
*** Bug 268069 has been marked as a duplicate of this bug. ***
Same problem in Kubuntu x64, natty (11.04), kate 3.6.2, kde 4.6.2.
And it also works when I set the minimum word length to 0 or 1.
I have deactivate external tools and removed all config files from kate and restart: autocompletion doesn't pop up automatic!
Only setting the minimum word length to 0 or make it work again.
Git commit 4fa660abce6d3dd101b77f2af8bfb70230cf7d91 by Dominik Haumann.
Committed on 08/05/2011 at 11:50.
Pushed by dhaumann into branch 'master'.
unbreak 'auto' in word completion
also, ctrl+space now shows the completion list again if you are in the middle of a word.
Please test by compiling it yourself: http://kate-editor.org/get-it/
Then we can get this into the 4.6 line.
M +22 -19 part/completion/katewordcompletion.cpp
M +2 -0 part/completion/katewordcompletion.h
I have test "http://kate-editor.org/get-it/" on Kubuntu 11.04 (natty) amd64 and now the autocompletion works again. The autocompletion popup now appears automatic setting the minimum letters to 3 or something else.
So, for me the problem is solved with the git version.