This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 293d3e3  [NETBEANS-3545] Add Tabs and Indents customization for Yaml 
files.
293d3e3 is described below

commit 293d3e32f547381efe4de995f3f9272224c0f6e2
Author: Laszlo Kishalmi <laszlo.kisha...@gmail.com>
AuthorDate: Wed Dec 4 22:36:14 2019 -0800

    [NETBEANS-3545] Add Tabs and Indents customization for Yaml files.
---
 .../src/org/netbeans/modules/languages/yaml/layer.xml      | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git 
a/ide/languages.yaml/src/org/netbeans/modules/languages/yaml/layer.xml 
b/ide/languages.yaml/src/org/netbeans/modules/languages/yaml/layer.xml
index 2150d87..ac3101a 100644
--- a/ide/languages.yaml/src/org/netbeans/modules/languages/yaml/layer.xml
+++ b/ide/languages.yaml/src/org/netbeans/modules/languages/yaml/layer.xml
@@ -68,6 +68,20 @@
                 <file name="x-yaml" url="YamlExample.yaml"/>
             </folder>
         </folder>
+        <folder name="Editor">
+            <folder name="Formatting">
+                <folder name="text">
+                    <folder name="x-yaml">
+                        <file name="TabsAndIndents.instance">
+                            <attr name="instanceOf" 
stringvalue="org.netbeans.modules.options.editor.spi.PreferencesCustomizer$Factory"/>
+                            <attr name="instanceCreate" 
methodvalue="org.netbeans.modules.options.editor.spi.CustomizerFactories.createDefaultTabsAndIndentsCustomizerFactory"/>
+                            <attr name="previewTextFile" 
stringvalue="org/netbeans/modules/languages/yaml/YamlExample.html"/>
+                            <attr name="position" intvalue="100"/>
+                        </file>
+                    </folder>
+                </folder>
+            </folder>
+        </folder>
     </folder>
     <folder name="Templates">
         <folder name="Other">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to