You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest that you change the run() method's debug parameter so that it defaults to false.
class ExpandRegionCommand(sublime_plugin.TextCommand):
def run(self, edit, language="", undo=False, debug=False):
To aid users in debugging you could add a debug setting or at least suggest the addition of "args": {"debug": false} in the keys section of README.md so they are aware that debugging can be turned on/off.
The text was updated successfully, but these errors were encountered:
I just noticed that ExpandRegion is printing debug data to the console every time I use it.
This is clearly because in the file
ExpandRegion.py
, therun()
method of theExpandRegionCommand
class has itsdebug
parameter defaulting to true.Since I am familiar with writing ST plugins I was able to stop this in my key bindings with:
I suggest that you change the
run()
method'sdebug
parameter so that it defaults to false.To aid users in debugging you could add a
debug
setting or at least suggest the addition of"args": {"debug": false}
in the keys section ofREADME.md
so they are aware that debugging can be turned on/off.The text was updated successfully, but these errors were encountered: