Sublime Forum

How to make a language package for Sublime Text 3?


Hi all,
Thanks for this wonderful text editor. I love it. I am a fan of a scripting language called “ThinBasic”. I would like to write thinBasic code in ST3. How do i make a package for thinBasic ? I want to do these things.

  1. Implement syntax highlighting
  2. Implement auto completion of keyword and identifiers.
  3. Intellisence.

I know, i need to get some info from that language creator, which i will get soon. What do i need to do in Sublime text. Thanks in advance,.



There’s tutorials and documentation for writing a syntax definition. You can use the default syntaxes as a reference too. For intellisence you’re probably best off writing/using an LSP server.