Version: 3.4.1 (using KDE KDE 3.5.7) Installed from: Ubuntu Packages OS: Linux This appears to be a regression since the exact same problem was reported and fixed in '03 (see bug 60043). Basically, when opening KDevelop, it automatically loads the previous project that was being worked on, and also opens the files that were open before KDevelop was closed last time. Code completion does not work within these files until it is closed and then re-opened. Meaning if files A, B and C were preopened when KDevelop started up, then code completion will not work in these files. By closing and reopening file A, then code completion will work in file A, but still not in B or C, etc. Hope that's clear enough. If not, then tell me and I'll try again :)
I can't reproduce this here with KDevelop from svn. Any file I have open gets CC.
I have the same problem with 3.4.1, I'll try compiling version from svn later today... I tried to find the problem in the code and it seems that the textChanged() signal won't get connected to the slot (file cppcodecompletion.cpp, in function integratePart), because part->widget() returns null. Except the last file opened (the one that's active when you load the project), that one always works. Manually invoked completion always works
Aah, so this is not about no code completion at all, but only about the automatic completion not working? I'll change the title accordingly. In that case: I've got no idea (and currently no time to test) wether this bug exists or not as I'm always using manual completion. Automatic completion has problems elsewhere as well IIRC.
I have the same problem here using KDevelop 3.5.0 with KDE 3.5.8. Even re-opening seems not to help for me. I have to close all files and restart KDevelop. After that I open a file and then code completion is working again. I'm using the deb packages from Ubuntu 7.10.
Andreas, if the difference manual vs. auto is that auto is shown by itself and manual that user has to trigger it to be shown (*), then when KDevelop auto loads file then none of them work if I open file both of them work. If (*) is correct then please change back the summary.
Hi there, I have installed the KDevelop 3.5.0 with KDE 3.5.8 using a Gentoo 2.6.19 kernel. The code completion fails at my projects, too: when starting KDevelop, I have to close and re-open any automatically pre-opened file to make code-completion work within the context of this respective file.
fixed in kdevelop4