Sublime Forum

Find out what plugin is triggered by a keypress

#1

Hi!

Any hints how to find out what plugin is responsible for a certain event (when I press after a “whatever:” in yml sublime starts to generate HTML tags out of it which does not make any sense. Where do I have to look for the reason? Any tutorials on that?

Tnx,
Anton

0 Likes

#2

Here you are:
‘sublime.log_commands(True)’ in sublime’s console will log all commands… ‘sublime.log_commands(False)’ to stop it spamming the console

:wink:

0 Likes

#3

You may also want to check out github.com/skuroda/FindKeyConflicts. Though sublime.log_commands(True) will give you the command, it doesn’t (always) help at which package is executing the command.

0 Likes

#4

You’re right skuroda, FindKeyConflicts is a better option for what he need :smile:

0 Likes

#5

Great! Thank you very much!

0 Likes

#6

Solution for all googlers:

With the sublime_log_commands I found the expand_abbrevation_by_tab was fired, this is from emmet (found many posts about this topic, stupid plugin that drives users crazy :stuck_out_tongue: ).

Solution: Remove the whole emmet plugins and you have a working (almost) editor…

0 Likes