• Login
Community
  • Login

Unwanted Language for tab extension

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 395 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.
  • D
    datatraveller1
    last edited by Nov 21, 2022, 9:49 AM

    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?

    D 1 Reply Last reply Nov 21, 2022, 2:17 PM Reply Quote 0
    • D
      datatraveller1 @datatraveller1
      last edited by Nov 21, 2022, 2:17 PM

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

      P 1 Reply Last reply Nov 21, 2022, 9:15 PM Reply Quote 0
      • P
        PeterJones @datatraveller1
        last edited by Nov 21, 2022, 9:15 PM

        @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.

        D 1 Reply Last reply Nov 21, 2022, 10:14 PM Reply Quote 4
        • D
          datatraveller1 @PeterJones
          last edited by Nov 21, 2022, 10:14 PM

          Hi @PeterJones, thank you very much!

          A 1 Reply Last reply Nov 22, 2022, 2:08 PM Reply Quote 0
          • A
            Alan Kilborn @datatraveller1
            last edited by Alan Kilborn Nov 22, 2022, 2:11 PM Nov 22, 2022, 2:08 PM

            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
            5 out of 5
            • First post
              5/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors