Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2005-06-09 16:06:09 +0000
committerAlain Magloire2005-06-09 16:06:09 +0000
commitf441ff377812ab8556fed7cd25bfe9dd2b087848 (patch)
tree63f7d20b1a46334c2022868d48d363a866cf5c17 /core/org.eclipse.cdt.core/plugin.xml
parent954e809c34bb5ccbb0f4f2b5f89158163e9ee85d (diff)
downloadorg.eclipse.cdt-f441ff377812ab8556fed7cd25bfe9dd2b087848.tar.gz
org.eclipse.cdt-f441ff377812ab8556fed7cd25bfe9dd2b087848.tar.xz
org.eclipse.cdt-f441ff377812ab8556fed7cd25bfe9dd2b087848.zip
2005-06-08 Alain Magloire
Move to the IContentTypeManager framework: PR 86645 * index/org/eclipse/cdt/internal/core/index/sourceindexer/AbstractIndexer.java * index/org/eclipse/cdt/internal/core/index/sourceindexer/AddFileToIndex.java * index/org/eclipse/cdt/internal/core/index/sourceindexer/AddFolderToIndex.java * index/org/eclipse/cdt/internal/core/index/sourceindexer/SourceIndexerRequestor.java * model/org/eclipse/cdt/core/model/CoreModel.java * model/org/eclipse/cdt/core/model/ITranslationUnit.java * model/org/eclipse/cdt/internal/core/model/CContainer.java * model/org/eclipse/cdt/internal/core/model/CModelManager.java + model/org/eclipse/cdt/internal/core/model/ContentTypeProcessor.java * model/org/eclipse/cdt/internal/core/model/CreateWorkingCopyOperation.java * model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java * model/org/eclipse/cdt/internal/core/model/ExternalTranslationUnit.java * model/org/eclipse/cdt/internal/core/model/IncludeReference.java * model/org/eclipse/cdt/internal/core/model/PathEntryManager.java - model/org/eclipse/cdt/internal/core/model/ResolverProcessor.java * model/org/eclipse/cdt/internal/core/model/TranslationUnit.java * model/org/eclipse/cdt/internal/core/model/WorkingCopy.java * plugin.xml - schema/CFileType.exsd - schema//CFileTypeAssociation.exsd - template/cpp_headers * search/org/eclipse/cdt/core/search * src/org/eclipse/cdt/core/CCorePlugin.java - src/org/eclipse/cdt/core/filetype/* - src/org/eclipse/cdt/core/internal/filetype/*
Diffstat (limited to 'core/org.eclipse.cdt.core/plugin.xml')
-rw-r--r--core/org.eclipse.cdt.core/plugin.xml54
1 files changed, 38 insertions, 16 deletions
diff --git a/core/org.eclipse.cdt.core/plugin.xml b/core/org.eclipse.cdt.core/plugin.xml
index a78e1221a9..693f8833bb 100644
--- a/core/org.eclipse.cdt.core/plugin.xml
+++ b/core/org.eclipse.cdt.core/plugin.xml
@@ -241,7 +241,7 @@
<!-- =================================================================================== -->
<!-- CDT file type mappings -->
<!-- =================================================================================== -->
- <extension
+ <!--extension
point="org.eclipse.cdt.core.CLanguage">
<language
name="C"
@@ -312,7 +312,7 @@
type="org.eclipse.cdt.core.fileType.asm_source"
pattern="*.asm,*.s,*.S">
</association>
- </extension>
+ </extension-->
<!-- =================================================================================== -->
<!-- Some well known C file extensions override for the team plugins -->
<!-- =================================================================================== -->
@@ -492,35 +492,57 @@
priority="high"/>
</extension>
- <!--extension point="org.eclipse.core.runtime.contentTypes">
+ <extension point="org.eclipse.core.runtime.contentTypes">
<file-association
content-type="org.eclipse.cdt.core.cSource"
file-extensions="c"/>
- </extension-->
+ </extension>
- <!--extension point="org.eclipse.core.runtime.contentTypes">
+ <extension point="org.eclipse.core.runtime.contentTypes">
<file-association
content-type="org.eclipse.cdt.core.cxxSource"
file-extensions="cpp,cxx,cc"/>
- </extension-->
+ </extension>
- <!--extension point="org.eclipse.core.runtime.contentTypes">
+ <extension point="org.eclipse.core.runtime.contentTypes">
<file-association
- content-type="org.eclipse.cdt.core.cxxHeader"
- file-extensions="hpp,hh"/>
- </extension-->
+ content-type="org.eclipse.cdt.core.asmSource"
+ file-extensions="s,asm"/>
+ </extension>
- <!--extension point="org.eclipse.core.runtime.contentTypes">
+ <extension point="org.eclipse.core.runtime.contentTypes">
<file-association
content-type="org.eclipse.cdt.core.cHeader"
file-extensions="h"/>
- </extension-->
+ </extension>
- <!--extension point="org.eclipse.core.runtime.contentTypes">
+ <extension point="org.eclipse.core.runtime.contentTypes">
<file-association
- content-type="org.eclipse.cdt.core.asmSource"
- file-extensions="asm,s"/>
- </extension-->
+ content-type="org.eclipse.cdt.core.cxxHeader"
+ file-extensions="hpp,hh,hxx"/>
+ </extension>
+
+ <!-- the reserved filenames by the C++ standard -->
+ <extension point="org.eclipse.core.runtime.contentTypes">
+ <file-association
+ content-type="org.eclipse.cdt.core.cxxHeader"
+ file-names="algorithm,bitset,cassert,cctype,cerrno,cfloat,ciso646,climits,clocale,cmath,complex,csetjmp,csignal"/>
+ </extension>
+ <extension point="org.eclipse.core.runtime.contentTypes">
+ <file-association
+ content-type="org.eclipse.cdt.core.cxxHeader"
+ file-names="cstdarg,cstddef,cstdio,cstdlib,cstring,ctime,cwchar,cwctype,deque,exception,fstream,functional"/>
+ </extension>
+ <extension point="org.eclipse.core.runtime.contentTypes">
+ <file-association
+ content-type="org.eclipse.cdt.core.cxxHeader"
+ file-names="hash_map,hash_set,iomanip,ios,iosfwd,iostream,istream,iterator,limits,list,locale,map,memory"/>
+ </extension>
+ <extension point="org.eclipse.core.runtime.contentTypes">
+ <file-association
+ content-type="org.eclipse.cdt.core.cxxHeader"
+ file-names="new,numeric,ostream,queue,set,sstream,stack,stdexcept,streambuf,string,strstream,typeinfo,utility,valarray,vector"/>
+ </extension>
<!-- =================================================================================== -->
<!-- Initialize the preference for the Core Plugin -->

Back to the top