Idea: automatic file-type detection based on content
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login