<?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[Tab vs Space for .rs (Rust)]]></title><description><![CDATA[<p dir="auto">First (and I should have done that a while ago), thank you so much for making Notepad++!</p>
<p dir="auto">Then the quick question: I can’ seem to find the Tab setting option in “preferences,language” to allow Rust to use spaces instead of tabs. This is a(nother) pretty useful features but the .rs extension seems to be missing (7.9.1 x64)</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20669/tab-vs-space-for-rs-rust</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 15:33:12 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20669.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Feb 2021 03:03:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Tue, 09 Feb 2021 09:48:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/snmnarum" aria-label="Profile: snmnarum">@<bdi>snmnarum</bdi></a> said in <a href="/post/62597">Tab vs Space for .rs (Rust)</a>:</p>
<blockquote>
<p dir="auto">Perhaps the installer could detect a modified config and give us the option of A) use new, B) preserve user, or C) attempt a merge.</p>
</blockquote>
<p dir="auto">You can create a feature request for this. Having at least A) and B) would be nice. However, C) will not be easy to implement.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62612</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62612</guid><dc:creator><![CDATA[mere-human]]></dc:creator><pubDate>Tue, 09 Feb 2021 09:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Mon, 08 Feb 2021 19:00:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/snmnarum" aria-label="Profile: snmnarum">@<bdi>snmnarum</bdi></a> said in <a href="/post/62597">Tab vs Space for .rs (Rust)</a>:</p>
<blockquote>
<p dir="auto">Perhaps the installer could detect a modified config and give us the option of A) use new, B) preserve user, or C) attempt a merge.</p>
</blockquote>
<p dir="auto">It probably comes down to how much time devs have to accomplish all things.  Time is finite, after all, and these devs have to carve off a section of their free time to keep devving on Notepad++ – I’m sure they all have day jobs and families preventing them from 24 / 7 N++ dev!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62599</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62599</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 08 Feb 2021 19:00:40 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Mon, 08 Feb 2021 18:50:16 GMT]]></title><description><![CDATA[<p dir="auto">The age-old conundrum of how to preserve the advanced users’ custom settings while allowing the installer to stomp an out of date or corrupted settings file for a newbie or during an update.  In a case like this, you don’t want the installer indiscriminately stomping the file and corrupting customizations.  But then you “loose updates” for a guy like Philippe!  Perhaps the installer could detect a modified config and give us the option of A) use new, B) preserve user, or C) attempt a merge.  The last would have worked fine for Philippe as the Rust entry was new and would have been inserted between his (possibly customized) lines in the existing file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62597</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62597</guid><dc:creator><![CDATA[snmnarum]]></dc:creator><pubDate>Mon, 08 Feb 2021 18:50:16 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Sun, 07 Feb 2021 21:13:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mere-human" aria-label="Profile: mere-human">@<bdi>mere-human</bdi></a> said in <a href="/post/62579">Tab vs Space for .rs (Rust)</a>:</p>
<blockquote>
<p dir="auto">What if it didn’t overwrite the old langs.xml?</p>
</blockquote>
<p dir="auto">Isn’t that the idea?<br />
If user has changed some settings, err on the side of caution and don’t blow it away?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62581</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62581</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 07 Feb 2021 21:13:39 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Sun, 07 Feb 2021 20:23:21 GMT]]></title><description><![CDATA[<p dir="auto">Maybe, some sort of the installer bug? What if it didn’t overwrite the old langs.xml?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62579</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62579</guid><dc:creator><![CDATA[mere-human]]></dc:creator><pubDate>Sun, 07 Feb 2021 20:23:21 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Sun, 07 Feb 2021 20:10:38 GMT]]></title><description><![CDATA[<p dir="auto">That was definitively it, thank very much! I don’t know what I did which prevented the update to be made especially knowing that rust syntax highlighting was working.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62578</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62578</guid><dc:creator><![CDATA[Philippe]]></dc:creator><pubDate>Sun, 07 Feb 2021 20:10:38 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Sun, 07 Feb 2021 19:02:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philippe" aria-label="Profile: Philippe">@<bdi>Philippe</bdi></a> ,</p>
<p dir="auto">Posting the full Debug Info is always better than just the “version number” (it can give other hints, like install location, local-conf-vs-appdata, admin mode, and plugins, all of which can influence things).  Thanks for providing that.</p>
<p dir="auto">In this instance, I would say that it’s probably one of your <code>%AppData%\Notepad++\*.xml</code> files that’s causing “Rust” to not be shown in the <strong>Settings &gt; Preferences &gt; Language : TabSettings</strong> options.  Those files don’t get reset on new installations, unless you delete the <code>%AppData%\Notepad++\</code> folder – but if you’ve got a lot of personalized settings, you probably don’t want to do that.</p>
<p dir="auto">I ran a quick experiment, and copied langs.xml to x-langs.xml (to save a backup of it), then removed the “rust” section from between “ruby” and “scheme”.  When I reloaded, “rust” was no longer in that preferences section.  So you might want to follow these steps</p>
<ol>
<li>Close all Notepad++ windows</li>
<li>Open <code>%AppData%\Notepad++\langs.xml</code> in Notepad++</li>
<li>Add the following between “ruby” and “scheme”<pre><code>    &lt;Language name="rust" ext="rs" commentLine="//" commentStart="/*" commentEnd="*/"&gt;
        &lt;Keywords name="instre1"&gt;abstract as async become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self static struct super trait true try type typeof unsafe unsized use virtual where while yield&lt;/Keywords&gt;
        &lt;Keywords name="instre2"&gt;bool char f32 f64 i128 i16 i32 i64 i8 isize str u128 u16 u32 u64 u8 usize&lt;/Keywords&gt;
        &lt;Keywords name="type1"&gt;Self&lt;/Keywords&gt;
        &lt;Keywords name="type2" /&gt;
        &lt;Keywords name="type3" /&gt;
        &lt;Keywords name="type4" /&gt;
        &lt;Keywords name="type5" /&gt;
    &lt;/Language&gt;
</code></pre>
</li>
<li>Save and exit Notepad++ without doing anything else.</li>
<li>Reload Notepad++.</li>
<li>Check the settings, and see if rust is available.</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/62577</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62577</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 07 Feb 2021 19:02:49 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Sat, 06 Feb 2021 22:00:16 GMT]]></title><description><![CDATA[<p dir="auto">Per initial post, it’s 7.9.1 x64. I believe you it is in your version (how could I not) but that’s also why I put a screenshot of mine to show you that I’m not (yet) totally dumb and it is not in mine (although I have rust syntax highlighting). I’ll do a full update / re-install then!</p>
<p dir="auto">Notepad++ v7.9.1   (64-bit)<br />
Build time : Nov  2 2020 - 01:07:46<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
OS Name : Windows 7 Ultimate (64-bit)<br />
OS Build : 7601.24312<br />
Current ANSI codepage : 1252<br />
Plugins : ComparePlugin.dll HexEditor.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62552</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62552</guid><dc:creator><![CDATA[Philippe]]></dc:creator><pubDate>Sat, 06 Feb 2021 22:00:16 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Sat, 06 Feb 2021 18:25:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philippe" aria-label="Profile: Philippe">@<bdi>Philippe</bdi></a> said in <a href="/post/62523">Tab vs Space for .rs (Rust)</a>:</p>
<blockquote>
<p dir="auto">it’s just that rust is not in the menu.</p>
</blockquote>
<p dir="auto">But it is:<br />
<img src="/assets/uploads/files/1612635868585-11b90685-1f8b-401f-a7aa-34b8f78bfc02-image.png" alt="11b90685-1f8b-401f-a7aa-34b8f78bfc02-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If it’s not in your menu, then you either have a really old version of Notepad++ (go to <strong>?</strong> menu, select the <strong>Debug Info</strong> entry, and copy the text and paste it here), or you <em>have</em> upgraded Notepad++ to a relatively-recent version, but some of your configuration files have not been updated, then Notepad++ might not see that Rust exists as an option.  What you paste for the Debug Info in your next reply will help inform us which way to take the debug process at this point.</p>
<pre><code>Notepad++ v7.9   (64-bit)
Build time : Sep 22 2020 - 03:19:04
Path : C:\Users\Peter\AppData\Local\Temp\notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Home (64-bit) 
OS Version : 2004
OS Build : 19041.746
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll 
</code></pre>
<p dir="auto">(or <code>Alt+PrintScreen</code> and paste the image of your dialog here)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62549</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62549</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 06 Feb 2021 18:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Sat, 06 Feb 2021 03:05:54 GMT]]></title><description><![CDATA[<p dir="auto">I know it sounds like a stupid question - I’m already using different tab settings for my various languages, it’s just that rust is not in the menu. So that you don’t think I’m too much deranged, here is a screenshot :-)</p>
<p dir="auto"><img src="/assets/uploads/files/1612580751800-capture-d-x27-%C3%A9cran-2021-02-05-19.00.13.png" alt="Capture d'écran 2021-02-05 19.00.13.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/62523</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62523</guid><dc:creator><![CDATA[Philippe]]></dc:creator><pubDate>Sat, 06 Feb 2021 03:05:54 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Tue, 02 Feb 2021 10:33:25 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/philippe" aria-label="Profile: philippe">@<bdi>philippe</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Simply :</p>
<ul>
<li>
<p dir="auto">Select the menu option <strong><code>Settings &gt; Preferences... &gt; Language (on your LEFT ) &gt; Tab Settings ( on your RIGHT )</code></strong></p>
</li>
<li>
<p dir="auto">With the mouse, move <strong>down</strong> to language <strong><code>rust</code></strong></p>
</li>
<li>
<p dir="auto"><strong>Untick</strong> the <strong><code>Use Default Value</code></strong> square <strong>box</strong></p>
</li>
<li>
<p dir="auto"><strong>Tick</strong> the <strong><code>Replace by space</code></strong> box</p>
</li>
<li>
<p dir="auto">Click to the <strong><code>Close </code></strong> button</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62417</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62417</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 02 Feb 2021 10:33:25 GMT</pubDate></item><item><title><![CDATA[Reply to Tab vs Space for .rs (Rust) on Tue, 02 Feb 2021 10:28:26 GMT]]></title><description><![CDATA[<p dir="auto">Can’t confirm.</p>
<p dir="auto">Go to Settings &gt; Preferences &gt; Language<br />
On the right side there is Tab Settings, where you can find “rust” and then uncheck “Use default value” and set your desired tab settings.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62416</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62416</guid><dc:creator><![CDATA[Daniel Fuchs]]></dc:creator><pubDate>Tue, 02 Feb 2021 10:28:26 GMT</pubDate></item></channel></rss>