Menu

Style Configurator doesn't see my language

2007-11-29
2012-11-13
  • Nobody/Anonymous

    I've defined my own language, APL, and assigned a file extension and some formatting to it. That part works well, as far as i've seen. The problem is that when i enter Style Configurator, i can't find it at "languages".

    What might i've done wrong?

     
    • Nobody/Anonymous

      You may see Name of your language in "languages" under "Userdefine" at the end of menu selection at the bottom.
      And you must have a userdefineLang.xml in Installdir of N++!

       
    • Konrad Viltersten

      I don't see "languages", only "language". Provided that's the one you ment, i don't see my APL language there. Neither do i see "userdefine" as a language either.

      How do i get to have "userdefinelang.xml"? I have "langs.xml", "stylers.xml", "config.xml" and maybe few more. I have defined the language, of course, but i don't seem to get a separate file for it.

       
      • Nobody/Anonymous

        Type Alt to activate the menu shortcuts, then press L to enter the Language menu. (Alt+L actives the Compare Plug-In if it's installed.)

        In the Language menu, press V. You will move to near the bottom of the list. Now press the cursor down key a few times. Below the separator you will find your own defined language(s) and at last the User Defined entry.

         
    • Konrad Viltersten

      Well, that, i've done already. I've also configured N++ so it will recognize the extension .DYALOG as well. The problem i was describing is not with that.

      The problem is that when i go into   Settings -> Styler Configurator   i can see a lot of languages listed under "language" but neither of them is the language i've just defined. So, the problem is that the language of my choice, APL, seems not to be configurable from Styler Configurator. Is that the way it's supposed to be?

       
      • Nobody/Anonymous

        Yes, that's how it is supposed to work. A User Defined Language has no other Styles than the ones defined in the Dialog. So there is on need or way to set these in the Styler Configurator. The built in languages use a slightly different approach than the UDL's.

         
        • Konrad Viltersten

          Got it. Thanks.

           
    • Nobody/Anonymous

      The only way to create a new unserdefine Language is in menu "View - Userdefine(*Language)."
      And he can be changed there!
      When you create a new language it would be saved in a userDefineLang.xml stored either in N++dir
      or in %appdata%\Notepad++.
      You can choose in menu Language, under Userdefine you will see your new language.