• Login
Community
  • Login

Associate log extension with Normal Text instead of errorlist

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 4 Posters 204 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.
  • K
    KlaasBonnema
    last edited by May 30, 2025, 7:54 AM

    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.

    E T 2 Replies Last reply May 30, 2025, 8:37 AM Reply Quote 0
    • E
      Ekopalypse @KlaasBonnema
      last edited by May 30, 2025, 8:37 AM

      @KlaasBonnema

      There is a file called langs.xml.
      Search for errorlist and remove log from the registered extensions. Restart npp.
      It may be necessary to close and reopen a log file as Npp remembers the previously used lexer.

      1 Reply Last reply Reply Quote 3
      • T
        Terry R @KlaasBonnema
        last edited by May 30, 2025, 8:43 AM

        @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

        A 1 Reply Last reply May 30, 2025, 10:47 AM Reply Quote 0
        • A
          Alan Kilborn @Terry R
          last edited by May 30, 2025, 10:47 AM

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

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