Community
    • Login

    Idea: automatic file-type detection based on content

    Scheduled Pinned Locked Moved General Discussion
    1 Posts 1 Posters 742 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Corneliu ZuzuC
      Corneliu Zuzu
      last edited by

      Hi,

      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.
      Not super useful, but useful nonetheless and pretty cool, I thought it would be worth sharing.
      Maybe this could be encapsulated into a plugin or smth.
      I see someone has already thought of it previously: https://notepad-plus-plus.org/community/topic/15503/auto-detect-language-when-creating-new-file
      You can use this idea however you want to, without worrying I’d have subsequent revendication.

      Cheers.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors