<?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[Idea: automatic file-type detection based on content]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">An idea just popped into my mind while using NP++. While writing an HTML document from scratch I thought it would be nice for NP++ to automatically detect the file type based on the content I inserted - also when the user wants to save the file NP++ automatically appends the corresponding file-extension.<br />
Not super useful, but useful nonetheless and pretty cool, I thought it would be worth sharing.<br />
Maybe this could be encapsulated into a plugin or smth.<br />
I see someone has already thought of it previously: <a href="https://notepad-plus-plus.org/community/topic/15503/auto-detect-language-when-creating-new-file" rel="nofollow ugc">https://notepad-plus-plus.org/community/topic/15503/auto-detect-language-when-creating-new-file</a><br />
You can use this idea however you want to, without worrying I’d have subsequent revendication.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15761/idea-automatic-file-type-detection-based-on-content</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 01:58:43 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15761.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 May 2018 18:50:26 GMT</pubDate><ttl>60</ttl></channel></rss>