<!ELEMENT extension (completionProposalComputer | proposalCategory)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #REQUIRED
name CDATA #IMPLIED>
<!ELEMENT completionProposalComputer (partition)*>
<!ATTLIST completionProposalComputer
class CDATA #REQUIRED
activate (true | false) "false"
categoryId IDREF "org.eclipse.cdt.ui.defaultProposalCategory">
A proposal computer contribution. If no partition types are specified, the computer is added to all partition types.
<!ELEMENT partition EMPTY>
<!ATTLIST partition
type (__dftl_partition_content_type|__c_multiline_comment|__c_singleline_comment|__c_string|__c_character|__c_preprocessor|__c_multiline_doc_comment|__c_singleline_doc_comment) >
IDocument.DEFAULT_CONTENT_TYPE
and ICPartitions
for valid values.<!ELEMENT proposalCategory EMPTY>
<!ATTLIST proposalCategory
icon CDATA #IMPLIED>
A proposal category contribution defines categories of proposals used to group them in the UI.
<extension point="org.eclipse.cdt.ui.completionProposalComputer" id="textual_proposals" name="Text Proposals"> <proposalCategory icon="icons/wordcompletions.png"/> </extension> <extension point="org.eclipse.cdt.ui.completionProposalComputer" id="WordCompletionProposalComputer" name="Word Completion Proposal Computer"> <completionProposalComputer class="org.eclipse.cdt.internal.ui.text.contentassist.HippieProposalComputer" categoryId="org.eclipse.ui.texteditor.textual_proposals"> <partition type="__c_multiline_comment"/> </completionProposalComputer> </extension>
org.eclipse.cdt.ui.text.contentassist.ICompletionProposalComputer
org.eclipse.cdt.internal.ui.text.contentassist.HippieProposalComputer
for an example.
Copyright (c) 2006, 2007 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/
t;
t;SPDX-License-Identifier: EPL-2.0