Skip to content

Commit 7ffd647

Browse files
mykmartinmykmartin
authored andcommitted
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.
1 parent d68a936 commit 7ffd647

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

typescript/listeners/listeners.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ def on_post_text_command_with_info(self, view, command_name, args, info):
226226
"typescript_format_selection",
227227
"typescript_format_line",
228228
"typescript_paste_and_format"]:
229-
print(command_name)
230229
# give up and send whole buffer to server (do this eagerly
231230
# to avoid lag on next request to server)
232231
reload_buffer(view, info.client_info)
@@ -270,4 +269,4 @@ def on_pre_save(self, view):
270269

271270
def on_hover(self, view, point, hover_zone):
272271
log.debug("on_hover")
273-
EventHub.run_listeners("on_hover", view, point, hover_zone)
272+
EventHub.run_listeners("on_hover", view, point, hover_zone)

0 commit comments

Comments
 (0)