Skip to content

Commit

Permalink
Improve the setup so *.yml and *.json are recognized as text content (#…
Browse files Browse the repository at this point in the history
…988)

Bind them to the generic text editor.

Fixes eclipse-platform/.github#107
  • Loading branch information
merks committed Mar 22, 2023
1 parent 11af8c8 commit d2ebbe9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion oomph/Platform.setup
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
xmlns:setup.targlets="http://www.eclipse.org/oomph/setup/targlets/1.0"
xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0"
xmlns:workbench="http://www.eclipse.org/oomph/setup/workbench/1.0"
xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0"
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/setup/workbench/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Workbench.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
name="platform"
label="Platform">
<annotation
Expand Down Expand Up @@ -147,6 +148,15 @@
</repositoryList>
</targlet>
</setupTask>
<setupTask
xsi:type="workbench:FileAssociationsTask">
<mapping
filePattern="*.yml"
defaultEditorID="org.eclipse.ui.genericeditor.GenericEditor"/>
<mapping
filePattern="*.json"
defaultEditorID="org.eclipse.ui.genericeditor.GenericEditor"/>
</setupTask>
<project name="platform"
label="Ant, Base, Runtime, Resources, Update, and Team">
<setupTask
Expand Down

0 comments on commit d2ebbe9

Please sign in to comment.