Apex syntax definitions for Sublime Text based on its Java syntax.
The easiest way to install is using Package Control. It's listed as Apex.
- Open
Command Paletteusing ctrl+shift+P or menu itemTools → Command Palette... - Choose
Package Control: Install Package - Find
Apexand hit Enter
- Download Apex.sublime-package for your Sublime Text build.
- Copy it into Installed Packages directory
To find Installed Packages...
- call Menu > Preferences > Browse Packages..
- Navigate to parent folder
- Sublime Text 4126 or higher