<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Make it so Adding a DAML item doesn't reformat existing code in ArcGIS Pro SDK Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/make-it-so-adding-a-daml-item-doesn-t-reformat/idi-p/1033606</link>
    <description>&lt;P&gt;&lt;EM&gt;Change Add&amp;gt;New Item so it doesn't reformat code.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;After formatting my DAML for readability, it looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_0-1614978575941.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7717i8B88717DAB91633C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_0-1614978575941.png" alt="KirkKuykendall1_0-1614978575941.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then right click on project and choose New Item, and then a Button.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_1-1614978668944.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7718i31E59B4EBE0F1415/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_1-1614978668944.png" alt="KirkKuykendall1_1-1614978668944.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open my DAML, I see the code I just formatted has been un-necessarily changed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_2-1614978755487.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7719iA2F460CB34A445B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_2-1614978755487.png" alt="KirkKuykendall1_2-1614978755487.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not only is it harder to read within Visual Studio, but it also clutters the git commit history, and makes pasting code to forums less readable.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;customControl id="ProAppModule3_CustomControl1" caption="CustomControl 1" className="CustomControl1ViewModel" keytip="key tip" loadOnClick="true" staysOpenOnClick="true" isDropDown="true" disableIfBusy="true" smallImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/GenericButtonPurple16.png" largeImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/GenericButtonPurple32.png"&amp;gt;
  &amp;lt;content className="CustomControl1View" /&amp;gt;
  &amp;lt;tooltip heading="Tooltip Heading"&amp;gt;Tooltip text&amp;lt;disabledText /&amp;gt;&amp;lt;/tooltip&amp;gt;
&amp;lt;/customControl&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Mar 2021 21:17:36 GMT</pubDate>
    <dc:creator>KirkKuykendall1</dc:creator>
    <dc:date>2021-03-05T21:17:36Z</dc:date>
    <item>
      <title>Make it so Adding a DAML item doesn't reformat existing code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/make-it-so-adding-a-daml-item-doesn-t-reformat/idi-p/1033606</link>
      <description>&lt;P&gt;&lt;EM&gt;Change Add&amp;gt;New Item so it doesn't reformat code.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;After formatting my DAML for readability, it looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_0-1614978575941.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7717i8B88717DAB91633C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_0-1614978575941.png" alt="KirkKuykendall1_0-1614978575941.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then right click on project and choose New Item, and then a Button.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_1-1614978668944.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7718i31E59B4EBE0F1415/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_1-1614978668944.png" alt="KirkKuykendall1_1-1614978668944.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open my DAML, I see the code I just formatted has been un-necessarily changed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_2-1614978755487.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7719iA2F460CB34A445B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_2-1614978755487.png" alt="KirkKuykendall1_2-1614978755487.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not only is it harder to read within Visual Studio, but it also clutters the git commit history, and makes pasting code to forums less readable.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;customControl id="ProAppModule3_CustomControl1" caption="CustomControl 1" className="CustomControl1ViewModel" keytip="key tip" loadOnClick="true" staysOpenOnClick="true" isDropDown="true" disableIfBusy="true" smallImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/GenericButtonPurple16.png" largeImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/GenericButtonPurple32.png"&amp;gt;
  &amp;lt;content className="CustomControl1View" /&amp;gt;
  &amp;lt;tooltip heading="Tooltip Heading"&amp;gt;Tooltip text&amp;lt;disabledText /&amp;gt;&amp;lt;/tooltip&amp;gt;
&amp;lt;/customControl&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 21:17:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-ideas/make-it-so-adding-a-daml-item-doesn-t-reformat/idi-p/1033606</guid>
      <dc:creator>KirkKuykendall1</dc:creator>
      <dc:date>2021-03-05T21:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Make it so Adding a DAML item doesn't reformat existing code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/make-it-so-adding-a-daml-item-doesn-t-reformat/idc-p/1033610#M120</link>
      <description>&lt;P&gt;Also, maybe &lt;A href="https://github.com/Xavalon/XamlStyler" target="_blank" rel="noopener"&gt;XamlStyler&lt;/A&gt; could be adapted to provide something like DamlStyler.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 21:21:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-ideas/make-it-so-adding-a-daml-item-doesn-t-reformat/idc-p/1033610#M120</guid>
      <dc:creator>KirkKuykendall1</dc:creator>
      <dc:date>2021-03-05T21:21:38Z</dc:date>
    </item>
  </channel>
</rss>

