- Fix autocomplete being broken for tables (#62)
- Add support for one-line
while
loop construct (#11) - Add support for new conditional syntax
if ... do ... end
(#57) - Fix changelog link (#52)
- Moved a bunch of stuff to CI, making the release process a bit easier
- Add support for code folding using
#region
comments (#49) - thanks @TheCyberRonin!
- Fix for auto-complete duplicating table name & access operator (#40)
- Fix for auto-complete after table name showing all auto-completions rather than just the ones for that table (#25)
- Fix for snippets not working in
.lua
files (#46 - thanks @davidreif!)
- Fixes formatting of single-line if statements with an
else
block - Fixes formatting of
repeat ... until
loops (#43)
- Formatter has been released! Thanks to @beetrootpaul for major contributions in this feature.
- Closes #26
- Formatter is accessible through regular "Format Document" feature (Alt + Shift + F by default)
- Also accessible through Command Palette, with
PICO-8 LS: Format File - Each Statement on Separate Line
command. This version of the formatter will ensure that each statement is on a separate line, as opposed to the normal one which will keep statements on the same line. - Works on both
.lua
and.p8
files!
- Add snippets for pico-8 glyphs (#30) - thanks to @mika76 for the contribution!
- Fix for labels being marked undefined unless defined before goto (#32)
- Fixed snippets
- Added working indentation rules based on the other pico8vscodeeditor extension
- Fix file URI resolution for Windows (fixes go-to-definition and find-references) (#20)
- (0.4.7) Apply same fix in places that were missed before (#22)
- Support for binary literals like
0b0101101001011010.1
(#10) - (0.4.5) Added auto-complete demo in readme
- Fix shorthand ? print function messing up document outline (#17)
- Fix warning on shorthand ? print function
- Fix warning on labels and gotos (#16)
- Add support for
extcmd
,yield
, and a few other missing built-in functions (14)
- Better support for
#include
ing files -- files included by other files now have the same global scope. Go to definition and find usages works both from the including file, and from the included file. (Previously only worked from the including file.) (#3) - Fix code folding (#15)
- Add support for
#include
ing files (#3, #8) - Add support for built-in global symbols like ❎,
🅾️ , and ░ (#9)
- Add support for P8SCII control codes in string literals (#7)
- Added built-in t() and time() functions (#2)
- Fixed plugin not working on Windows because of problem parsing CRLF line endings (#5)
- Removed one of the leading 0's from the versioning scheme
- Added
stat
with docs to the builtins (#1)
- Hover support for built-in functions
- Auto-completion
- Signature help
- Disabling warnings for unused locals until bugs are fixed
- Remove some warnings about Unicode characters left over from luaparse library
- Started using esbuild for bundling extension (should improve install/load performance)
- Go to definition
- Find references
- Warnings for undefined globals, unused locals
- Snippets for commonly typed patterns (if, then, function)
First release, very basic feature set:
- Syntax highlighting
- Syntax errors
- Go to symbol