mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug Fixing
This commit is contained in:
parent
bc58690673
commit
1e470bd109
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
2004-06-21 Hoda Amer
|
||||
Fix for PR 63439 : [Content Assist] When prefix is a C/C++ keyword, Content Assist does not complete templates
|
||||
|
||||
2004-0618 Alain Magloire
|
||||
Patch from Chris W. to fix PR 6606
|
||||
|
||||
|
|
|
@ -413,7 +413,8 @@ public class CCompletionProcessor implements IContentAssistProcessor {
|
|||
|
||||
IASTCompletionNode.CompletionKind kind = completionNode.getCompletionKind();
|
||||
|
||||
if(kind == IASTCompletionNode.CompletionKind.VARIABLE_TYPE)
|
||||
if( (kind == IASTCompletionNode.CompletionKind.VARIABLE_TYPE) ||
|
||||
(kind == IASTCompletionNode.CompletionKind.CLASS_REFERENCE) )
|
||||
addProposalsFromTemplateEngine(viewer, fGlobalContextTemplateEngine, completions);
|
||||
if( (kind == IASTCompletionNode.CompletionKind.SINGLE_NAME_REFERENCE)
|
||||
|| (kind == IASTCompletionNode.CompletionKind.SINGLE_NAME_REFERENCE) )
|
||||
|
|
Loading…
Add table
Reference in a new issue