Skip to content

CompilerDirectives.sublime-completions is not valid JSON: Invalid control character #38

Open

Description

@dpc00

SublimeAutoItScript-1.3.6/CompilerDirectives.sublime-completions does not parse as JSON at line 23, column 86:

Invalid control character at: line 23 column 86 (char 1764)

Sublime Text reads .sublime-* files as JSON with comments, and this file fails even after comments and trailing commas are allowed — so the completions file cannot be loaded. No completion popups from this file.

This is the file as shipped at 1.3.6 (2014-03-15) in the Package Control release archive, found by parsing every .sublime-* file in every package on the channel (4,771 archives). Not an installed-copy artefact: the archive is what Package Control unpacks.

Fix. For a control character, replace the literal newline/tab inside the string with \n / \t.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions