Bug 60989

Summary: auto complete shows different result depending on where it is invoked
Product: [Applications] kdevelop Reporter: Robert Jonsson <rj>
Component: Code completionAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Robert Jonsson 2003-07-09 14:57:47 UTC
Version:           3.0.0a5 (using KDE 3.1.2)
Compiler:          gcc version 3.3 (Mandrake Linux 9.2 3.3-2mdk)
OS:          Linux (i686) release 2.4.21-0.13mdk

Depending on if I press alt-space -[here]> or ->[here] the selection box shows different result. The latter shows the correct result.
Comment 1 Jens Dagerbo 2003-08-24 02:44:46 UTC
Hmm.. if you press ctrl-space (or in your case, apparently alt-space) without any 
context, you will get a list of all available types.  
 
What is happening here is probably that the parser doesn't think that you have 
a (unambiguous) context, and hence decided give you all that is available. ( after 
all, "a-" can become both "a->f" and "a-b" ) 
 
Not being the parser author, I don't know if it is reasonable to attempt to decide 
from the type of "a" (in my example) what you are about to write. 
 
I suspect this is a WONTFIX. 
Comment 2 Amilcar do Carmo Lucas 2003-11-01 18:49:48 UTC
I agree with Jens