How do I add a hotkey to view lint errors? It shows me that there is an error, but doesn't tell me what it is. If I want to see the errors I have to
right click -> Anaconda -> show error list
which seems very inconvenient. I think it would be nice to have a panel on the bottom with all the lint errors showing or at the very least add a hotkey to toggle the errors menu.
Open the Sublime console and type
sublime.log_commands(True)
Then
right click -> Anaconda -> show error list
Look in the console for the command-name, and add it to your
Preferences > Key Bindings - User
{ "keys": ["shift+f12"], "command": "COMMAND_NAME" },
Turn off logging with
sublime.log_commands(False)
If you just move the cursor to the line that is giving you the error, you get a complete description of what the error is in the Sublime Text 3 status bar.
Apart from that, you can set the option anaconda_linter_show_errors_on_save
as true
(it's false
by default) to force anaconda to show you the errors list quickpanel everytime that you save the file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With