remy / vscode-nextbasic

VS Code tools for NextBASIC
https://marketplace.visualstudio.com/items?itemName=remysharp.nextbasic
8 stars 2 forks source link
cspect hacktoberfest nextbasic spectrum-next vscode vscode-nextbasic

NextBASIC VSCode Syntax

ZX Spectrum NextBASIC syntax highlighting for Visual Studio Code.

vscode-nextbasic demo

Video: how to setup your NextBASIC dev workflow

This video installation walk through is shown on a Mac but is the same process for Windows and Linux: Watch on YouTube

Features

Cspect support

Prerequisites:

Important Windows users ensure you use the hdfmonkey build from uto.speccy.org (link above) - it's built without cygwin as a dependency.

Update nextbasic configuration in VS Code, which requires the location of cspect.exe (yes, even on a Mac) and the Next img file.

Video explanation coming soon.

Note that using NextBASIC: run with cspect will overwrite your autoexec.bas file on the cspect image.

Hat tips

Credit to Rob Uttley for solving the autoexec and #autostart.

Credit to @kounch for their superb original work on vscode_zx (cspect, ZEsarUX and zxbasic - BASIC to asm support)

Original syntax based specifically on the work by jsanjose - and modified to specifically support NextBASIC.