Event for shortcut comments ?



  • Hi,

    I was asked from one of the users of my plugin to enable shortcuts for commenting the code

    i.e. default Ctrl+K for single line comment or Ctrl+C for multiline comments.

    • Is there some event where I can subscribe ? Or do I have to monitor keyboard events?
    • Is there any way to read the actual shortcuts that are configured? As I understand someone could change these shortcuts from the settings.

    Thanks!



  • You might close this one. Βy observing the shortcuts.xml file after a recent fix, this functionality can be implemented.


Log in to reply