Bug 60989 - auto complete shows different result depending on where it is invoked
Summary: auto complete shows different result depending on where it is invoked
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: Code completion (show other bugs)
Version: git master
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-09 14:57 UTC by Robert Jonsson
Modified: 2003-11-01 18:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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