Alternate user defined language file for "FreeBasic" ??
-
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 -
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++\UserDefineLangsand 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.
-
@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.
-
Many thanks guys.
Dave
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