Community
    • Login

    Remove default extension in Style Configurator

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 2.5k Views 2 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.
    • NotepadPP_UserN Offline
      NotepadPP_User
      last edited by NotepadPP_User

      I’d like to open *.S files as if they are Assembly files (same as *.asm).

      I can add “S” to “Assembly” in the style configuration user defined extensions. But, I cannot remove the current mapping for “S” which is assigned to the “R” language.

      Therefore, “S” files will always be opened as if they are “R” language files.

      How do I remove “S” file types from the “R” language parser?

      1 Reply Last reply Reply Quote 0
      • gstaviG Offline
        gstavi
        last edited by

        Didn’t try it by myself but my guess is:
        Settings --> Preferences --> Language Menu
        Move ‘R’ to disabled.

        1 Reply Last reply Reply Quote 1
        • dinkumoilD Offline
          dinkumoil
          last edited by

          You have to edit the file

          C:\Users\<UserName>\AppData\Roaming\Notepad++\langs.xml

          Search the following Language node:

          <Language name="r" ext="r s splus" commentLine="#">
          

          You have to remove the s in the value of the attribute ext.

          1 Reply Last reply Reply Quote 4
          • NotepadPP_UserN Offline
            NotepadPP_User
            last edited by

            Thanks, this worked. maybe the GUI setting could allow this in the future.

            1 Reply Last reply Reply Quote 0

            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