<?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[Disable autodetect syntax by content]]></title><description><![CDATA[<p dir="auto">I have issues with files [.wsc]<br />
Usually its VB or ASP language, but .wsc file has xml like format and VB coding in the body.<br />
Editor use autodetect &lt;?xml version=“1.0”?&gt; line in the beginning and made autoswitching to XML syntax.<br />
After changing Language to VB from menu - Editor again will switching to XML after using Tab between files.</p>
<p dir="auto">For now - impossible to work with .wsc files in VB or others syntax. Editor everytime  will switch to XML</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19007/disable-autodetect-syntax-by-content</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 10:39:44 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19007.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Mar 2020 00:09:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:58:35 GMT]]></title><description><![CDATA[<p dir="auto">:-D<br />
:-D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51167</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51167</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:58:35 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:57:37 GMT]]></title><description><![CDATA[<p dir="auto">I am use XML tools everytime and in this case have this issues with WCS files few years as min.<br />
Few years I have a problem with this and everyday used “Alt+L , V” … every day … few years… maybe I am crazy… I checked Editor settings a 1000 times …<br />
… now I am FREEEEeeeeee … ))) I need to drink. Thanks a lot to all … today my new HB day ))))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51166</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51166</guid><dc:creator><![CDATA[Ihor Laputin]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:51:18 GMT]]></title><description><![CDATA[<p dir="auto">Well, I was working on confirming that disabling XML Tools worked for me when <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> posted.  Then I was working on confirming that disabling <strong>Set XML type automatically</strong> worked for me when <a class="plugin-mentions-user plugin-mentions-a" href="/user/ihor-laputin" aria-label="Profile: Ihor-Laputin">@<bdi>Ihor-Laputin</bdi></a> posted.</p>
<p dir="auto">I will just say “yep, those fixes work for me, too”, rather than all the details that used to be in this post-in-progress. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51164</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51164</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:51:18 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:49:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> YES! Man - its was good idea about plugin!!!<br />
When you say plugin… I am going to check plugins that I have installed, and found [XML Tool 2.4.11]<br />
that has has few settings. Only one option made this issues [Set XML type automatically] when this options is disabled - issue with autoswitching fixed.<br />
Big thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> ))))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51163</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51163</guid><dc:creator><![CDATA[Ihor Laputin]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:49:42 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:48:19 GMT]]></title><description><![CDATA[<p dir="auto">Yes, if XMLTools is used and the option <strong>Set XML type automatically</strong> is set, then this happens.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/ihor-laputin" aria-label="Profile: Ihor-Laputin">@<bdi>Ihor-Laputin</bdi></a> , do you use XMLTools plugin?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51162</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51162</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:48:19 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:45:20 GMT]]></title><description><![CDATA[<p dir="auto">My <em>workhorse</em> is 7.8.2 and it doesn’t happen.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/ihor-laputin" aria-label="Profile: Ihor-Laputin">@<bdi>Ihor-Laputin</bdi></a> - I’m not aware that any of the settings is dedicated to this<br />
but maybe a combination of different settings or a side effect of one setting is responsible for our different behavior.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> - if it is a plugin, then it might XMLTools, I will give it a try<br />
on my side as well.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51161</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51161</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:45:20 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:38:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> ,</p>
<p dir="auto">I just tried a fresh portable 7.8.5 RC1 and it matched <em>your</em> experience rather than my previous experience.</p>
<p dir="auto">Weird.  A fresh portable 7.8.4 also matched your experience.   But if I go back to my customized 7.8.4 portable (which I normally use), then it shows what Ihor and I have been seeing.</p>
<p dir="auto">There must be a setting or plugin that’s causing this discrepancy.  I’ll do some more investigation and post again later.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51159</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51159</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:38:29 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:24:21 GMT]]></title><description><![CDATA[<p dir="auto">I found additional info.<br />
This is not related to WSC extension.<br />
The same happened with [New] file w/o saving - on the switch  between Tabs will be same.<br />
For repeat:</p>
<ul>
<li>create 2 new tabs w/o saving</li>
<li>place &lt;?xml version=“1.0”?&gt; content into first Tab</li>
<li>switch to VB language</li>
<li>switch between Tabs</li>
<li>its again xml language switched</li>
</ul>
<p dir="auto">how disable in the options - auto choosing syntax?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51158</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51158</guid><dc:creator><![CDATA[Ihor Laputin]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:24:21 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:15:45 GMT]]></title><description><![CDATA[<p dir="auto"><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> maybe something with the Settings in Preferences? maybe there is checkbox that can disable autodetect while switching between Tabs?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51157</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51157</guid><dc:creator><![CDATA[Ihor Laputin]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:15:45 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 17:09:21 GMT]]></title><description><![CDATA[<p dir="auto">I see 7.8.5 on the your screen.<br />
For me - issues with .wsc files happened om all version till 7.8.4.<br />
The same as on the presentation from <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/51156</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51156</guid><dc:creator><![CDATA[Ihor Laputin]]></dc:creator><pubDate>Thu, 05 Mar 2020 17:09:21 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 16:21:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">I used the same source you did</p>
<p dir="auto"><img src="https://i.imgur.com/w1fK3pj.gif" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/51153</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51153</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 05 Mar 2020 16:21:42 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 14:16:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said in <a href="/post/51148">Disable autodetect syntax by content</a>:</p>
<blockquote>
<p dir="auto">Does not happen to me</p>
</blockquote>
<p dir="auto">Are you sure you replicated <a class="plugin-mentions-user plugin-mentions-a" href="/user/ihor-laputin" aria-label="Profile: Ihor-Laputin">@<bdi>Ihor-Laputin</bdi></a> 's conditions?  Because it happened for me at home last night (and since I didn’t have a solution, I didn’t post then), and it happens at work for me this morning.</p>
<p dir="auto">I googled for “example wsc file”, and grabbed the example from <a href="https://stackoverflow.com/questions/26960090/need-help-understanding-and-using-wsc-files-on-win64bit" rel="nofollow ugc">this SO post</a>.  Using that file (saved as <code>test.wsc</code>), I get exactly the behavior described.</p>
<p dir="auto">Here’s an animated screenshot:</p>
<p dir="auto"><img src="https://i.imgur.com/ExkAiv1.gif" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">At home, I had tried defining <code>.wsc</code> for a UDL, instead, with the same results.  It seems that there’s some autodetect based on the content of <code>&lt;?xml version="1.0"?&gt;</code> that overrides the by-extension lexer definition, at least from what I can see and from what the OP describes.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51151</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51151</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 05 Mar 2020 14:16:29 GMT</pubDate></item><item><title><![CDATA[Reply to Disable autodetect syntax by content on Thu, 05 Mar 2020 07:52:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ihor-laputin" aria-label="Profile: Ihor-Laputin">@<bdi>Ihor-Laputin</bdi></a></p>
<blockquote>
<p dir="auto">Editor again will switching to XML after using Tab between files.</p>
</blockquote>
<p dir="auto">Does not happen to me, what npp version are you using?<br />
Can be seen in debug-info from ? menu.<br />
What about using <strong>Style Configurator</strong>, selecting <strong>VB/VBS</strong> from <em><strong>Language</strong></em> and adding <strong>wsc</strong> to the <em><strong>User ext.:</strong></em> section?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51148</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51148</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 05 Mar 2020 07:52:07 GMT</pubDate></item></channel></rss>