Community
    • Login

    Setting a user file extension is not working

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    style colouringuser-defined
    7 Posts 4 Posters 526 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 EssinD
      Daniel Essin
      last edited by

      Hello all,
      I see that this question was asked in 2017 but never answered.

      The problem apparently still exists because I “added” ino as a user ext to the c++ entry (Arduino c files have that extension) but the text does not color code.

      This should either be fixed so that it works or removed if it can never possibly work

      – or –

      would someone please respond with instructions about how to make it work?

      Thank you

      Alan KilbornA EkopalypseE 3 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Daniel Essin
        last edited by

        @Daniel-Essin

        I see that this question was asked in 2017 but never answered.

        Oh yea, where was that? Link?

        I “added” ino as a user ext to the c++ entry (Arduino c files have that extension) but the text does not color code.

        Works for me, in N++ 7.9.1:

        883e8e96-822a-4ccc-8ad6-c0bf5424300d-image.png

        6195edc7-45dc-4815-979d-e5d3201c662f-image.png

        1 Reply Last reply Reply Quote 1
        • Alan KilbornA
          Alan Kilborn @Daniel Essin
          last edited by Alan Kilborn

          @Daniel-Essin

          would someone please respond with instructions about how to make it work?

          Sorry, I really don’t have any.
          I just put ino in the box that I circled in red, and it works.

          A post from the future:
          @Ekopalypse I didn’t even notice that that is a default extension! :-)
          I didn’t scroll that “Default ext” field to the right!

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

            @Daniel-Essin

            that is even a default extension

            84cae3f6-9e61-45a1-86f0-a3c2abda8348-image.png

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

              @Ekopalypse said in Setting a user file extension is not working:

              that is even a default extension

              I was curious: it’s been in that list since this Feb 2017 commit, which appears to have been included in released versions starting in v7.3.2.

              @Daniel-Essin : what version of Notepad++ are you using? (Supply ?-menu, Debug Info). Because you shouldn’t need to add ino to the list for c++, unless you are in an ancient version, or unless one or more of your config files is corrupt or hasn’t been updated since before 2017!

              1 Reply Last reply Reply Quote 2
              • Alan KilbornA
                Alan Kilborn
                last edited by

                Curious about something. What if you didn’t want .ino extensions treated this way?
                Possible to “get it out” from under C++?
                I can’t think of a use-case where I’d want to do this, but is it possible?

                PeterJonesP 1 Reply Last reply Reply Quote 2
                • PeterJonesP
                  PeterJones @Alan Kilborn
                  last edited by

                  @Alan-Kilborn said in Setting a user file extension is not working:

                  is it possible

                  Yes. Either put it as a UDL extension, or remove it from langs.xml

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