Visual Studio Code supports P2 development on Windows, Mac, Linux (yes, RPi)
Visual Studio Code is an extendable code editor that runs natively on Windows, Linux (inclu. Raspberry Pi), and Macs. There are compilers for P2 Spin/Pasm for Windows (PNut and PropTool) and for Windows, Linux, and Macs (FlexProp).
In support of the P2, we developed a Spin2(Pasm2) extension which is currently in the VSCode marketplace which provides syntax and semantic highlighting for Spin2/Pasm2. This extension once installed will automatically notify you of new update availability whenever new updates are published.
Setting up to develop on your platform of choice is relatively simple:
The steps are explained in detail in the VSCode P2 QuickByte
Basically, they are:
- Install VSCode
- Install the Spin2 extension along with a couple more recommended extensions
- Install your chosen compiler(s)
- Configure your project (add compile and download steps for compiler your using)
- Start iteratively developing and testing your spin2/pasm2 code
NOTE: the Spin2 extension is new since the Spin (for P1) extension was released. So if you want P1 and P2 support, install them both. Eventually, as I wrap up current projects I'll backport this latest extension to the P1 but this is likely months away...