#14 new
Jocelyn Legault

[Feature] Set appropriate language when loading back with unknown language.

Reported by Jocelyn Legault | October 22nd, 2009 @ 02:07 AM

The default language when loading back a file with an unknown language association is "Normal Text". We could try a bit harder and guess the type from the file extension.

Repro steps:

  • Make sure you have at least one user-defined language usable (e.g. AHK).
  • Open N++.
  • Open a file of a know type for which we have "native" support (e.g. an ini file)
  • Set the language type of the file to a user defined type.
  • Close N++
  • For the purpose of this example, rename your userDefineLang.xml to something else (e.g. blah.txt)
  • Open N++

You will notice that your ini file now has "Normal Text" as language type, while MS INI file could easily be guessed by the file extension.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Notepad++ Community Release

Shared Ticket Bins

People watching this ticket

Pages