<?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[PowerShell Language Woes]]></title><description><![CDATA[<p dir="auto">I just want PowerShell syntax highlighting but it’s proving elusive.</p>
<ol>
<li>When I open .ps1 files no syntax is highlighted</li>
<li>PowerShell is listed under “Language” -&gt; “P” -&gt; “PowerShell”</li>
<li>When I click it from the Language menu nothing happens</li>
<li>I had already created a User-Defined Language “PowerShell” which appears at the bottom of the Language Menu. Clicking this DOES highlight the syntax. But not when I open the file.</li>
<li>Weirdly, Powershell is not listed in any language XML files I can find. So why is it in the Language -&gt; P menu?</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/topic/12729/powershell-language-woes</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 10:58:43 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12729.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Nov 2016 08:53:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PowerShell Language Woes on Tue, 10 Jan 2017 13:57:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/roman-revell" aria-label="Profile: Roman-Revell">@<bdi>Roman-Revell</bdi></a>,</p>
<blockquote>
<p dir="auto"><em>Although, now there is just one long menu instead of the multi-tiered menu, which is fine.</em></p>
</blockquote>
<p dir="auto"><code>Preferences &gt; Language &gt; Language Menu &gt; ☑ Make language menu compact</code></p>
<p dir="auto"><img src="http://i.imgur.com/DO0FCQ9.png" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/20745</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20745</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 10 Jan 2017 13:57:59 GMT</pubDate></item><item><title><![CDATA[Reply to PowerShell Language Woes on Tue, 10 Jan 2017 04:41:11 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. It looked the way I described it. But, it seemed to be working normally (and looks like your picture) on another machine. So, I tried uninstalling and then noticed there is version 7.3; so, I installed that and now it works on that machine too. Although, now there is just one long menu instead of the multi-tiered menu, which is fine.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20740</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20740</guid><dc:creator><![CDATA[Roman Revell]]></dc:creator><pubDate>Tue, 10 Jan 2017 04:41:11 GMT</pubDate></item><item><title><![CDATA[Reply to PowerShell Language Woes on Sat, 07 Jan 2017 15:44:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/roman-revell" aria-label="Profile: Roman-Revell">@<bdi>Roman-Revell</bdi></a></p>
<p dir="auto">if looks like this</p>
<p dir="auto"><img src="https://i.imgur.com/Q9HiChh.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">then the highlighted one is the builtin powershell lexer whereas the one under<br />
the separator line is a user-defined lexer (one you created manually).</p>
<p dir="auto">If it doesn’t work, than it must have been broken. Check via UDL gui or<br />
by inspecting the file userDefineLang.xml which is either under<br />
the %APPDATA% or under npp install directory.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20674</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20674</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sat, 07 Jan 2017 15:44:46 GMT</pubDate></item><item><title><![CDATA[Reply to PowerShell Language Woes on Sat, 07 Jan 2017 07:08:01 GMT]]></title><description><![CDATA[<p dir="auto">I have version 7.2.2. I have the same issue, no syntax highlighting. If I select Powershell from the P menu, it works. But, I notice there is also in the main Language menu, Powershell*. What does that mean and why does it do nothing when I select it?<br />
Powershell coloring really should be redone to match the Powershell ISE from Microsoft, which is better anyway. But, something would be nice. It worked fine until the last upgrade that I did to 7.2.2.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20665</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20665</guid><dc:creator><![CDATA[Roman Revell]]></dc:creator><pubDate>Sat, 07 Jan 2017 07:08:01 GMT</pubDate></item><item><title><![CDATA[Reply to PowerShell Language Woes on Tue, 15 Nov 2016 16:08:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marc-cawood" aria-label="Profile: Marc-Cawood">@<bdi>Marc-Cawood</bdi></a></p>
<p dir="auto">should be, at least,  in langs.xml and langs.model.xml.<br />
If it isn’t - I would download your current npp as zip and replace<br />
the mentioned files with the downloaded ones. Just to test.<br />
Note, depending on your installation the langs.xml is either in<br />
the installation directory or under %APPDATA%\notepad++ directory.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19257</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19257</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 15 Nov 2016 16:08:29 GMT</pubDate></item></channel></rss>