Skip to content

feature_request(debugging): more informative error message instead of “context must be an array” #6620

@Kristinita

Description

@Kristinita

1. Summary

It would be nice if Sublime Text would print to the console a more informative error message than context must be an array.

2. Problem

Sublime Text spamming my console with a message context must be an array. From this message, the user may not understand where the error is contained. Even if user understands that this is an error in one of the context key of the Sublime Text key bindings, it’s not clear from the message which package contains the file .sublime-keymap with an error, and on which line is this error.

Issue #1629 8 years ago, unfortunately, hasn’t yet been fixed, and users of Sublime Text with hundreds of installed packages during debugging to find out where the error is, may have difficulties.

3. Desired behavior

Add to the error message the path to the file containing the error, and preferably the number of the line with the error.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions