Bug 3196 - DCR - CodeAssist - code assist doesn't assist for keywords (1G0FUQF)
Summary: DCR - CodeAssist - code assist doesn't assist for keywords (1G0FUQF)
Status: RESOLVED DUPLICATE of bug 19063
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:51 EDT by Erich Gamma CLA
Modified: 2003-04-02 05:55 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2001-10-10 22:51:07 EDT
EG (8/29/00 11:42:51 AM)
	in LeapFrog I could use code assist to expand keywords 
like "synchronized".
	I miss this functionality in the new code assist.

NOTES:

PM (8/29/00 10:37:52 AM)
	Keyword completions are nice to have, in the form of macros (like in 
VAJ), however I am reluctant to consider it
	as a standard completion engine inference. Indeed usually I think I 
know exactly I want a keyword pattern and not a type
	completion, and using a case insensitive code assist, a completion on 
prefix 'sync' would require to traverse the entire
	workspace looking for possible type matches.

	In LF or VAJ, completions were performed against build states, and did 
not cost as much, but now it might be quite painfull.

	Wouldn't it be more reasonable to consider doing these on a different 
shortcut ?

EG (8/30/00 12:35:41 PM)
	code assist gives me support to enter a program, so why should there be 
a different shortcut for keyword completion?
	Competitive code assist implementations provide different short cuts 
for code assist in different contexts.
	
PM (10/4/2001 10:08:28 AM)
	Current approach is that this is a pure UI issue. Note that we have the 
API to answer keywords (depending on current context).
	Will wait to close until UI declares success.
Comment 1 Martin Aeschlimann CLA 2002-02-15 11:15:55 EST
can we give this issue some life?
code assist for keywords like 'instanceof' of 'synchronized' is definitly 
helpful.
The API is there in the ICodeCompletionRequestor, but the callback is not 
called for 'for' ect.

'for' would be intresting as we can use this information as context information 
for templates.
Comment 2 Philipe Mulet CLA 2002-06-11 08:24:52 EDT
Defer
Comment 3 Philipe Mulet CLA 2003-04-02 05:55:01 EST
Reopen
Comment 4 Philipe Mulet CLA 2003-04-02 05:55:17 EST

*** This bug has been marked as a duplicate of 19063 ***