Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSopot Cela2017-01-31 15:37:05 +0000
committerSopot Cela2017-02-20 13:59:26 +0000
commitae7c6d260707e92921ca4bc923ddef30bca0d860 (patch)
tree4b3b3f17c4aa25baec64adda592eaade556f8707 /bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml
parenta4cdfc7174a97c88e6a3d762a1bcc923f6d0fb03 (diff)
downloadeclipse.platform.team-ae7c6d260707e92921ca4bc923ddef30bca0d860.tar.gz
eclipse.platform.team-ae7c6d260707e92921ca4bc923ddef30bca0d860.tar.xz
eclipse.platform.team-ae7c6d260707e92921ca4bc923ddef30bca0d860.zip
First pass enables syntax highlighting for the most common features of a diff or a patch file. Change-Id: Ie434ec8fea515854bc0173d7e6b70c17066e4496 Signed-off-by: Sopot Cela <scela@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml')
-rw-r--r--bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml b/bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml
new file mode 100644
index 000000000..808defec0
--- /dev/null
+++ b/bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<!--
+ Copyright (c) 2017 Red Hat Inc. and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ Sopot Cela (Red Hat Inc.) - initial implementation
+-->
+<plugin>
+ <extension
+ point="org.eclipse.ui.genericeditor.presentationReconcilers">
+ <presentationReconciler
+ class="org.eclipse.team.internal.genericeditor.diff.extension.presentation.DiffPresentationReconciler"
+ contentType="org.eclipse.team.genericeditor.diff.extension.patch">
+ </presentationReconciler>
+ </extension>
+ <extension
+ point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.team.internal.genericeditor.diff.extension.partitioner.DiffPartitioner"
+ contentTypeId="org.eclipse.team.genericeditor.diff.extension.patch"
+ extensions="patch,diff">
+ </participant>
+ </extension>
+ <extension
+ point="org.eclipse.core.contenttype.contentTypes">
+ <content-type
+ base-type="org.eclipse.core.runtime.text"
+ file-extensions="diff,patch"
+ id="org.eclipse.team.genericeditor.diff.extension.patch"
+ name="%patch_ContentTypeName"
+ priority="normal">
+ </content-type>
+ </extension>
+
+</plugin>

Back to the top