How can I find a particular event in Atom?

by Ulysse BN   Last Updated February 11, 2019 09:26 AM

I've been looking to create a tiny package that needs to know whenever a user checks out to a different branch. I've been trying to look at bound events in the console or to find out where the git integration source code it. But both without success.

The temporary solution I could use is to not depend on events and watch file changes with a shell script:

fswatch .git/HEAD

However, using events would cost very fewer resources, and would be less error-prone...

The answer I'm really seeking is the equivalent of keybinding resolver (command or ctrl + .) that would list atom events. Or any hacky way to have this equivalence!

Tags : atom-editor

Related Questions

Updated December 26, 2017 06:26 AM

Updated September 03, 2017 10:26 AM

Updated August 07, 2017 02:26 AM

Updated December 19, 2017 05:26 AM

Updated April 06, 2018 18:26 PM