Community
    • Login

    .r file association messed up

    Scheduled Pinned Locked Moved General Discussion
    extension
    7 Posts 6 Posters 8.8k 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.
    • Muxin GuM Offline
      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
      • AlbGriA Offline
        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ínE Offline
          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 2
          • Frederico FaleiroF Offline
            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 ChuhM 1 Reply Last reply Reply Quote 0
            • Meta ChuhM Offline
              Meta Chuh moderator @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 KilbornA Offline
                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 ChuhM 1 Reply Last reply Reply Quote 2
                • Meta ChuhM Offline
                  Meta Chuh moderator @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

                  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