Sinclair ZX Spectrum BASIC syntax highlighting for Visual Studio Code.
Supports all reserved words from the Sinclair ZX Spectrum BASIC.
BEEP, BIN, BORDER, BRIGHT, CAT, CIRCLE, CLEAR, CLOSE#, CLS,
CONTINUE, COPY, DATA, DEF FN, DIM, DRAW, ERASE, FLASH, FORMAT,
FOR, GO SUB, GO TO, IF, INK, INPUT, INVERSE, LET, LIST, LLIST,
LOAD, LPRINT, MERGE, MOVE, NEW, NEXT, OPEN#, OUT, OVER, PAPER,
PAUSE, PLOT, POKE, PRINT, RANDOMIZE, READ, RESTORE, RETURN,
RUN, SAVE, VERIFY
ABS, ACS, ASN, ATN, ATTR, CHR$, CODE, COS, EXP, FN, INKEY$, INT,
IN, LEN, LN, PEEK, PI, POINT, RND, SCREEN$, SGN, SIN, SQR, STR$,
TAN, USR, VAL$, VAL
AND, NOT, OR
AT, LINE, STEP, TAB, THEN, TO, STOP
BANK, LAYER, PALETTE, SPRITE, TILE, REMOUNT, PWD, CD, MKDIR, RMDIR
This extension supports also Boriel's ZX Basic Compiler extended syntax.
DO, ELSE, ELSEIF, END, ENDIF, EXIT, FUNCTION, GOTO, GOSUB, LOOP, UNTIL, WEND, WHILE
ASC, CAST, CHR, CSRLIN, HEX, HEX16, GetKey, MultiKeys, GetKeyScanCode,
LBOUND, LCase, STR, POS, SCREEN, UCase, Print42, PrintAt42, Print64, PrintAt64
bAND, bNOT, bOR, bXOR, MOD, SHL, <<, SHR, >>, XOR
Byte, Ubyte, Integer, Uinteger, Long, Ulong, String, Fixed, Float
ASM, ALIGN
AS, BOLD, ByRef, ByVal, CONST, DECLARE, FastCall, ITALIC, StdCall, SUB
#DEFINE, #IFDEF, #IFNDEF, #ENDIF, #INCLUDE, #INCBIN, #PRAGMA, #REQUIRE, #IF, #ELSE, #ELIF, #UNDEF, #INIT, #LINE, #ERROR, #WARNING
Launch VS Code Quick Open (Ctrl+P), paste the following commnand, and press Enter.
ext install zxbasic
- To boriel for his contributions.