Community
    • Login

    Remove default extension in Style Configurator

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 2.0k 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.
    • NotepadPP_UserN
      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
        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
          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
            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors