Associate log extension with Normal Text instead of errorlist
-
Notepad++ 8.8.1 introduced a new errorlist syntax and associates this with file extentions .err and .log.
I frequently use Notepad++ to analyse .log files but the format of these files does not work well with the new errorlist syntax. I end up changing the syntax to Normal Text each time I open a .log file.I cannot find a way to configure Notepad++ to stop associating .log with the errorlog syntax and use Normal Text instead.
I am not really looking to define my own syntax definition.
-
There is a file called langs.xml.
Search for errorlist and removelog
from the registered extensions. Restart npp.
It may be necessary to close and reopen a log file as Npp remembers the previously used lexer. -
@KlaasBonnema said in Associate log extension with Normal Text instead of errorlist:
I cannot find a way to configure Notepad++ to stop associating .log with the errorlog syntax and use Normal Text instead.
@PeterJones had this post, where he suggests making the change in a different way. This method is done via the Notepad++ GUI, so not needing to edit a XML file manually.
Terry
-
@Terry-R said:
PeterJones had this post, where he suggests making the change in a different way.
Hmm, that post is about adding, not removing.
If you try to remove via the GUI, you’ll find that the Default ext.: edit box is disabled, meaning you can’t change it.
I suggest following the @Ekopalypse advice above.