Menu

Setting the default Language to a UDL

Zasurus
2010-01-15
2012-11-13
  • Zasurus

    Zasurus - 2010-01-15

    Hi all,
             I currently work with a language called LIMS Basic and as it's only developed for one bit of software it's not very big and not in the default languages. I have created a user defined language for it and that is OK but I can't select it as the default languages which is really annoying as the code is stored in a DB and is therefore cut n pasted into a blank Notepad++ tab then edited and cut n pasted back into the DB for testing.
    Is it possible to set a user defined language as a default language when you open a new blank tab (for example by double clicking next to another tab)?

    Regards,

    Zas

     
  • cchris

    cchris - 2010-01-15

    This is not supported currently. Could you make a feature reqauest on IdeaTorrent?

    CChris

     
  • wonea

    wonea - 2010-02-26

    Yeap, I've got this problem as well, when trying to load a bunch of custom files from the command line, doesn't seem to work for selecting a UDL from the command line either.

     
  • François-R Boyer

    If you can put a modeline in the files, a special header, or if all the files in a specified folder have the same language, it can be done using my Modeline Parser plugin.  It supports adding file type detections based on content (a header in the file) or file/path name (including the possibility to chose a user-defined language).  For new tabs, you can make a filter looking for "new " without path.

    See post https://sourceforge.net/projects/notepad-plus/forums/forum/331753/topic/4595425 or go and download Modeline Parser at https://sourceforge.net/projects/npppythonplugsq/files/.