• Login
Community
  • Login

.r file association messed up

Scheduled Pinned Locked Moved General Discussion
extension
7 Posts 6 Posters 8.1k 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.
  • M
    Muxin Gu
    last edited by Aug 25, 2017, 1:00 AM

    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
    • A
      AlbGri
      last edited by Oct 5, 2017, 9:40 PM

      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
      • E
        Eduardo Marín
        last edited by Oct 10, 2017, 4:33 PM

        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 2
        • F
          Frederico Faleiro
          last edited by Frederico Faleiro Jan 23, 2019, 11:31 PM Jan 23, 2019, 11:30 PM

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

          M 1 Reply Last reply Jan 24, 2019, 12:49 AM Reply Quote 0
          • M
            Meta Chuh moderator @Frederico Faleiro
            last edited by Meta Chuh Jan 24, 2019, 1:21 AM Jan 24, 2019, 12:49 AM

            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
            • A
              Alan Kilborn
              last edited by Jan 24, 2019, 1:38 AM

              @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” ! ! :)

              M 1 Reply Last reply Jan 24, 2019, 1:46 AM Reply Quote 2
              • M
                Meta Chuh moderator @Alan Kilborn
                last edited by Meta Chuh Jan 24, 2019, 2:28 AM Jan 24, 2019, 1:46 AM

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