Community
    • Login

    Alternate user defined language file for "FreeBasic" ??

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 897 Views 3 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            David Slipper
            last edited by

            Many thanks guys.
            Dave

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors