Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kristinita opened this issue Feb 16, 2025 · 0 comments

Comments

@Kristinita
Copy link

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.

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

No branches or pull requests

2 participants