From 7ffd6470ebff0968ed17b3f2c13fde64c0063c22 Mon Sep 17 00:00:00 2001 From: mykmartin <34528845+mykmartin@users.noreply.github.com> Date: Fri, 7 Sep 2018 10:07:39 +1000 Subject: [PATCH] Remove noisy printout in listeners This print command pollutes the ST console when editing .ts files. Text operations like un/indent and undo/redo result in printouts of "indent", "undo" etc. in the console. --- typescript/listeners/listeners.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/typescript/listeners/listeners.py b/typescript/listeners/listeners.py index a83fc85c..7a4cc499 100644 --- a/typescript/listeners/listeners.py +++ b/typescript/listeners/listeners.py @@ -226,7 +226,6 @@ def on_post_text_command_with_info(self, view, command_name, args, info): "typescript_format_selection", "typescript_format_line", "typescript_paste_and_format"]: - print(command_name) # give up and send whole buffer to server (do this eagerly # to avoid lag on next request to server) reload_buffer(view, info.client_info) @@ -270,4 +269,4 @@ def on_pre_save(self, view): def on_hover(self, view, point, hover_zone): log.debug("on_hover") - EventHub.run_listeners("on_hover", view, point, hover_zone) \ No newline at end of file + EventHub.run_listeners("on_hover", view, point, hover_zone)