mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix PR 93216
This commit is contained in:
parent
82d7ca2e7a
commit
dc7a53d389
3 changed files with 17 additions and 2 deletions
|
@ -27,3 +27,5 @@ epGCCSpecsParser.name=GNU C/C++ Compiler Specs Parser
|
|||
|
||||
extensionGCCPerProjectProfile.name=GNU C/C++ Scanner Info per project profile
|
||||
extensionGCCPerFileProfile.name=GNU C/C++ Scanner Info per file profile
|
||||
|
||||
makefile=Makefile
|
|
@ -165,4 +165,17 @@
|
|||
</scannerInfoProvider>
|
||||
</extension>
|
||||
|
||||
<extension point="org.eclipse.core.runtime.contentTypes">
|
||||
<!-- declares a content type for Makefile files -->
|
||||
<content-type id="makefile" name="%makefile"
|
||||
base-type="org.eclipse.core.runtime.text"
|
||||
priority="high"/>
|
||||
</extension>
|
||||
<extension point="org.eclipse.core.runtime.contentTypes">
|
||||
<file-association
|
||||
content-type="org.eclipse.cdt.make.core.makefile"
|
||||
file-names="Makefile,makefile,GNUMakefile"
|
||||
file-extensions="mk"/>
|
||||
</extension>
|
||||
|
||||
</plugin>
|
||||
|
|
|
@ -380,7 +380,7 @@
|
|||
name="%MakefileDocumentFactory.name"
|
||||
point="org.eclipse.core.filebuffers.documentCreation">
|
||||
<factory
|
||||
extensions="*"
|
||||
contentTypeId="org.eclipse.cdt.make.core.makefile"
|
||||
class="org.eclipse.cdt.make.internal.ui.editor.MakefileDocumentFactory">
|
||||
</factory>
|
||||
</extension>
|
||||
|
@ -389,7 +389,7 @@
|
|||
name="%MakefileDocumentSetupParticipant.name"
|
||||
point="org.eclipse.core.filebuffers.documentSetup">
|
||||
<participant
|
||||
extensions="*"
|
||||
contentTypeId="org.eclipse.cdt.make.core.makefile"
|
||||
class="org.eclipse.cdt.make.internal.ui.editor.MakefileDocumentSetupParticipant">
|
||||
</participant>
|
||||
</extension>
|
||||
|
|
Loading…
Add table
Reference in a new issue