Community
    • Login

    Unwanted Language for tab extension

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 777 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.
    • datatraveller1D Offline
      datatraveller1
      last edited by

      I use the .tab extension for tab separated files. I have noticed that they get opened with “Language - N - N - Nncrontab” but I want them to be opened with Language None (Normal Text). How can I turn off Nncrontab?

      datatraveller1D 1 Reply Last reply Reply Quote 0
      • datatraveller1D Offline
        datatraveller1 @datatraveller1
        last edited by

        I have found Settings - Style Configurator - extended crontab file - Default ext.: "tab spf" but this can’t be edited.

        PeterJonesP 1 Reply Last reply Reply Quote 0
        • PeterJonesP Offline
          PeterJones @datatraveller1
          last edited by

          @datatraveller1 ,

          The default extensions for a given language cannot be edited in the GUI. Instead, following the “Editing Config Files” sequence, edit %AppData%\Notepad++\langs.xml, save, and restart Notepad++. After that, tab won’t be in the list of default extensions in the extended crontab entry of the Style Configurator, and .tab should render as normal text instead of extended crontab syntax.

          datatraveller1D 1 Reply Last reply Reply Quote 4
          • datatraveller1D Offline
            datatraveller1 @PeterJones
            last edited by

            Hi @PeterJones, thank you very much!

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA Offline
              Alan Kilborn @datatraveller1
              last edited by Alan Kilborn

              edit %AppData%\Notepad++\langs.xml

              Specifically, change this line:

                      <Language name="nncrontab" ext="tab spf" commentLine="\" commentStart="" commentEnd="">
              

              to this:

                      <Language name="nncrontab" ext="spf" commentLine="\" commentStart="" commentEnd="">
              

              Removing tab from the list of extensions for nncrontab files.

              1 Reply Last reply Reply Quote 3

              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