Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    .r file association messed up

    General Discussion
    extension
    6
    7
    7419
    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.
    • Muxin Gu
      Muxin Gu last edited by

      In the previous version of npp it was file. Now my .r files (R statistics language) are automatically recognised as REBOL language. I can’t change the syntax highlight back to R language. Anyone knows a solution? Thanks.

      1 Reply Last reply Reply Quote 0
      • AlbGri
        AlbGri last edited by

        Hey,
        I’ve removed R key from REBOL section in the file ‘langs.xml’ (path: user\AppData\Roaming\Notepad++\langs.xml )
        Now It doesn’t mess anymore when I open .R file.

        1 Reply Last reply Reply Quote 2
        • Eduardo Marín
          Eduardo Marín last edited by

          You are right.
          Line 301 by default is:
          <Language name=“rebol” ext=" r reb" commentLine=“;” commentStart=“” commentEnd=“”>

          The messed up part is ext=" r reb". It should just say ext=“reb”
          Change that, save the file and you are all set.

          1 Reply Last reply Reply Quote 3
          • Frederico Faleiro
            Frederico Faleiro last edited by Frederico Faleiro

            Eduardo Marín solution works for me. Thanks!
            Why Does it persist in the new versions of notepad ++?

            Meta Chuh 1 Reply Last reply Reply Quote 0
            • Meta Chuh
              Meta Chuh @Frederico Faleiro last edited by Meta Chuh

              welcome to the notepad++ community, @Frederico-Faleiro

              i’m sorry about that, but this issue has not been reported to the developers back then.
              it has finally been reported to the devs 2 weeks ago from a pro in québec.
              see here: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/5203

              the solución @Eduardo-Marín gave was a good find and he was the first with a solución as i recall, but only addressed to the user that asked for help and it has never been submitted to any developer, until lately.

              as notepad++ is a private and open source project, it relies on other people helping out for free, and there’s also not even a single cent any of the devs get paid for the private lifetime hours they have to spend on creating and maintaining notepad++, and there is no money to hire people that test everything. please keep this in mind for all other open source applications as well.

              if you take it positively: you found Eduardo’s solution and you solved it yourself ;-)

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

                @Meta-Chuh said:

                and there’s also not even a single cent any of the devs get paid for the private lifetime hours

                Well, there’s always “DONATIONS” ! ! :)

                Meta Chuh 1 Reply Last reply Reply Quote 2
                • Meta Chuh
                  Meta Chuh @Alan Kilborn last edited by Meta Chuh

                  @Alan-Kilborn

                  hehehehe 😂😂😂 nice … second made my day of the day 👍👍👍
                  such a good day, that i barely think about why metations or alanations don’t sound as profitable 🤪

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors