Menu

Associate a file extention to a language

2005-10-06
2012-11-13
  • Nobody/Anonymous

    Hello ! I wish to auto associate the extension .tpl to the HTML coloration, how can i do that ?

     
    • Nobody/Anonymous

      Hi! I associated the extention .cmd to notepad++ but i'm not able to restore the "*.cmd" again to the cmd.exe.

      Anyone?

       
    • Paulius

      Paulius - 2005-10-07

      In Notepad++ choose "Language" -> "Styler Configurator...". In the dialog, choose HTML language. Now, at the bottom of dialog there are "Default ext" and "User ext" fields. Type "tpl" into "User ext" field, then press "Save & Close" button. That's it - from now on, *.tpl files will be auto-recognized as HTML-syntax files.

      Good luck.

       
      • Nobody/Anonymous

        The list of languages in the styler configurator doesn't have my own (custom) languages.. Should it?

         
        • Don HO

          Don HO - 2007-06-09

          Yes, it's normal.
          Use User Language Define Dialog to modify syntax hilighting.

          Don

           
MongoDB Logo MongoDB