Sublime Forum

Log all user actions

#1

I would like to be able to log all user interactions with ST(3) in such a way that they could be replayed on the same initial input(assuming the same plugins and install of st3) and produce the same results.

I don’t mind creating a plugin if it’s necessary, but i’m unsure of how to go about this. does anyone have any suggestions? Like I want to capture, find/replace, hotkey presses (duplicate line, swap, completions, whatever), everything.

0 Likes

#2

The security nut in me does not want a plugin to have this kind of power. In fact if they do I need to be much more careful about what i install…

0 Likes

#3

@Roflhouse42 I hear you, indeed if someone offered me such a plugin i probably wouldn’t want it, but I want this capability, esp if I can develop it myself. Does anyone know how I might go about it?

0 Likes

#4

I don’t know of a way to capture everything. But you can use the on_text_command and on_window_command event listeners. I had investigated a bit on ways to improve the current macro functionality (as it currently only captures text commands), but haven’t worked on it in a while. I suppose one might be worried if the plugin was sending information anywhere, but it basically sounds like you want a better macro plugin. Anyways, best of luck.

0 Likes