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 removelogfrom 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.
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