SmallBASIC in jEdit

Using jEdit

“jEdit is a free software text editor available under GPL-2.0-or-later. It is written in Java and runs on any operating system with Java support, including BSD, Linux, macOS and Windows.” (wikipedia)

Example

Setup Syntax Highlighting and Coloring

  • Download the file smallbasic.xml from Github
  • Start jedit
  • Go to Utilities -> Global Options -> Editing -> Edit Modes
  • In the section Add Mode create a new mode:
    • Mode Name: ‘smallbasic’
    • Select Mode File: select smallbasic.xml
    • File Name Glob: *.bas
    • First Line Glob: leave empty
  • Click button Add Mode

Tip: In Utilities -> Global Options -> Editing -> Edit Modes you can remove vbscript from the section Selected modes to make SmallBASIC the standard syntax highlighting for bas files.