Community
    • Login

    User extensions in Style Configurator are overwritten by default extensions

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 3 Posters 437 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.
    • Daniel FuchsD
      Daniel Fuchs
      last edited by

      I noticed the following issue.

      The Style Configurator dialogue allows the user to specify an arbitrary amount of user extensions per language. I use this to allow our sql procedures (which have varying extensions, one of which is .PRO) to be syntax highlighted as SQL files.

      However since I upgraded von Notepad++ 7.8.1 x86 to 7.8.6 x64 and deleting all previous xml configurations the PRO extension is assigned to “Visual Prolog” instead of SQL, as the default extensions for Visual Prolog are “pro cl i pack ph”. This seems to overwrite my user extension as seen in the following GIF video.

      gif

      Notepad++ v7.8.6   (64-bit)
      Build time : Apr 21 2020 - 15:23:03
      Path : C:\Program Files\Notepad++\notepad++.exe
      Admin mode : OFF
      Local Conf mode : OFF
      OS Name : Windows 10 Pro (64-bit) 
      OS Version : 1909
      OS Build : 18363.778
      Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll PythonScript.dll XMLTools.dll 
      
      1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse
        last edited by Ekopalypse

        It looks like this has been one of the default extension
        since visual prolog has been introduced in 2016
        according to this commit.

        So I have to assume that you either removed the .pro extension from
        Visual Prolog or the language itself yourself if this was working with 7.8.1.

        1 Reply Last reply Reply Quote 0
        • Daniel FuchsD
          Daniel Fuchs
          last edited by

          Shouldn’t user extensions always be on a higher priority than default ones?

          EkopalypseE 1 Reply Last reply Reply Quote 2
          • EkopalypseE
            Ekopalypse @Daniel Fuchs
            last edited by

            @Daniel-Fuchs

            I agree.
            Maybe worth opening an issue at https://github.com/notepad-plus-plus/notepad-plus-plus/issues

            PeterJonesP 1 Reply Last reply Reply Quote 3
            • PeterJonesP
              PeterJones @Ekopalypse
              last edited by

              @Daniel-Fuchs ,

              To add to what @Ekopalypse said,

              Maybe worth opening an issue at https://github.com/notepad-plus-plus/notepad-plus-plus/issues

              When you do open the issue, please provide a link to that new issue here in this discussion, so other readers can easily see the status of that request.

              Thank you.

              1 Reply Last reply Reply Quote 3
              • Daniel FuchsD
                Daniel Fuchs
                last edited by

                Issue is created at https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8304.

                Best regards!

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