Community
    • Login

    Alternate user defined language file for "FreeBasic" ??

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 539 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.
    • David SlipperD
      David Slipper
      last edited by

      Is there an alternative to the built in FreeBasic language file ?? I find that the built in one isn’t very useful (colors are not very contrasting and no auto completion - unless I am missing something).

      Alternatively, can I get the source of the built in version to tweak.

      Regards,
      Dave

      1 Reply Last reply Reply Quote 0
      • artie-finkelsteinA
        artie-finkelstein
        last edited by

        AFIK there is no FreeBasic formatter builtin or supplied with Notepad++. There is FreeBasic.XML. Note you’ll have to remove the extraneous [code] tags before and after the <NotepadPlus> tags to make it a valid XML file. Place a copy of the XML file in the UDL folder: ...\Notepad++\UserDefineLangs and restart Notepad++.

        Now it’s up to you to modify FreeBasic.xml to change the “usefulness” factor as you see fit. UDL files are only loaded when Notepad++ starts, necessitating a series of edit/save/restart operations as you tweak the file.

        PeterJonesP 1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @artie-finkelstein
          last edited by guy038

          @artie-finkelstein said in Alternate user defined language file for "FreeBasic" ??:

          Now it’s up to you to modify FreeBasic.xml to change the “usefulness” factor as you see fit. UDL files are only loaded when Notepad++ starts, necessitating a series of edit/save/restart operations as you tweak the file.

          Actually, once it is imported the first time, all you have to do is use Language > User Defined Language > Define Your Language to edit the values in the GUI editor, rather than editing the source XML directly – and changes in that dialog are effective immediately, so you can tweak until it looks good.

          @David-Slipper also said,

          and no auto completion

          You have to define your own auto-completion file for a UDL. Relevant doc: https://npp-user-manual.org/docs/auto-completion/ with a description of how it works and the XML syntax required.

          1 Reply Last reply Reply Quote 2
          • David SlipperD
            David Slipper
            last edited by

            Many thanks guys.
            Dave

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors