How do I get the current data context from outside the action framework?
I'm writing a plugin that provides an HTTP interface to control the Intellij IDE. This is primarily for use with voice control to assist with hands-free coding. In the past, we've had to rely on sending keyboard shortcuts to the application, but that is not very portable as users often have different keybindings. The API allows us to send actions directly to the IDE. All of these actions should be targeted at the currently focused window (I assume data context affects this, but I'm not really sure).
Currently I'm using DataManager.getInstance().
Thanks!
Please sign in to leave a comment.