<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Indentation from copy and paste of json not preserved]]></title><description><![CDATA[<p dir="auto">I was issued a new Dell Latitude laptop for work and NotePad++ is an app we must grab from the IT app publisher. On my old laptop, with the same version of NP++, if I copy a json file and paste it into NP++, all the indentation is preserved. On my new laptop with a new install of NP++ (same version) if I copy and paste a setting, all indentations are collapsed. I have gone through every setting on the ‘old’ install and matched it to the new. What is am I doing wrong. TYIA for any help you can provide me. I am not a ‘tech’ person and at a loss!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21831/indentation-from-copy-and-paste-of-json-not-preserved</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 18:40:43 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21831.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Sep 2021 17:31:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Indentation from copy and paste of json not preserved on Wed, 15 Sep 2021 17:55:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tina-davis" aria-label="Profile: Tina-Davis">@<bdi>Tina-Davis</bdi></a> ,</p>
<blockquote>
<p dir="auto">I have gone through every setting on the ‘old’ install and matched it to the new.</p>
</blockquote>
<p dir="auto">Have you compared the <strong>?</strong>-menu’s <strong>Debug Info</strong> on the two?  Maybe there’s a different plugin on the old that you don’t have on the new (or different setting in one of those plugins)</p>
<p dir="auto">Have you done a detailed check of the <strong>Settings &gt; Preferences &gt; Language</strong> dialog’s <strong>Tab Settings</strong> section?  Each different language has a different setting.  The important ones for JSON are <code>[Default]</code> and <code>json</code><br />
<img src="/assets/uploads/files/1631728373924-e63be1fb-9670-4ee7-b5ed-e2f0b0dd53e0-image.png" alt="e63be1fb-9670-4ee7-b5ed-e2f0b0dd53e0-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1631728401821-39bedec9-45a1-4f12-a563-0617f9ed418f-image.png" alt="39bedec9-45a1-4f12-a563-0617f9ed418f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Also, did you select the main menu &gt; <strong>Language &gt; J &gt; JSON</strong> before pasting?  That would affect the tab options while editing.</p>
<p dir="auto">Though really, a <em>paste</em> should preserve the existing indentation, no matter what type of file it’s pasting into, and no matter what <strong>Tab settings</strong> are defined.  So my best guess is still a plugin.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69736</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69736</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 15 Sep 2021 17:55:12 GMT</pubDate></item></channel></rss>