Sublime-GameMaker-Studio-Language-Bundle icon indicating copy to clipboard operation
Sublime-GameMaker-Studio-Language-Bundle copied to clipboard

`gmll.sublime-completions` is not valid: Sublime Text cannot parse it (stray comma)

Open dpc00 opened this issue 2 months ago • 0 comments

gmll.sublime-completions fails to parse with Sublime Text's own decoder (sublime.decode_value): Expected value in (data):297:3. The cause is that line 297 contains a stray , between two array elements (an empty element).

Sublime Text loads every *.sublime-completions file it finds in an installed package, so users of the package get a parse error in the console (and the file's content is ignored) each time the resources are loaded.

Fix: delete the stray comma.

Found while testing packages from the Package Control catalog (every Sublime JSON resource file of every served package was run through sublime.decode_value on ST 4200).

dpc00 avatar Sep 25 '26 09:09 dpc00