Sublime Forum

Solved:Syntax Highlighting for LibreOffice Macro BASIC

#1

I’m delving into LibreOffice Calc macro programming with LO Basic. I find the editor included with LibreOffice to be lacking for editing and auto-complete. I’ve decided a work flow of writing pseudo-code to code in Sublime and then copying and pasting in LO’s editor.

If I open a file with LO’s Basic in KDE’s Kate or Kwrite, it selects a syntax highlighting of FreeBASIC. I’ve looked and my user profile for Sublime Text does not offer syntax highlighting of FreeBASIC. A Google search of ‘Sublime Text Syntax highlighting FreeBASIC’ yields nothing, the search bots dumbing down that string to free alternatives to Sublime and other topics unrelated to syntax highlighting.

Is there a syntax highlighting package for Basic in Sublime Text? I’m not crazy about using Kate/Kwrite when all other coding projects I work on use Sublime Text.

0 Likes

#2

ST’s ASP is VBScript, which might work. Otherwise https://packagecontrol.io/packages/PureBasic might be a candidate to checkout.

A couple more Basic dialects are listed at https://packagecontrol.io/search/basic. Never tried one, though.

0 Likes

#3

@deathaxe
Thanks for the help. The VBScript package works nicely.

0 Likes