Community
    • Login

    Associate log extension with Normal Text instead of errorlist

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 4 Posters 1.7k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

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