Community
    • Login

    Associate log extension with Normal Text instead of errorlist

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 4 Posters 78 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

      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.

      EkopalypseE Terry RT 2 Replies Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @KlaasBonnema
        last edited by

        @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
        • Terry RT
          Terry R @KlaasBonnema
          last edited by

          @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

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @Terry R
            last edited by

            @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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors