Lingo
Adobe/Macromedia Director Lingo syntax highlighting for Sublime Text
Links
Version
1.0.0
(ST3092+)
·
Lingo for Sublime Text
Syntax highlighting for Adobe / Macromedia Director Lingo in Sublime Text.
Director may be retired, but plenty of Lingo code still lives on in old projects, archives and Shockwave-era games. This package makes reading and editing it in Sublime Text a lot more pleasant.
Features
- Highlighting for keywords, constants,
#symbols, strings, numbers and operators -- comments, with comment toggling via Cmd+/ (macOS) or Ctrl+/ (Windows/Linux)- Handler names (
on mouseUp,on exitFrame, …) appear in Goto Symbol (Cmd+R / Ctrl+R) - Unclosed strings are flagged instead of colouring the rest of the file
- Case-insensitive, like Lingo itself
Files with the .lingo and .ls extensions open with Lingo highlighting automatically.
Note:
.lsis also used by LiveScript. If you have a LiveScript package installed, pick the syntax via View → Syntax → Lingo, or set it as the default for.lsfiles with View → Syntax → Open all with current extension as… → Lingo.
Installation
Manual
- In Sublime Text, open Settings → Browse Packages… (on older versions: Preferences → Browse Packages…).
- Create a folder named
Lingoinside thePackagesfolder. - Copy
Lingo.sublime-syntaxandComments.tmPreferencesinto that folder.
No restart is needed.
Package folder locations:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Sublime Text/Packages/ |
| Windows | %APPDATA%\Sublime Text\Packages\ |
| Linux | ~/.config/sublime-text/Packages/ |
Package Control
Coming soon.
Contributing
Lingo has a large vocabulary and this is a first version. Missing keywords, wrong colours or other issues? Open an issue or a pull request — examples of real Lingo code that highlights badly are especially welcome.
License
MIT © 2026 @thewaysofwyrd