Sublime Text 4 syntax hightling package for the PIO Assembly language used in the RP2040 MCU (RPI Pico).
File extension: .pio
Also handles the embedded languages found in .pio
files: C
or python
Once installed, the PIO
syntax will be available in the list of syntaxes.
If you have Package Control installed: Command Palette
→ Install Package
→ PIO
Clone this repository in your local packages folder.
If you are unsure as to where your local packages directory is, please consult the docs.
Example (on MacOS):
cd ~/Library/Application\ Support/Sublime\ Text/Packages
git clone git@gitlab.com:patopest/sublime-text-pio-syntax.git "PIO Syntax"
- Clone the repository in your local packages.
- Make edits to the
.sublime-syntax
files, the syntax reloads on save.
- Any file with the names starting with
syntax_test_
can be used as a test. - Open the file and run
Tools > Build
(orCMD
+B
on macOS).
Sublime's docs about test files: here